Skip to main content

Card Error Codes

This reference covers card-related error codes you may encounter.

Card creation errors

ErrorHTTP statusCauseResolution
Name is required422No name and no customer ID providedProvide a customer_id or name
Invalid card type422Type is not virtual or physicalUse virtual or physical
User ID (uid) is required for personal card422Missing user ID for personal card flowInclude uid in request
Customer ID (cid) is required for business card422Missing customer ID for business card flowInclude customer_id in request
Business ID (bid) is required for business card422Missing business IDInclude bid in request
Maximum of 3 active cards can be created for a user403User already has 3 active cardsFreeze or terminate an existing card first
KYC level not met422Customer KYC level is below Level 2Upgrade customer KYC tier
Insufficient amount to process403Wallet balance too low for card creationFund the wallet and retry
Please enter a valid top-up value, this must be USD1 and above422Top-up amount is below $1Increase amount to at least $1

Card top-up and withdrawal errors

ErrorHTTP statusCauseResolution
Amount must be > 0422Zero or negative amountProvide a positive amount
Currency is required422Missing currency fieldInclude currency in request
Currency must match card currency422Currency doesn't match card's currencyUse the same currency as the card
Card not found404Card ID does not existVerify the card ID
Not allowed for this card403Business scope mismatchEnsure the card belongs to your business
Card is terminated400Cannot operate on a terminated cardCreate a new card
Invalid 2FA code403Two-factor authentication failedRequest a new 2FA code

Card management errors

ErrorHTTP statusCauseResolution
Invalid action422Action must be freeze, unfreeze, or terminateUse one of the valid actions
Type 'TERMINATE' to confirm422Confirmation text not providedInclude "TERMINATE" in request body
Enter a valid reason422Missing or empty termination reasonProvide a reason for termination
Card not found404Card does not existVerify the card ID
card_id is required422Missing card ID parameterInclude card_id in request
Cannot update contact details for a terminated card409Card is already terminatedCreate a new card
Customer associated with this card was not found404Customer record missingVerify customer exists
email and mobile are required422Missing contact fieldsProvide both email and mobile
Card contact update failed — no response from provider502Provider did not respondRetry later
Card contact update failed400Provider returned an errorCheck response for details

Card balance adjustment errors

ErrorHTTP statusCauseResolution
Direction must be credit or debit422Invalid direction valueUse credit or debit
Amount must be greater than zero422Zero or negative amountProvide a positive amount
Reason is required422Missing reason for adjustmentInclude a reason string

Common HTTP status codes

CodeMeaning
400Bad request — invalid parameters
403Forbidden — permission or KYC issue
404Resource not found
409Conflict — card already terminated
422Validation failed
502Bad gateway — provider communication error

See the API Errors reference for general API error handling.

Was this page helpful?

Report a docs issue →