curl --request POST \
--url 'https://gateway.amana.io/onboarding/step/country' \
--header 'Content-Type: application/json' \
--data '{
"sid": "<string>",
"residence": "<string>",
"nationality": "<string>"
}'
import requests
url = "https://gateway.amana.io/onboarding/step/country"
headers = {"Content-Type": "application/json"}
payload = {
"sid": "<string>",
"residence": "<string>",
"nationality": "<string>"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/onboarding/step/country', {
method: 'POST',
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"sid": "<string>", "residence": "<string>", "nationality": "<string>"}),
});
console.log(await response.json());
{
"nextStep": "email"
}
{
"error": "INVALID_REQUEST",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Onboarding & KYC
Sign-up step 4: country
Save the user’s country of residence and nationality.
POST
/
onboarding
/
step
/
country
curl --request POST \
--url 'https://gateway.amana.io/onboarding/step/country' \
--header 'Content-Type: application/json' \
--data '{
"sid": "<string>",
"residence": "<string>",
"nationality": "<string>"
}'
import requests
url = "https://gateway.amana.io/onboarding/step/country"
headers = {"Content-Type": "application/json"}
payload = {
"sid": "<string>",
"residence": "<string>",
"nationality": "<string>"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/onboarding/step/country', {
method: 'POST',
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"sid": "<string>", "residence": "<string>", "nationality": "<string>"}),
});
console.log(await response.json());
{
"nextStep": "email"
}
{
"error": "INVALID_REQUEST",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Body
Content type:application/json
string
required
Sign-up session ID returned by the first sign-up step.
string
required
Minimum length:
2Maximum length: 2string
required
Minimum length:
2Maximum length: 2Response
200 Success.
enum<string>
Available options:
email, name, password, country, phone, otp, completePossible Errors
| Error | Possible cause | What to do |
|---|---|---|
| 400 | Invalid or missing field | Check the request against the schema. |
| 403 | IP not whitelisted, or account restricted | Confirm your IP is whitelisted; otherwise contact Amana. |
| 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/onboarding/step/country' \
--header 'Content-Type: application/json' \
--data '{
"sid": "<string>",
"residence": "<string>",
"nationality": "<string>"
}'
import requests
url = "https://gateway.amana.io/onboarding/step/country"
headers = {"Content-Type": "application/json"}
payload = {
"sid": "<string>",
"residence": "<string>",
"nationality": "<string>"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/onboarding/step/country', {
method: 'POST',
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"sid": "<string>", "residence": "<string>", "nationality": "<string>"}),
});
console.log(await response.json());
{
"nextStep": "email"
}
{
"error": "INVALID_REQUEST",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Last modified on October 8, 2026
