Skip to main content

Check Fiat API errors

Error response schema

The error response schema is the same for each API method.

NameTypeRequiredDescription
errorTypestringtrueError type.
errorMessagestringtrueError message.
errorDetailsarray of objectstrueIf the error contains no details, errorDetails equals null.
providerCodestringfalseThe On-Ramp or Off-Ramp provider code. Possible values. The error responses of the /v1/offers and /v1/sell/offers can contain this parameter.
Sample error response
{
"errorType": "validation",
"errorMessage": "Validation error",
"errorDetails": [
{
"cause": "supportedFlow",
"value": "each value in supportedFlow must be one of the following values: buy, sell"
}
]
}

Error codes

Each API method description contains a list of API errors. For more details, check our API reference.