Skip to main content

Documentation

Foreign Exchange Errors

Error Code

Description

ERROR_CONVERT_CURRENCY_DAILY_LIMIT_REACHED

The request tried to convert currency in a wallet, but the daily limit for currency conversions has been reached. The request was rejected. Corrective action: Wait one day and resubmit the request.

ERROR_CURRENCY_PAIR_NOT_VALID

The request tried to request the daily rate for a currency exchange, but the buy currency cannot be converted into the selected sell currency. The request was rejected. Corrective action: Contact customer support.

ERROR_DIFFERENT_CURRENCY_REQUIRED

The request tried to get a quote for converting currency, but the same currency was specified for the sell currency and the buy currency. The request was rejected. Corrective action: Set 'sell_currency' and 'buy_currency' to different values.

ERROR_GET_FX_RATE

The request attempted an operation that requires currency exchange, but the rate for one or both of the currencies could not be found. The request was rejected. Corrective action: Try the request at a later time.

ERROR_GET_RATE

The request attempted an operation that requires currency exchange, but the rate for one or both of the currencies could not be found. The request was rejected. Corrective action: Try the request at a later time.

ERROR_HOSTED_PAGE_FX_FEE_ONLY_ALLOWED_FOR_FX_TRANSACTIONS

The request tried to set a foreign exchange fee but the requested payment was not a foreign exchange transaction. The request was rejected. Corrective action: For a payment that does not require foreign exchange, leave 'fx_fee' unset.

ERROR_INVALID_QUOTE_ID

The request tried to convert currency in a wallet, but the quote was not found. The request was rejected. Corrective action: For 'quote_id', use the ID of a valid quote.

ERROR_PROCESSING_CONVERSION

The request tried to convert currency in a wallet, but the quote has already been used. The request was rejected. Corrective action: Get a new quote.

INVALID_EXPIRATION

The request attempted an operation that requires a forward date, but the date was not found or was not valid. The request was rejected. Corrective action: Provide a forward date that is a valid Unix time, not past, and not more than 1 year in the future.

INVALID_SOURCE_CURRENCY

The request attempted an operation that requires a currency code for the result of an FX operation, but the sell currency was not recognized. The request was rejected. Corrective action: Use the correct 3-letter ISO 4217 code for the currency in uppercase letters.