config_unsupported_country¶
| Property | Value |
|---|---|
Specific code (in type) |
config_unsupported_country |
errorCode field |
validation_failed |
| HTTP Status | 400 Bad Request |
| Title | Validation failed |
Description¶
The specified country is not supported for your merchant account, or is not valid for the selected payment method.
Example Response¶
{
"type": "https://docs.payalo.com/errors/config_unsupported_country",
"title": "Validation failed",
"status": 400,
"detail": "Country is not valid or 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
countryfield contains an unsupported ISO 3166-1 alpha-2 country code. - The country is not enabled for your brand's configuration.
- The country is not available for the selected payment method.
Resolution¶
- Verify the
countryvalue is a valid ISO 3166-1 alpha-2 code (e.g.,"KE","DE","US"). - Contact your account manager to confirm which countries are enabled for your brand.
Note: This error is not retryable with the same country value.