BoldswitchBoldswitchHelp
Boldswitch sites:Personal appBusinessBlog

Payment statuses and error codes

What each collection status means and how to handle the API error responses.

Last updated June 1, 2026


Use these statuses and error codes to drive your integration logic and handle failures cleanly.

Collection statuses

StatusMeaning
pendingCreated, waiting for the customer to pay.
processingPayment detected, settling.
completedFunds received and the collection is fulfilled.
failedVerification failed, or a sandbox payment was marked failed.
cancelledCancelled by the merchant before payment.
expiredThe 30-minute hosted checkout window has elapsed.

Treat completed as the only success state before you fulfil an order.

Error responses

HTTPMessageWhat it means
400amount is invalidA required field is missing or has the wrong type.
403key auth failedThe apikey header is missing, invalid, revoked, or used on the wrong environment.
404Payment link not foundThe reference does not exist in that environment.
501network errorUpstream or server error. Retry from your backend and log the body.

Handling errors

  • Treat the HTTP status as authoritative.
  • Log the response body so support can help if needed.
  • Retry only 501 responses, with backoff. Do not retry 400 or 404, fix the request instead.

Tip: A 404 often means you created the collection with a test key but are checking it with a live key, or the other way round. Keep environments consistent.

What's next

Still stuck? Email support@boldswitch.ng.

Was this article helpful?