Skip to content

vaki_not_accepting_payments

HTTP 422 · The cause exists but is not collecting right now.

What causes it

The vaki is a draft, is archived, has closed, or has been blocked. Deliberately distinct from `vaki_not_found` — the key is right, the cause simply is not open. It is also one code rather than one per internal state, so there is a single vocabulary for a cause’s status: `GET /v1/vakis/{key}` is where you read it.

What to do

Do not retry the same call. Read the cause’s `state` from `GET /v1/vakis/{key}` and act on that: a `draft` needs publishing, an `archived` or closed cause needs a different destination for the donation.

Retry?

No — the same request produces the same answer.

The response

{
  "type": "https://developers.vaki.co/errors/vaki_not_accepting_payments",
  "title": "…",
  "status": 422,
  "code": "vaki_not_accepting_payments",
  "detail": "…",
  "instance": "/v1/checkout_links"
}

Branch on code, never on title or detail. The full list of codes, and the shape of the problem document, is on Errors.