Error codes · The request itself
Currency not supported
Code
currency_not_supportedStatus422
If this was an orderThis request bought nothing
Send it again unchanged?No — change something first
.NET SDK
ValidationFailedExceptionWhat it means
Reserved. Anis does not send this code today: every wallet holds Libyan dinars (LYD), and prices in any other currency are refused as validation_failed.
What to do
- Send every price in
LYD, the currency the catalogue shows for the wallet.
Where you can meet it
- POSTPlace an order
/v1/wallets/{walletId}/orders - GETGet meter packages
/v1/wallets/{walletId}/meter-packages - GETGet my meter charges
/v1/wallets/{walletId}/meter-charges - POSTCharge a meter
/v1/wallets/{walletId}/meter-charges - GETGet direct recharge products
/v1/wallets/{walletId}/direct-recharge-products - GETRead a direct recharge product
/v1/wallets/{walletId}/direct-recharge-products/{productId} - GETGet recipient locations
/v1/wallets/{walletId}/direct-recharge-products/{productId}/locations - GETQuote a direct recharge product
/v1/wallets/{walletId}/direct-recharge-products/{productId}/quote - GETGet my direct recharges
/v1/wallets/{walletId}/direct-recharges - POSTRequest a direct recharge product
/v1/wallets/{walletId}/direct-recharges
Example
The body of the refusal. Its type is the address of this page.
{
"type": "https://developers.anis.ly/errors/currency-not-supported",
"title": "Currency not supported",
"status": 422,
"code": "currency_not_supported",
"requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}