invalid_parameter
A field is missing, malformed, or not allowed on this endpoint.
| HTTP status | type | Retry the same request? |
|---|---|---|
| 400 | invalid_request_error | after a change |
Why it happens
The body or query string failed validation. param names the field and message says what was wrong. Unknown fields are refused too, so a typo in a field name lands here.
What to do
Correct the field named in param. Check amounts are strings of digits, not numbers, and that the field names match the reference exactly.
Example response
{
"error": {
"type": "invalid_request_error",
"code": "invalid_parameter",
"message": "A human-readable explanation. Do not parse it.",
"doc_url": "https://docs.skanpay.website/errors/invalid_parameter",
"request_id": "req_01J9Z3K8Q4W6XK2M7N5P0R3T8V"
}
}