Verify subscriber PIN
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/subscribers/{id}/verify-pin \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"pin": "1234"
}'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({pin: '1234'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/subscribers/{id}/verify-pin', 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/subscribers/{id}/verify-pin"
payload = { "pin": "1234" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}Subscribers
Verify subscriber PIN
Verify a subscriber’s PIN for authentication
POST
/
subscribers
/
{id}
/
verify-pin
Verify subscriber PIN
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/subscribers/{id}/verify-pin \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"pin": "1234"
}'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({pin: '1234'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/subscribers/{id}/verify-pin', 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/subscribers/{id}/verify-pin"
payload = { "pin": "1234" }
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'
Path Parameters
Subscriber ID
Body
application/json
PIN to verify
Example:
"1234"
Response
PIN verification result
The response is of type object.
⌘I