Verify if account ID exists
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/payment/verify-account \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_id": "acc_12345678"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({account_id: 'acc_12345678'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/payment/verify-account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/payment/verify-account"
payload = { "account_id": "acc_12345678" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}POS
Verify if account ID exists
Verify if an OLIVE account ID exists in the database (HMAC authenticated endpoint for processors)
POST
/
payment
/
verify-account
Verify if account ID exists
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/payment/verify-account \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_id": "acc_12345678"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({account_id: 'acc_12345678'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/payment/verify-account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/payment/verify-account"
payload = { "account_id": "acc_12345678" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}⌘I