Skip to main content
Bridge returns standard HTTP status codes with a JSON error body:

Status codes

Common cases

Your token expired (~1h TTL). Clear it, call /generate-token again, and retry the request once. Cache the new token until expiresAt.
The customer isn’t ACTIVE. Run the KYC onboarding flow: submit documents, then PATCH .../activate. Activation may require manual review.
Bridge verified the payment on the gateway and the amount didn’t match (or the gatewayReference wasn’t found yet). Confirm the collection completed and the amount matches before resubmitting.
Every recipe shows the 401 → re-token → retry path inline, so you rarely hit these by surprise.