Skip to content

payment_rejected

payment_rejected: HTTP 422, request error. The payment could not be created with these values.


Code payment_rejected
Type request_error
HTTP status 422
Default message The payment could not be created with these values.

The request or the state of the resource is the problem. Change something before you send it again.

Every error has the same shape; error.code is this code, and meta.request_id is what to quote when you ask us about a request.

{
"error": {
"type": "request_error",
"code": "payment_rejected",
"detail": "The payment could not be created with these values.",
"documentation_url": "https://docs.baiyar.com/resources/errors/payment_rejected/"
},
"meta": { "request_id": "req_…" }
}

All error codes