SANDBOX — simulated integrations, synthetic data, no real money moves · Docs describe the sandbox build
Skip to content

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#

4xx / 5xx
{
  "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 on message.
  • 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 as session_id, application_reference, vendor_reference.
  • correlation_id — also returned in the X-Correlation-Id response header.

Error catalogue#

Codes your integration can receive from the partner API:

General

General errors
CodeHTTPMessageRetryable
VALIDATION_FAILED422The request contains invalid or missing fields.No
NOT_FOUND404The requested resource was not found.No
UNAUTHENTICATED401Authentication is required.No
FORBIDDEN403You do not have permission to perform this action.No
RATE_LIMITED429Too many requests. Please wait and try again.Yes
CONFLICT409The resource was modified by another request. Please retry.Yes
INVALID_STATE409This action is not available at the current stage.No
INTERNAL_ERROR500Something went wrong on our side. Please try again later.Yes
INTEGRATION_NOT_CONFIGURED503This service is not yet available.No
PRECONDITIONS_NOT_MET409Required conditions for this action are not yet satisfied.No

Partner API

Partner API errors
CodeHTTPMessageRetryable
INVALID_API_KEY401Invalid API key.No
API_KEY_ENVIRONMENT_MISMATCH403This API key cannot access the requested environment.No
INSUFFICIENT_SCOPE403This API key is not permitted to perform this action.No
IP_NOT_ALLOWED403Requests from this IP address are not permitted for this API key.No
PARTNER_NOT_ACTIVE403This partner account is not active for the requested environment.No
PRODUCTION_LOCKED403Production operation is not enabled. Required approvals and integrations are outstanding.No
IDEMPOTENCY_KEY_REUSED422This Idempotency-Key was already used with a different request.No
IDEMPOTENCY_IN_PROGRESS409A request with this Idempotency-Key is still being processed.Yes
CART_INVALID422The cart failed validation.No
RETURN_URL_NOT_APPROVED422The return or cancel URL is not on the approved list for this partner.No
DUPLICATE_CHECKOUT409An active checkout session already exists for this order.No
VENDOR_NOT_ELIGIBLE422The vendor is not approved for financing.No
WEBHOOK_URL_UNSAFE422The webhook URL is not permitted. Use a public HTTPS endpoint.No

Orders & fulfilment

Orders & fulfilment errors
CodeHTTPMessageRetryable
RELEASE_NOT_AUTHORIZED409Goods release has not been authorised for this order.No
FULFILMENT_DUPLICATE409This 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.

Other error codes
CodeHTTPMessageRetryable
CSRF_FAILED403Your session could not be verified. Please refresh and try again.No
MAKER_CHECKER_VIOLATION403The approver must be a different user from the requester.No
INVALID_CREDENTIALS401The email or password is incorrect.No
ACCOUNT_LOCKED423This account is temporarily locked. Please try again later or contact support.No
MFA_REQUIRED401Multi-factor authentication is required.No
MFA_INVALID401The authentication code is invalid or has expired.No
SESSION_EXPIRED401Your session has expired. Please verify again to continue.No
CHECKOUT_EXPIRED410This checkout session has expired. Please return to the merchant to start again.No
INVALID_BVN422Please enter a valid 11-digit BVN.No
IDENTITY_MISMATCH422We could not verify these details. Please check your BVN and date of birth.No
AGE_NOT_ELIGIBLE422You do not meet the age requirement for this financing product.No
IDENTITY_PROVIDER_UNAVAILABLE503Identity verification is temporarily unavailable. Please try again shortly.Yes
IDENTITY_LOCKED423Too many verification attempts. Please try again later.No
OTP_EXPIRED422This code has expired. Please request a new code.No
OTP_INVALID422The code you entered is incorrect.No
OTP_ATTEMPTS_EXCEEDED423Too many incorrect attempts. Please request a new code.No
OTP_RESEND_COOLDOWN429Please wait before requesting another code.Yes
CONSENT_REQUIRED422Please review and accept the required consents to continue.No
CREDIT_PROVIDER_UNAVAILABLE503We could not complete your eligibility check right now. Please try again shortly.Yes
CREDIT_INVALID_RESPONSE503We could not complete your eligibility check right now. Please try again shortly.Yes
ACCOUNT_NOT_ELIGIBLE422This account cannot be used for financing repayments.No
ACCOUNT_OPENING_INCOMPLETE409We have not yet confirmed your new account. Please complete account opening and try again.Yes
STATEMENT_COVERAGE_INSUFFICIENT422This statement does not cover the required period.No
STATEMENT_OWNERSHIP_MISMATCH422This statement does not appear to belong to the verified customer.No
PDF_INVALID422This file is not a valid bank-issued PDF statement.No
PDF_TOO_LARGE413This file is larger than the permitted size.No
PDF_ENCRYPTED422This PDF is password protected. Please upload an unprotected statement or use another option.No
MALWARE_DETECTED422This file could not be accepted.No
DUPLICATE_DOCUMENT409This statement has already been uploaded.No
MONO_CONNECTION_FAILED502We could not connect to your bank. Please try again or use another option.Yes
ANALYSIS_PROVIDER_UNAVAILABLE503Statement analysis is temporarily unavailable. Please try again shortly.Yes
OFFER_EXPIRED410This offer has expired. Please request a new offer.No
OFFER_NOT_AFFORDABLE422This option exceeds your eligible repayment capacity.No
TENOR_NOT_SUPPORTED422This repayment period is not available.No
EXPOSURE_LIMIT_EXCEEDED422The requested amount exceeds the financing limit available to you.No
ARAF_UNAVAILABLE503Application processing is delayed. We will continue automatically.Yes
DUPLICATE_PAYMENT_ATTEMPT409A payment instruction already exists for this application.No
PAYMENT_STATUS_UNKNOWN409The payment status is unknown and must be reconciled before any retry.No
PARTNER_USER_LIMIT_REACHED409This partner has reached the number of portal users the Bank allows. Ask the Bank to raise the limit.No
EQUITY_NOT_REQUIRED409This order has no customer equity to confirm.No
EQUITY_AMOUNT_MISMATCH422The equity amount does not match the amount the customer agreed to pay.No
EQUITY_ALREADY_CONFIRMED409Equity 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.

Idempotency behaviour
SituationResult
First request with a keyProcessed normally.
Same key, same body, after successThe original status and body are replayed, with header Idempotent-Replayed: true.
Same key, different body422 IDEMPOTENCY_KEY_REUSED
Same key while the first request is still running409 IDEMPOTENCY_IN_PROGRESS (retryable — wait and retry)
The first request failed with an errorThe 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

Retry only network errors, timeouts and responses with 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.