| Code | payment_method_not_enabled |
| Type | request_error |
| HTTP status | 422 |
| Default message | This payment method is not enabled for this project. |
What to do
Section titled “What to do”The project does not accept this payment method. Switch it on for the project in the dashboard, or pick one the project accepts.
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_method_not_enabled", "detail": "This payment method is not enabled for this project.", "documentation_url": "https://docs.baiyar.com/resources/errors/payment_method_not_enabled/" }, "meta": { "request_id": "req_…" }}