Skip to main content
GET
/
customers
/
{customer_id}
/
cards
List all saved cards
curl --request GET \
  --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/customers/{customer_id}/cards \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": true,
  "content": {
    "cards": [
      {
        "card_sub_type": "<string>",
        "extended_card_type": "<string>",
        "nickname": "<string>",
        "provider_category": "<string>",
        "vault_provider": "<string>",
        "card_reference": "<string>",
        "card_type": "<string>",
        "metadata": {
          "origin_customer_id": "<string>",
          "origin_merchant_id": "<string>"
        },
        "card_issuer": "<string>",
        "card_token": "<string>",
        "health": "<string>",
        "card_exp_month": "<string>",
        "mandate_support": true,
        "provider": "<string>",
        "card_sub_type_category": "<string>",
        "expired": true,
        "card_fingerprint": "<string>",
        "tokenize_support": true,
        "juspay_bank_code": "<string>",
        "card_exp_year": "<string>",
        "name_on_card": "<string>",
        "country_code": "<string>",
        "card_number": "<string>",
        "card_isin": "<string>",
        "card_brand": "<string>",
        "card_issuer_country": "<string>",
        "token": {
          "tokenization_status": "<string>",
          "support_token_transaction": true,
          "last_four_digits": "<string>",
          "cvv_less_support": true,
          "vault_provider": "<string>",
          "par": "<string>",
          "card_reference": "<string>",
          "expiry_month": "<string>",
          "token_supported_gateways": [
            "<string>"
          ],
          "card_fingerprint": "<string>",
          "cvv_less_details": [
            {
              "gateway": "<string>",
              "gateway_reference_ids": [
                "<string>"
              ]
            }
          ],
          "cvv_less_supported_gateways": [
            "<string>"
          ],
          "provision_token_id": "<string>",
          "card_isin": "<string>",
          "expiry_year": "<string>"
        },
        "tokens": [
          {
            "tokenization_status": "<string>",
            "last_four_digits": "<string>",
            "provider_category": "<string>",
            "vault_provider": "<string>",
            "par": "<string>",
            "card_reference": "<string>",
            "card_token": "<string>",
            "expiry_month": "<string>",
            "card_fingerprint": "<string>",
            "provision_token_id": "<string>",
            "card_isin": "<string>",
            "expiry_year": "<string>"
          }
        ],
        "atm_pin_auth_support": true
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Access token

Path Parameters

customer_id
string
required

Customer Id

Response

OK

message
string
required
success
boolean
required
content
object
required