DCC rate
Add details about a Dynamic Currency Conversion (DCC) rate to your request.
Add DCC data
Request example
To include DCC data, add the following snippet to the body of your transaction request.
{
"dccData": {
"rateSelectedIndicator": "Selected",
"amounts": {
"local": {
"transaction": 100.00,
"currencyCode": "USD"
},
"cardholder": {
"transaction": 85.50,
"currencyCode": "EUR"
}
},
"exchangeRate": {
"rate": 0.855,
"exponent": 3,
"markUpPercentage": 3.5,
"commissionRate": 0.025,
"margin": 2.1
},
"providerData": {
"provider": "Elavon",
"referenceId": "REF123456789",
"merchantId": "MERCH001",
"terminalId": "TERM001"
}
}
}
Parameter | Description |
---|---|
| Details about the Dynamic Currency Conversion (DCC). |
| Whether a DCC rate was selected for the transaction. Possible values:
|
| Details about the transaction amount in the local currency and the cardholder's currency. |
| Details about the transaction amount in the local currency. |
| The transaction amount in the local currency. |
| The currency code, in ISO 4217 format. |
| Details about the transaction amount in the cardholder's currency. |
| The transaction amount in the cardholder's currency. |
| The currency code, in ISO 4217 format. |
| Details about the exchange rate used for the DCC. |
| The exchange rate used for the DCC. |
| The exponent used to calculate the DCC rate. |
| The mark-up percentage applied to the transaction. |
| The commission rate applied to the transaction. |
| The margin applied to the transaction. |
| Details about the DCC provider. |
| The name of the DCC provider. |
| The reference ID provided by the DCC provider. This is required if your provider is Elavon, otherwise it's ignored. |
| The merchant ID assigned by the DCC provider. This is required if your provider is Elavon, otherwise it's ignored. |
| The terminal ID assigned by the DCC provider. This is required if your provider is Elavon, otherwise it's ignored. |
Response example
If your request is successful, you'll receive a 200
response containing a dccResult
object.
{
"dccResult": {
"rateSelectedIndicator": "Selected",
"amounts": {
"local": {
"transaction": 100.00,
"currencyCode": "USD"
},
"cardHolder": {
"transaction": 85.50,
"currencyCode": "EUR"
}
},
"markUpRate": {
"message": "A 3.5% markup has been applied over the base exchange rate.",
"percentage": 3.5,
"language": "en"
},
"commissionPercent": 2.1,
"exchangeRate": {
"rate": 1.44,
"source": "European Central Bank",
"sourceDate": "2020-04-02T14:29:15.8626809+01:00"
},
"providerData": {
"name": "Elavon Merchant Services",
"referenceId": "3213123213",
"terminalId": "TID67777",
},
"dccDisclosure": {
"message": "You are offered to pay in EUR. This includes a 3.5% commission above the base rate of 0.9245 provided by Elavon.",
"language": "en"
}
}
}
Parameter | Description |
---|---|
| Details about the DCC result, including the rate selected indicator, amounts, mark-up rate, commission percentage, exchange rate, provider data, and DCC disclosure. |
| The selected rate for the DCC transaction. Possible values:
|
| Details about the transaction amount in the local currency. |
| The transaction amount in the local currency. |
| The currency code, in ISO 4217 format. |
| Details about the transaction amount in the cardholder's currency. |
| The transaction amount in the cardholder's currency. |
| The currency code, in ISO 4217 format. |
| Details about the mark-up rate for the DCC transaction. |
| The message about the mark-up rate for the DCC transaction. |
| The percentage of the mark-up rate for the DCC transaction. |
| The language of the message. |
| The commission percentage for the DCC transaction. |
| Details about the exchange rate for the DCC transaction. |
| The rate of the exchange rate for the DCC transaction. |
| The source of the exchange rate for the DCC transaction. |
| The date of the exchange rate for the DCC transaction. |
| Details about the DCC provider. |
| The name of the DCC provider. |
| The reference ID provided by the DCC provider. |
| The terminal ID assigned by the DCC provider. |
| Details about the DCC disclosure. |
| The message of the DCC disclosure for the DCC transaction. |
| The language of the message. |
Updated 4 days ago