Get a list of brands on a card specifying your supported card brands

POST {{baseUrl}}/cardDetails

Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include your supported brands in the request, the response also tells you if you support each brand that was identified. If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands.

Request Body

{"merchantAccount"=>"{{YOUR_MERCHANT_ACCOUNT}}", "cardNumber"=>"411111", "supportedBrands"=>["visa", "mc", "amex"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
Idempotency-KeynullA unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

RESPONSES

status: OK

{"brands":[{"type":"visa","supported":true},{"type":"cartebancaire","supported":false}]}