currency_not_supported
HTTP 422 · This cause does not collect in the currency you asked for.
What causes it
The request was well-formed, but `currency` is not the one this vaki collects in. We reject rather than converting, because converting would make the amount collected depend on an exchange rate nobody quoted.
What to do
Read `currency` from `GET /v1/vakis/{key}` and send that. Do not convert the amount yourself and do not assume COP — a cause can collect in USD.
Retry?
No — the same request produces the same answer.
The response
{
"type": "https://developers.vaki.co/errors/currency_not_supported",
"title": "…",
"status": 422,
"code": "currency_not_supported",
"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.