# currency_not_supported

> Currency not supported

- Status: 422 Unprocessable Entity
- Returned by: /api/public
- Operations: [createOrder](https://developers.rivr.io/reference/api-public/createOrder.md)
- Retry (`retryWhen`): `after_fix`
- Did anything happen? (`outcome`): `none` (It did not happen)
- Payments in Rivr Go
- Page in the portal: https://developers.rivr.io/errors/currency_not_supported
- Try it: `GET https://developers.rivr.io/errors/simulate/currency_not_supported` answers with the code's exact wire form; `?succeedAfter=N&attempt=K` gives a 200 once `attempt` passes `N`

## What it means

When an order is created in `/api/public`: the clinic doesn't take payment in the currency in `currencyCode`.

## What your system does

Create the order in the clinic's currency; `message` says which it is. The same call gets the same answer.

## Is it worth retrying?

No, not without changing the call.

`retryWhen`: `after_fix`. Change the request first, as the code's page says: a value, the token, a header or a new key. Then send it.

## Did anything happen?

`outcome`: `none`. **It did not happen.** This call did not do what you asked for and changed nothing else that you can see or that concerns money. Where the code has an `outcomeNote`, it takes precedence.

## Example: /api/public

```http
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/json

{
  "propertyName": "CurrencyCode",
  "message": "CurrencyCode 'EUR' is not supported by the merchant '3f6c2a1e-8b4d-4c7a-9e21-5d0b7f9a1c3e'. Supported currency is SEK.",
  "errorCode": "currency_not_supported",
  "code": "currency_not_supported",
  "type": "https://developers.rivr.io/errors/currency_not_supported"
}
```

The `title`, `detail`, `message` and `error_description` texts are exactly as the API writes them today.
