Errors and Retries
This placeholder guide describes the expected error contract shape.
HTTP status conventions
400for invalid payloads401for auth failures403for unauthorized scopes404for missing resources409for idempotency conflicts429for rate limits5xxfor transient platform failures
Placeholder error schema
{
"error": {
"code": "invalid_request",
"message": "One or more fields are invalid.",
"request_id": "req_1234567890",
"details": [
{
"field": "customer.email",
"reason": "must be a valid email"
}
]
}
}
Retry guidance
- Retry
429and5xxwith exponential backoff and jitter - Do not retry validation errors
- Preserve idempotency keys for safe replay