config_unsupported_currency¶
| Property | Value |
|---|---|
Specific code (in type) |
config_unsupported_currency |
errorCode field |
validation_failed |
| HTTP Status | 400 Bad Request |
| Title | Validation failed |
Description¶
The specified currency is not supported for the selected payment method and country combination.
Example Response¶
{
"type": "https://docs.payalo.com/errors/config_unsupported_currency",
"title": "Validation failed",
"status": 400,
"detail": "Currency is not supported.",
"errorCode": "validation_failed"
}
Programmatic detection: branch on the final segment of the
typeURL —errorCodeis the generic"validation_failed"for every 400 validation cause. See How to read these errors.
Common Causes¶
- The
amount.currencyvalue is not supported by the selected payment method. - The currency/country/payment method combination is not enabled for your brand.
Resolution¶
- Verify the
amount.currencyvalue is a valid ISO 4217 code (e.g.,"KES","EUR","USD"). - Ensure the currency is supported for the payment method specified in the
{method}route parameter. - Contact your account manager for the list of supported currency/method combinations.
Note: This error is not retryable with the same currency and payment method combination.