ACCOUNTING MarkAffiliateBillAsPaid API Version 1
Marks an affiliate bill as paid in CAKE. Use this endpoint when payment has been issued to an affiliate and you need to update the bill status programmatically as part of an automated payout processing workflow.
GET
/api/1/accounting.asmx/MarkAffiliateBillAsPaid
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your CAKE Admin API key. Find it under Setup → System Access → API Keys. |
| bill_id | integer | Yes | The unique ID of the affiliate bill to mark as paid. |
Sample request
GET https://yourdomain.cakemarketing.com/api/1/accounting.asmx/MarkAffiliateBillAsPaid?api_key=YOUR_API_KEY&bill_id=20087
Sample response
{
"request_status": "Success",
"response": {
"bill_id": 20087,
"bill_status": "Paid",
"updated": true
}
}
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.