curl --request POST \
--url 'https://gateway.amana.io/payments/client/whish' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 123.45,
"currency": "<string>"
}'
import requests
url = "https://gateway.amana.io/payments/client/whish"
headers = {"Authorization": "Bearer <token>", "Content-Type": "application/json"}
payload = {
"amount": 123.45,
"currency": "<string>"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/payments/client/whish', {
method: 'POST',
headers: {"Authorization": "Bearer <token>", "Content-Type": "application/json"},
body: JSON.stringify({"amount": 123.45, "currency": "<string>"}),
});
console.log(await response.json());
{
"redirectUrl": "<string>"
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Funding
Deposit by mobile wallet
Start a deposit from a mobile wallet. Returns a URL to send the user to.
POST
/
payments
/
client
/
whish
curl --request POST \
--url 'https://gateway.amana.io/payments/client/whish' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 123.45,
"currency": "<string>"
}'
import requests
url = "https://gateway.amana.io/payments/client/whish"
headers = {"Authorization": "Bearer <token>", "Content-Type": "application/json"}
payload = {
"amount": 123.45,
"currency": "<string>"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/payments/client/whish', {
method: 'POST',
headers: {"Authorization": "Bearer <token>", "Content-Type": "application/json"},
body: JSON.stringify({"amount": 123.45, "currency": "<string>"}),
});
console.log(await response.json());
{
"redirectUrl": "<string>"
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Body
Content type:application/json
number
required
Amount of money for this request.
string
required
Currency code, for example USD.
Response
200 Success.
string
Possible Errors
| Error | Possible cause | What to do |
|---|---|---|
| 400 | Invalid or missing field, amount outside limits | Check the request against the schema and the instrument’s size limits. |
| 401 | Token missing or expired | Log in again or use the refresh token. |
| 403 | IP not whitelisted, or account restricted | Confirm your IP is whitelisted; otherwise contact Amana. |
| 409 / 422 | Market closed, insufficient balance or margin | Check trading hours and balance, then retry. |
| 429 / 5xx | Rate limit, or temporary issue on our side | Retry with backoff; contact support if it persists. |
curl --request POST \
--url 'https://gateway.amana.io/payments/client/whish' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 123.45,
"currency": "<string>"
}'
import requests
url = "https://gateway.amana.io/payments/client/whish"
headers = {"Authorization": "Bearer <token>", "Content-Type": "application/json"}
payload = {
"amount": 123.45,
"currency": "<string>"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/payments/client/whish', {
method: 'POST',
headers: {"Authorization": "Bearer <token>", "Content-Type": "application/json"},
body: JSON.stringify({"amount": 123.45, "currency": "<string>"}),
});
console.log(await response.json());
{
"redirectUrl": "<string>"
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Last modified on October 8, 2026
