Check Fiat API errors
Error response schema
The error response schema is the same for each API method.
| Name | Type | Required | Description |
|---|---|---|---|
| errorType | string | true | Error type. |
| errorMessage | string | true | Error message. |
| errorDetails | array of objects | true | If the error contains no details, errorDetails equals null. |
| providerCode | string | false | The 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.