GET PaymentSettings API
Updated on 2014-05-21
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP
Summary:
Returns an array of payment settings.
Resource/WSDL Page:
http:///api/1/get.asmx?op=PaymentSettings
Parameters
api_key | Must be a valid API key (existing and not expired) Example Values: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh |
**Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value).
Example Request
GET | https://demo-new.cakemarketing.com/api/1/get.asmx/PaymentSettings?api_key=3YmDJeT3VHTFhDqAjr2OlQ |
Sample XML Response:
<payment_settings_response>
<success>true</success>
<row_count>3</row_count>
<payment_settings>
<payment_setting>
<payment_setting_id>1</payment_setting_id>
<payment_setting_name>Pay affiliate in system default currency</payment_setting_name>
</payment_setting>
<payment_setting>
<payment_setting_id>2</payment_setting_id>
<payment_setting_name>Pay affiliate in offer's currency</payment_setting_name>
</payment_setting>
<payment_setting>
<payment_setting_id>3</payment_setting_id>
<payment_setting_name>Pay affiliate in affiliate's currency</payment_setting_name>
</payment_setting>
</payment_settings>
</payment_settings_response>
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API key does not exist or is expired |