Verify OTP for PEP account access
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/pep/verify-access \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"otp_code": "<string>",
"subscriber_id": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({otp_code: '<string>', subscriber_id: '<string>'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/pep/verify-access', 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/pep/verify-access"
payload = {
"otp_code": "<string>",
"subscriber_id": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}{}PEP Access
Verify OTP for PEP account access
Verify the OTP code and grant access to PEP account
POST
/
pep
/
verify-access
Verify OTP for PEP account access
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/pep/verify-access \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"otp_code": "<string>",
"subscriber_id": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({otp_code: '<string>', subscriber_id: '<string>'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/pep/verify-access', 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/pep/verify-access"
payload = {
"otp_code": "<string>",
"subscriber_id": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}{}Authorizations
ApiKeyAuthBearerAuth
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Response
Access granted
The response is of type object.
⌘I