Skip to content
SkanPay Docs

invalid_parameter

A field is missing, malformed, or not allowed on this endpoint.

HTTP statustypeRetry the same request?
400invalid_request_errorafter 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

400
{
  "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"
  }
}

All error codes