Skip to content
Search documentation/

Invalid currency

unsupported_currencyHTTP 400Don't retry

What happened

The currency isn't a valid currency code.

What to do next

Send a three-letter uppercase ISO 4217 code such as USD.

Can you retry?

Don't retry. Don't repeat this request. Fix what the response describes, or stop and report it. retry: never

Who acts

You: the software that sent the request. who_acts: caller

Don't

  • Don't send the same request again unchanged; it will be refused the same way. repeat_unchanged

Example response

Sent as application/problem+json. The detail describes the particular request; keep request_id for support.

{
  "type": "https://docs.perionpayments.com/problems/unsupported-currency",
  "title": "Invalid currency",
  "status": 400,
  "code": "unsupported_currency",
  "detail": "The currency isn't a valid currency code.",
  "request_id": "req_8YkQ2rL0ZtW4",
  "retryable": false,
  "retry": "never",
  "who_acts": "caller",
  "next_step": "Send a three-letter uppercase ISO 4217 code such as USD.",
  "do_not": [
    "repeat_unchanged"
  ]
}

All problem codes · Reading problem responses