# Dynamic Currency Conversion
source: https://developer.mastercard.com/mastercard-gateway/documentation/test-cards/dcc-pay-pot-inq-tc/index.md

If you are enabled for [Dynamic Currency Conversion](https://developer.mastercard.com/mastercard-gateway/documentation/gateway-features/funding-and-fee-information/dynamic-currency-conversion/index.md) (DCC), you can use different currency pairs in the [PAYMENT OPTIONS INQUIRY](https://mtf.gateway.mastercard.com/api/documentation/apiDocumentation/rest-json/version/100/operation/Gateway%3a%20%20Payment%20Options%20Inquiry.html?locale=en_US) request to trigger a response with a specific exchange rate for a specific payer currency.

In requests that use a test merchant profile, the Mastercard Gateway modifies the exchange rate by retaining the first 2 relevant, non-zero values (3.2 in case of MYR) and appending 9s to fill up to 6 significant values. This is to indicate that the returned exchange rate is for test purposes only.

### DCC Examples {#dcc-examples}

#### Successful Rate Quote Request {#successful-rate-quote-request}

Provide a request for a test merchant profile with:

* Card number: 5313359999999089 (currency of card is MYR)
* Order amount: 20 USD The returned response has:
* Payer currency: MYR
* Payer exchange rate: 3.29999
* Payer amount: 20 \* 3.29999 = 65.9998 MYR
* Currency conversion gateway response code: QUOTE_PROVIDED

#### Failed Rate Quote Request {#failed-rate-quote-request}

Provide a request for a test merchant profile with:

* Card number with a prefix for a valid DCC card type (Visa, Mastercard, or Maestro) that is not in the list of the DCC test cards (refer to the tables below).
* Order amount of 20 KWD, where KWD is a currency which is not in the list of DCC test currencies (refer to the tables).  
  The returned response has the currency conversion gateway response code: NOT_ELIGIBLE

You can continue testing [AUTHORIZE](https://mtf.gateway.mastercard.com/api/documentation/apiDocumentation/rest-json/version/100/operation/Transaction:%20%20Authorize.html?locale=en_US) [CAPTURE](https://mtf.gateway.mastercard.com/api/documentation/apiDocumentation/rest-json/version/100/operation/Transaction%3a%20%20Capture.html?locale=en_US) or [PAY](https://mtf.gateway.mastercard.com/api/documentation/apiDocumentation/rest-json/version/100/operation/Transaction%3a%20%20Pay.html?locale=en_US) transactions using the DCC card numbers and the DCC information returned in the PAYMENT OPTIONS INQUIRY response. However, you cannot perform the Mod 10 (Luhn algorithm) check with the DCC test card numbers (as the rate quotes only consider the first 10 digits of the card number).
