Card metadata Operations
Beta
Returns a single metadata record for the card specified by the Primary Account Number (PAN), Bank Identification Number (BIN), token, or instrument supplied.The source object
An existing payment source
The source type
Pattern: ^[0-9]+$The Primary Account Number (PAN)
The format to provide the output in.
A basic response will only include standard metadata, while a card_payouts formatted response will also include fields specific to card payouts.
A reference you can later use to identify this Payment Context. For example, an order number.
Unauthorized
Card Metadata not found
Unsupported Media Type
Internal Server Error
Bad Gateway
Gateway Timeout
curl 'https://{prefix}.api.sandbox.checkout.com/metadata/card' \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"source": {
"type": "card",
"number": "4539467987109256"
},
"format": "basic"
}'
{
"bin": "45434720",
"scheme": "visa",
"local_schemes": [
"cartes_bancaires"
],
"card_type": "CREDIT",
"card_category": "CONSUMER",
"currency": "MUR",
"issuer": "STATE BANK OF MAURITIUS",
"issuer_country": "MU",
"issuer_country_name": "Mauritius",
"is_combo_card": false,
"product_id": "F",
"product_type": "Visa Classic",
"subproduct_id": "VA",
"regulated_indicator": false,
"is_reloadable_prepaid": false,
"anonymous_prepaid_description": "Anonymous prepaid program and not AMLD5 compliant"
}