Request OTP for PEP account access
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/pep/request-access \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"subscriber_id": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({subscriber_id: '<string>'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/pep/request-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/request-access"
payload = { "subscriber_id": "<string>" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}{}PEP Access
Request OTP for PEP account access
Generate and send OTP for accessing a PEP account (requires PEP authorization)
POST
/
pep
/
request-access
Request OTP for PEP account access
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/pep/request-access \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"subscriber_id": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({subscriber_id: '<string>'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/pep/request-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/request-access"
payload = { "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'
Body
application/json
PEP access request
Response
OTP sent successfully
The response is of type object.
⌘I