GET
/v1/wallet/cardsReturns the cards you saved for payments, default card first, then newest first. Only display details are returned. Card numbers are never stored.
Cards are added through the browser checkout in the console.
Requires a verified email address.
Authentication
Send your API key as Authorization: Bearer <token>.
Response
200
Your saved cards.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataarray of objectsShow item attributesHide item attributes
uidstringRequiredUnique identifier of the saved card.
providerstringRequiredPayment provider holding the card, e.g. paystack.
last4stringRequiredLast four digits of the card number.
card_typestringRequiredCard brand, e.g. visa, mastercard or verve.
bankstringRequiredIssuing bank.
exp_monthstringRequiredExpiry month, as reported by the provider.
exp_yearstringRequiredExpiry year, as reported by the provider.
is_defaultbooleanRequiredWhether this card is charged by default.
created_atstring (date-time)RequiredWhen the card was saved.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, expired or revoked. |
403 | Your email address is not verified (action: verify_email), or your account is suspended for abuse (action: account_suspended). |
Errors use the standard error format.