Reference
Errors & idempotency
Every error uses one envelope with a stable machine-readable code. Retry only when retryable is true; quote the correlation ID when you contact support.
Error envelope#
{
"error": {
"code": "VALIDATION_FAILED",
"message": "The request contains invalid or missing fields.",
"retryable": false,
"details": {
"fields": [
{
"path": "items.0.unit_amount",
"message": "Expected integer, received float"
}
]
},
"correlation_id": "97ce4e67-ff0c-44e8-ad50-f16dfb99cc9e"
}
}code— stable identifier; branch on this, not onmessage.message— safe, human-readable text. Never contains stack traces or internal details.retryable— whether retrying the same request may succeed.details— optional:fields[]for validation errors,errors[]for cart errors, or identifiers such assession_id,application_reference,vendor_reference.correlation_id— also returned in theX-Correlation-Idresponse header.
Error catalogue#
Codes your integration can receive from the partner API:
General
| Code | HTTP | Message | Retryable |
|---|---|---|---|
| VALIDATION_FAILED | 422 | The request contains invalid or missing fields. | No |
| NOT_FOUND | 404 | The requested resource was not found. | No |
| UNAUTHENTICATED | 401 | Authentication is required. | No |
| FORBIDDEN | 403 | You do not have permission to perform this action. | No |
| RATE_LIMITED | 429 | Too many requests. Please wait and try again. | Yes |
| CONFLICT | 409 | The resource was modified by another request. Please retry. | Yes |
| INVALID_STATE | 409 | This action is not available at the current stage. | No |
| INTERNAL_ERROR | 500 | Something went wrong on our side. Please try again later. | Yes |
| INTEGRATION_NOT_CONFIGURED | 503 | This service is not yet available. | No |
| PRECONDITIONS_NOT_MET | 409 | Required conditions for this action are not yet satisfied. | No |
Partner API
| Code | HTTP | Message | Retryable |
|---|---|---|---|
| INVALID_API_KEY | 401 | Invalid API key. | No |
| API_KEY_ENVIRONMENT_MISMATCH | 403 | This API key cannot access the requested environment. | No |
| INSUFFICIENT_SCOPE | 403 | This API key is not permitted to perform this action. | No |
| IP_NOT_ALLOWED | 403 | Requests from this IP address are not permitted for this API key. | No |
| PARTNER_NOT_ACTIVE | 403 | This partner account is not active for the requested environment. | No |
| PRODUCTION_LOCKED | 403 | Production operation is not enabled. Required approvals and integrations are outstanding. | No |
| IDEMPOTENCY_KEY_REUSED | 422 | This Idempotency-Key was already used with a different request. | No |
| IDEMPOTENCY_IN_PROGRESS | 409 | A request with this Idempotency-Key is still being processed. | Yes |
| CART_INVALID | 422 | The cart failed validation. | No |
| RETURN_URL_NOT_APPROVED | 422 | The return or cancel URL is not on the approved list for this partner. | No |
| DUPLICATE_CHECKOUT | 409 | An active checkout session already exists for this order. | No |
| VENDOR_NOT_ELIGIBLE | 422 | The vendor is not approved for financing. | No |
| WEBHOOK_URL_UNSAFE | 422 | The webhook URL is not permitted. Use a public HTTPS endpoint. | No |
Orders & fulfilment
| Code | HTTP | Message | Retryable |
|---|---|---|---|
| RELEASE_NOT_AUTHORIZED | 409 | Goods release has not been authorised for this order. | No |
| FULFILMENT_DUPLICATE | 409 | This fulfilment step was already recorded. | No |
Customer-journey and portal codes (42)
These are returned to the hosted checkout and portals, not to partner API calls. Listed for completeness.
| Code | HTTP | Message | Retryable |
|---|---|---|---|
| CSRF_FAILED | 403 | Your session could not be verified. Please refresh and try again. | No |
| MAKER_CHECKER_VIOLATION | 403 | The approver must be a different user from the requester. | No |
| INVALID_CREDENTIALS | 401 | The email or password is incorrect. | No |
| ACCOUNT_LOCKED | 423 | This account is temporarily locked. Please try again later or contact support. | No |
| MFA_REQUIRED | 401 | Multi-factor authentication is required. | No |
| MFA_INVALID | 401 | The authentication code is invalid or has expired. | No |
| SESSION_EXPIRED | 401 | Your session has expired. Please verify again to continue. | No |
| CHECKOUT_EXPIRED | 410 | This checkout session has expired. Please return to the merchant to start again. | No |
| INVALID_BVN | 422 | Please enter a valid 11-digit BVN. | No |
| IDENTITY_MISMATCH | 422 | We could not verify these details. Please check your BVN and date of birth. | No |
| AGE_NOT_ELIGIBLE | 422 | You do not meet the age requirement for this financing product. | No |
| IDENTITY_PROVIDER_UNAVAILABLE | 503 | Identity verification is temporarily unavailable. Please try again shortly. | Yes |
| IDENTITY_LOCKED | 423 | Too many verification attempts. Please try again later. | No |
| OTP_EXPIRED | 422 | This code has expired. Please request a new code. | No |
| OTP_INVALID | 422 | The code you entered is incorrect. | No |
| OTP_ATTEMPTS_EXCEEDED | 423 | Too many incorrect attempts. Please request a new code. | No |
| OTP_RESEND_COOLDOWN | 429 | Please wait before requesting another code. | Yes |
| CONSENT_REQUIRED | 422 | Please review and accept the required consents to continue. | No |
| CREDIT_PROVIDER_UNAVAILABLE | 503 | We could not complete your eligibility check right now. Please try again shortly. | Yes |
| CREDIT_INVALID_RESPONSE | 503 | We could not complete your eligibility check right now. Please try again shortly. | Yes |
| ACCOUNT_NOT_ELIGIBLE | 422 | This account cannot be used for financing repayments. | No |
| ACCOUNT_OPENING_INCOMPLETE | 409 | We have not yet confirmed your new account. Please complete account opening and try again. | Yes |
| STATEMENT_COVERAGE_INSUFFICIENT | 422 | This statement does not cover the required period. | No |
| STATEMENT_OWNERSHIP_MISMATCH | 422 | This statement does not appear to belong to the verified customer. | No |
| PDF_INVALID | 422 | This file is not a valid bank-issued PDF statement. | No |
| PDF_TOO_LARGE | 413 | This file is larger than the permitted size. | No |
| PDF_ENCRYPTED | 422 | This PDF is password protected. Please upload an unprotected statement or use another option. | No |
| MALWARE_DETECTED | 422 | This file could not be accepted. | No |
| DUPLICATE_DOCUMENT | 409 | This statement has already been uploaded. | No |
| MONO_CONNECTION_FAILED | 502 | We could not connect to your bank. Please try again or use another option. | Yes |
| ANALYSIS_PROVIDER_UNAVAILABLE | 503 | Statement analysis is temporarily unavailable. Please try again shortly. | Yes |
| OFFER_EXPIRED | 410 | This offer has expired. Please request a new offer. | No |
| OFFER_NOT_AFFORDABLE | 422 | This option exceeds your eligible repayment capacity. | No |
| TENOR_NOT_SUPPORTED | 422 | This repayment period is not available. | No |
| EXPOSURE_LIMIT_EXCEEDED | 422 | The requested amount exceeds the financing limit available to you. | No |
| ARAF_UNAVAILABLE | 503 | Application processing is delayed. We will continue automatically. | Yes |
| DUPLICATE_PAYMENT_ATTEMPT | 409 | A payment instruction already exists for this application. | No |
| PAYMENT_STATUS_UNKNOWN | 409 | The payment status is unknown and must be reconciled before any retry. | No |
| PARTNER_USER_LIMIT_REACHED | 409 | This partner has reached the number of portal users the Bank allows. Ask the Bank to raise the limit. | No |
| EQUITY_NOT_REQUIRED | 409 | This order has no customer equity to confirm. | No |
| EQUITY_AMOUNT_MISMATCH | 422 | The equity amount does not match the amount the customer agreed to pay. | No |
| EQUITY_ALREADY_CONFIRMED | 409 | Equity for this order was already confirmed with a different reference. | No |
Idempotency#
POST /api/v1/checkout/sessions requires an Idempotency-Key header (8–128 characters from A–Z a–z 0–9 _ - : .). Keys are scoped to your partner account and remembered for 24 hours.
| Situation | Result |
|---|---|
| First request with a key | Processed normally. |
| Same key, same body, after success | The original status and body are replayed, with header Idempotent-Replayed: true. |
| Same key, different body | 422 IDEMPOTENCY_KEY_REUSED |
| Same key while the first request is still running | 409 IDEMPOTENCY_IN_PROGRESS (retryable — wait and retry) |
| The first request failed with an error | The key is released: retry with the same key. |
Other POST endpoints (fulfil, deliver, cancel, return, retry) are naturally safe to retry: duplicates are rejected with 409 FULFILMENT_DUPLICATE or 409 INVALID_STATE rather than applied twice.
Retry strategy
retryable: true (429, 409 CONFLICT / IDEMPOTENCY_IN_PROGRESS, 5xx), using exponential backoff with jitter. Always reuse the same Idempotency-Key for the same logical request.Rate limits#
Each API key may make up to 600 requests per 60-second window. Beyond that the API returns 429 RATE_LIMITED until the window resets. Back off and retry; spread polling, and prefer webhooks over polling.
Correlation IDs#
Every response carries an X-Correlation-Id header. You may send your own X-Correlation-Id (8–64 characters from A–Z a–z 0–9 _ -) to trace a request end to end; otherwise one is generated. The same ID appears in error bodies and in Partner portal → Integration → API requests. Include it in every support request.