WSDL Page:  http://<your_domain_here>/affiliates/api/2/account.asmx?op=GetPaymentToTypes

 

Parameter Summary:

api_key / STRING = Affiliate API Key {See auth.asmx > Login}

affiliate_id / INT = Affiliate ID {See auth.asmx > Login}

 

Parameter Types:

api_key - ID

affiliate_id - ID

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/account.asmx/GetPaymentToTypes?api_key=OIohoAIOxMHZeo7EjB2IQg&affiliate_id=5969

 

Sample XML Response:

<payment_to_type_response>
  <success>true</success>
  <row_count>2</row_count>
  <payment_to_types>
    <payment_to_type>
      <payment_to_id>Company</payment_to_id>
      <payment_to_name>Company Name</payment_to_name>
    </payment_to_type>
    <payment_to_type>
      <payment_to_id>Personal</payment_to_id>
      <payment_to_name>Main Contact</payment_to_name>
    </payment_to_type>
  </payment_to_types>
</payment_to_type_response>