Response envelope
Every JSON response includes asuccess boolean.
erroris a readable message. Its wording can change, so don’t match on it.codeis stable and safe to branch on. New codes may be added, but existing codes aren’t renamed.
Naming
- JSON request and response bodies use camelCase (
profilePicture,createdAt). - Query parameters use snake_case (
include_total,partner_id). - IDs are UUIDs.
Validation errors
When a request fails validation, the response has status400 and code validation_error. details maps each invalid field to its errors:
Status codes
Payments error codes
Payments endpoints (/pay/…, campaign financials payouts) can also return these codes. Bulk payout actions return the same codes per item in results[].code.
In these codes and in
routing: "partner" on payouts, “partner” means our payments partner, the licensed processor that moves the money. It is unrelated to the Partner (client) records in your CreatorCore account, which use partner_id. New partner_ reasons can appear. Treat an unknown one like partner_error and show error to your team.
A payout that fails after it was accepted reports its reason in the payout’s failureCode instead of an error response. Those codes are listed under Webhooks → Payload and are the same in API responses and webhooks.