GET
/
wallet
/
cards
/
stored
Get stored card details
curl --request GET \
  --url https://api.henrylabs.ai/v0/wallet/cards/stored \
  --header 'x-api-key: <api-key>' \
  --header 'x-user-id: <api-key>'
{
  "success": true,
  "status": "<string>",
  "message": "<string>",
  "data": {
    "billing_address": "<string>",
    "card_brand": "<string>",
    "card_exp": "<string>",
    "card_holder": "<string>",
    "city": "<string>",
    "created_at": "<string>",
    "email": "<string>",
    "id": "<string>",
    "is_active": true,
    "is_default": true,
    "last4_digits": "<string>",
    "phone_number": "<string>",
    "state": "<string>",
    "updated_at": "<string>",
    "zip_code": "<string>"
  }
}
Retrieve non-sensitive, stored card details for a given user. This is useful for displaying a list of saved payment methods in your application’s UI.

Authorizations

x-api-key
string
header
required
x-user-id
string
header
required

Response

200
application/json

Card details retrieved successfully

The response is of type object.