Coming soon
Errors you can act on.
Every KOPO API error includes an HTTP status, a machine-readable code and a plain-English message that tells you what to do next.
How errors are returned
Errors return a JSON object with type, code, message and, where relevant, the parameter that caused the problem and a request ID. Include the request ID when you contact support so we can find the exact request.
Status codes
| 400 Bad Request | The request was malformed or a parameter is invalid. |
|---|---|
| 401 Unauthorized | No valid API key was provided. |
| 403 Forbidden | The key doesn't have permission for this action. |
| 404 Not Found | The resource doesn't exist. |
| 409 Conflict | The idempotency key was reused with different parameters. |
| 422 Unprocessable | The request was valid but couldn't be completed, for example insufficient balance. |
| 429 Too Many Requests | You've exceeded the rate limit. Wait and retry. |
| 5xx Server Error | Something went wrong on our side. Retry with the same idempotency key. |
Common error codes
| insufficient_balance | Your balance is too low for this payout. Top up and retry. |
|---|---|
| account_not_found | The recipient account number couldn't be resolved. Check the number and bank code. |
| limit_exceeded | This request exceeds a limit on your account. Contact support to review limits. |
| duplicate_reference | You've already used this reference. Use a unique reference per payment. |
| compliance_review | This payment is under review. We'll send a webhook when it's resolved. |