Skip to content

List saved cards

GET/v1/wallet/cards

Returns 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.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataarray of objects
Show item attributes
uidstringRequired

Unique identifier of the saved card.

providerstringRequired

Payment provider holding the card, e.g. paystack.

last4stringRequired

Last four digits of the card number.

card_typestringRequired

Card brand, e.g. visa, mastercard or verve.

bankstringRequired

Issuing bank.

exp_monthstringRequired

Expiry month, as reported by the provider.

exp_yearstringRequired

Expiry year, as reported by the provider.

is_defaultbooleanRequired

Whether this card is charged by default.

created_atstring (date-time)Required

When the card was saved.

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
403Your email address is not verified (action: verify_email), or your account is suspended for abuse (action: account_suspended).

Errors use the standard error format.