Skip to main content

Error Handling

Crypto On-Ramp API Errors

This section covers possible API error responses that may be received, their meaning as well as suggestions on how to resolve them.

The following errors can be returned:

HTTP Status CodeError CodeError MessageDescriptionSuggested resolution
4008001Invalid source currencyThe source currency code is invalid, or your account does not support this currency.Valid source (fiat) currency code is required. Supported currencies can be obtained from the Get Supported Crypto Assets endpoint.
4008004Invalid crypto addressThe submitted crypto address is invalid.Please ensure that the provided crypto address is correct and corresponds to the given crypto currency and network.
4008005Invalid partner credentialsThe partner credentials are invalid.Please ensure you are using the correct credentials for your institution.
4008010Invalid URLThe submitted url is invalid.Please ensure that the provided URL has the correct format.
4008012Limit is exceededThe provided amount is exceeding the max limit.Please ensure that the provided amount is within the permitted limits. For more information about active limits per country and payment method refer to the Get Supported Countries endpoint.
4008013Limit not metThe provided amount is less than the min limit.Please ensure that the provided amount is within the permitted limits. For more information about active limits per country and payment method refer to the Get Supported Countries endpoint.
4008015Country not enabledThe customer's country is not enabled for crypto withdrawal.Please ensure that the provided country is enabled at this time. Supported countries can be obtained from the Get Supported Countries endpoint.
4008021Fees are higher than the amount you are trying to spendThe fees are higher than the amount you are trying to spend. Please try again with a higher amount.Please try again with a higher amount that is sufficient to cover the fees.
4008023Country not enabledThe customer's country is not enabled for the preferred payment method.Please ensure that the provided country is enabled for the preferred payment method. Supported methods per country can be obtained from the Get Supported Countries endpoint.
4008030Unsupported network currency relationThe network and currency combination is not supported.Please ensure that the provided network and currency combination is supported. Supported networks and currencies can be obtained from the Get Supported Crypto Assets endpoint
4008031Wallet address tag is not supportedThe wallet address tag is not supported for this currency and network.You have provided an address tag/memo for a network and currency pair that does not support such.
4008033Wallet address tag regex mismatchThe provided wallet address tag does not match the required regex pattern.Please ensure that the wallet address tag is valid for the network and currency pair provided in the destination details.
4098034Provided external reference ID already exists for partnerThe partner initiated a payment session with an external reference id that already exists.Please ensure that the provided external reference id is unique for each payment session.
4008035Invalid destination currencyThe destination currency code is invalid, or your account does not support this currency.Please provide a valid destination currency code. Supported currencies can be obtained from the Get Supported Crypto Assets endpoint.
4008036Asset not allowed for countryThe selected asset is not allowed for the customer's country.The provided destination currency might not be allowed for the customer's country due to regulations. Non allowed countries by currency can be obtained from the Get Supported Crypto Assets endpoint.
4008039The selected payment method is not enabledThe payment method chosen is not supported.Please ensure that the provided country is enabled for the preferred payment method. Supported methods per country can be obtained from the Get Supported Countries endpoint.
4008040Invalid amountYou submitted an invalid amount with your request.Please ensure you are providing valid numerical value as source amount in the request.
5038014Under maintenanceThere is a planned maintenance taking place.The service is currently under maintenance. Please try again later.
5001000Internal ErrorAn internal error occurred.Please try again later or contact us if the problem persists.

Additional error details are returned in error response body when possible. The error response body is in ErrorDetails object.

Here is an example of error response 400, containing further details.

{
"error": {
"code": "5068",
"message": "Field error(s)",
"details": [
"Either you submitted a request that is missing a mandatory field or the value of a field does not match the format expected."
],
"fieldErrors": [
{
"field": "network",
"error": "network must not be null"
}
]
}
}