This article will cover the following:
Use these read-only reference endpoints to enumerate valid values before creating or updating affiliate and advertiser records — especially billing cycle IDs, payment type IDs, and currency IDs.
api_key parameter. Find yours under Setup → System Access → API Keys.Available Endpoints
Get Billing Cycles
Retrieves billing cycle configurations available in your network. Use to enumerate valid billing_cycle_id values when onboarding affiliates or advertisers.
GET /api/2/billing_cycles.json| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your CAKE API key. |
| billing_cycle_id | integer | No | Filter to a specific billing cycle. |
Sample request
GET https://yourdomain.cakemarketing.com/api/2/billing_cycles.json?api_key=YOUR_API_KEYSample response
{
"request_status": "Success",
"billing_cycles": [
{ "billing_cycle_id": 1, "billing_cycle_name": "Net 7" },
{ "billing_cycle_id": 2, "billing_cycle_name": "Net 15" },
{ "billing_cycle_id": 3, "billing_cycle_name": "Net 30" },
{ "billing_cycle_id": 4, "billing_cycle_name": "Weekly" },
{ "billing_cycle_id": 5, "billing_cycle_name": "Bi-Weekly" }
]
}Get Payment Methods
Retrieves stored payment method records. Use to enumerate payment methods before assigning to affiliates or auditing payment configurations.
GET /api/2/payment_methods.json| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your CAKE API key. |
| payment_method_id | integer | No | Filter to a specific payment method. |
Sample request
GET https://yourdomain.cakemarketing.com/api/2/payment_methods.json?api_key=YOUR_API_KEYSample response
{
"request_status": "Success",
"payment_methods": [
{ "payment_method_id": 1, "payment_method_name": "Check", "payment_type_id": 1 },
{ "payment_method_id": 2, "payment_method_name": "Wire Transfer", "payment_type_id": 4 },
{ "payment_method_id": 7, "payment_method_name": "PayPal - network@example.com", "payment_type_id": 2 }
]
}Get Payment Types
Retrieves payment type classifications available in your network (e.g. PayPal, Check, ACH, Wire Transfer).
GET /api/2/payment_types.json| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your CAKE API key. |
| payment_type_id | integer | No | Filter to a specific payment type. |
Sample request
GET https://yourdomain.cakemarketing.com/api/2/payment_types.json?api_key=YOUR_API_KEYSample response
{
"request_status": "Success",
"payment_types": [
{ "payment_type_id": 1, "payment_type_name": "Check" },
{ "payment_type_id": 2, "payment_type_name": "PayPal" },
{ "payment_type_id": 3, "payment_type_name": "ACH" },
{ "payment_type_id": 4, "payment_type_name": "Wire Transfer" },
{ "payment_type_id": 5, "payment_type_name": "Prepaid" }
]
}Get Currencies
Retrieves currencies configured in your CAKE network. Use to look up valid currency_id values when creating offers or configuring multi-currency affiliate accounts.
GET /api/2/currencies.json| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your CAKE API key. |
| currency_id | integer | No | Filter to a specific currency. |
| currency_symbol | string | No | Filter by currency symbol (e.g. USD, EUR, GBP). |
Sample request
GET https://yourdomain.cakemarketing.com/api/2/currencies.json?api_key=YOUR_API_KEYSample response
{
"request_status": "Success",
"currencies": [
{ "currency_id": 1, "currency_name": "US Dollar", "currency_symbol": "USD" },
{ "currency_id": 2, "currency_name": "Euro", "currency_symbol": "EUR" },
{ "currency_id": 3, "currency_name": "British Pound", "currency_symbol": "GBP" }
]
}You may also be interested in:
If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.
You may also be interested in:
If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.