Appearance
Errors
Errors are JSON objects:
json
{
"error": {
"code": "invalid_argument",
"message": "Human-readable detail",
"request_id": "req_…"
}
}| HTTP | Code | When |
|---|---|---|
| 400 | invalid_argument | Validation failure |
| 401 | unauthorized | Missing or invalid API key |
| 403 | access_denied | Scope or suspension |
| 404 | not_found | Unknown resource |
| 409 | conflict / duplicate_external_id | Idempotency clash |
| 422 | no_capable_provider | No active route for the merchant |
Log request_id when contacting support.