Adyen Checkout API
  1. Payments
Adyen Checkout API
  • Modifications
    • Cancel an authorised payment
      POST
    • Update an authorised amount
      POST
    • Cancel an authorised payment
      POST
    • Capture an authorised payment
      POST
    • Refund a captured payment
      POST
    • Refund or cancel a payment
      POST
  • Payments
    • Get the list of brands on the card
      POST
    • Start a transaction for donations
      POST
    • Get a list of available payment methods
      POST
    • Start a transaction
      POST
    • Submit details for a payment
      POST
    • Create a payment session
      POST
  • Orders
    • Create an order
      POST
    • Cancel an order
      POST
    • Get the balance of a gift card
      POST
  • Utility
    • Get an Apple Pay session
      POST
    • Create originKey values for domains
      POST
  • Payment links
    • Create a payment link
      POST
    • Get a payment link
      GET
    • Update the status of a payment link
      PATCH
  • Classic Checkout SDK
    • Create a payment session
      POST
    • Verify a payment result
      POST
  1. Payments

Get the list of brands on the card

POST
/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

Header Params

Body Params application/json

Examples

Responses

🟢200OK - the request has succeeded.
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/cardDetails' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cardNumber": "string",
    "countryCode": "string",
    "encryptedCardNumber": "string",
    "merchantAccount": "string",
    "supportedBrands": [
        "string"
    ]
}'
Response Response Example
{
    "brands": [
        {
            "supported": true,
            "type": "string"
        }
    ]
}
Modified at 2023-08-15 09:16:27
Previous
Refund or cancel a payment
Next
Start a transaction for donations
Built with