Reference
Errors
Consistent shape across every endpoint.
Error shape
json
{
"error": "invalid_amount",
"message": "amount_minor must be a positive integer"
}Status codes
200OKSuccessful request400Bad requestInvalid payload or parameter401UnauthorizedMissing or invalid API key403ForbiddenKey lacks permission for this resource404Not foundResource does not exist or is not visible to your account409ConflictIdempotency key reused with a different payload422UnprocessableRequest is well-formed but semantically invalid429Too many requestsRate limit exceeded, retry with backoff500Server errorSomething went wrong on our side. Safe to retry.Idempotency
All mutating endpoints accept Idempotency-Key. Same key + same payload replays the original response for 24 hours. Same key + different payload returns 409 conflict.
Rate limits
Default: 100 requests per second per key, burst 200. On 429, the retry-after header tells you when to try again.