DCC
Create a DCC offer
Verifies that the cardholder's card is eligible for DCC, fetches the latest exchange rate, creates a persisted quote, and returns an offer with a quote ID.
Required OAuth scopes: fx/dcc/create
post/fx/v1/dcc/offers
Request
- Base URLhttps://api.teya.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"card_first9": "30489000",
"base_amount": 5000,
"base_currency": "GBP",
"cardholder_currency": "EUR",
"store_id": "550e8400-e29b-41d4-a716-446655440000"
}Response
DCC offer with quote ID
Example response
{
"quote_id": "019502a0-7e29-7b3c-8f1a-2b3c4d5e6f70",
"exchange_rate": "1.16",
"markup": "0.03",
"ecb_markup": "0.02",
"cardholder_currency": "EUR",
"cardholder_amount": 1000
}Changes
No recorded changes to this operation across all 1 revision of this API.