Skip to content

Get card country and DCC eligibility information

Request

This endpoint is used to retrieve card country and DCC eligibility information based on the card BIN.

Security
bearer and basic and apiKey
Headers
Idempotency-Keystring

A unique key provided by you to ensure that a particular operation is not processed multiple times in case of retries.

Bodyapplication/jsonrequired
binstring, = 10 characters^[0-9]+$required

Card BIN (first digits of the card number) used to determine cardholder country and DCC eligibility.

curl -i -X POST \
  -u '<username>:<password>' \
  https://test.computop-paygate.com/api/v2/services/dcc/bin-check \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "bin": "5155880100"
  }'

Responses

Successfully received and processed.

Bodyapplication/json
cardInfoobject(cardInfo)
Response
{ "cardInfo": { "country": "NZL" } }