Currency Conversions

BIN Ranges List Download

GET
/currency-conversions/dcc-bin-ranges

Download a list of Dynamic Currency Conversion (DCC) BIN ranges.

Download a list of BIN ranges that support Dynamic Currency Conversion (DCC). The list can be filtered solely based on the merchant's base currency or the list of payer currencies the merchant supports. The list can be stored locally on the device so a presented card number can be checked to determine if DCC is supported before performing an actual DCC Rate Lookup request.

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /accesstoken, sent as Authorization: Bearer <token>.

In: header

Query Parameters

account_name?string

A meaningful label for the merchant account set by Global Payments.

Length1 <= length <= 50
account_id?string

A unique identifier for the merchant account set by Global Payments.

Length1 <= length <= 50
country*string

The country in ISO-3166-1(alpha-2 code) format.

merchant_currency*string

The base currency of the merchant in ISO-4217(alpha-3).

payer_currency?array<string>

The currency or list of currencies that the merchant accepts in ISO-4217(alpha-3).

time_last_received?string

The date to start obtaining updated information from.

last_index?number

The index number to start obtaining information from.

Header Parameters

X-GP-Version*string

The version of the API to execute the request.

Length1 <= length <= 50
Default"2021-03-22"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/currency-conversions/dcc-bin-ranges?country=US&merchant_currency=USD" \  -H "X-GP-Version: 2021-03-22"

{  "time_created": "2022-04-11T13:29:10.596Z",  "is_last_page": "NO",  "time_retrieved": "2022-04-11",  "current_index": 40,  "current_page_size": 20,  "merchant_id": "MER_c4c0df11039c48a9b63701adeaa296c3",  "merchant_name": "Sandbox_merchant_2",  "account_id": "TRA_d9eea42b1f30482cae161c732d837ed6",  "account_name": "Transaction_Processing",  "filter": {    "country": "GB",    "merchant_currency": "GBP"  },  "paging": {},  "dcc_bin_ranges": [    {      "low_prefix_number": "2222420010",      "high_prefix_number": "2222420269",      "status": "ACTIVE"    },    {      "low_prefix_number": "2222650010",      "high_prefix_number": "2222650129",      "status": "ACTIVE"    },    {      "low_prefix_number": "2222670010",      "high_prefix_number": "2222670129",      "status": "ACTIVE"    },    {      "low_prefix_number": "2222680130",      "high_prefix_number": "2222740129",      "status": "ACTIVE"    },    {      "low_prefix_number": "2222750130",      "high_prefix_number": "2222760159",      "status": "ACTIVE"    },    {      "low_prefix_number": "2222780010",      "high_prefix_number": "2222780159",      "status": "ACTIVE"    },    {      "low_prefix_number": "2222820010",      "high_prefix_number": "2222840129",      "status": "ACTIVE"    },    {      "low_prefix_number": "2222860010",      "high_prefix_number": "2222870129",      "status": "ACTIVE"    },    {      "low_prefix_number": "2223290010",      "high_prefix_number": "2223290159",      "status": "ACTIVE"    },    {      "low_prefix_number": "2223330010",      "high_prefix_number": "2223340129",      "status": "ACTIVE"    },    {      "low_prefix_number": "2223360010",      "high_prefix_number": "2223360129",      "status": "ACTIVE"    },    {      "low_prefix_number": "2223400010",      "high_prefix_number": "2223400129",      "status": "ACTIVE"    },    {      "low_prefix_number": "2223420010",      "high_prefix_number": "2223420129",      "status": "ACTIVE"    },    {      "low_prefix_number": "2223440010",      "high_prefix_number": "2223460129",      "status": "ACTIVE"    },    {      "low_prefix_number": "2223590300",      "high_prefix_number": "2223590300",      "status": "ACTIVE"    },    {      "low_prefix_number": "2223600089",      "high_prefix_number": "2223600089",      "status": "ACTIVE"    },    {      "low_prefix_number": "2226789800",      "high_prefix_number": "2226789999",      "status": "ACTIVE"    },    {      "low_prefix_number": "2233160010",      "high_prefix_number": "2233160019",      "status": "ACTIVE"    },    {      "low_prefix_number": "2308270002",      "high_prefix_number": "2308270009",      "status": "ACTIVE"    },    {      "low_prefix_number": "2720020100",      "high_prefix_number": "2720022099",      "status": "ACTIVE"    }  ],  "action": {    "id": "ACT_Kq7jZogQ5mRsY4yvwXguw3iizKGUdI",    "type": "DCC_BIN_RANGE_LIST",    "time_created": "2022-04-11T17:48:14.215Z",    "result_code": "SUCCESS",    "app_id": "Cu7y0m3XmoACrLohnRyDHVgRS4sC7hS5",    "app_name": "DCCPP"  }}