Cash In
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/partner/cashin \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'X-API-Key-ID: <x-api-key-id>' \
--header 'X-Partner-ID: <x-partner-id>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--data '
{
"amount": 123,
"reference": "<string>"
}
'const options = {
method: 'POST',
headers: {
'X-API-Key-ID': '<x-api-key-id>',
'X-Partner-ID': '<x-partner-id>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
Authorization: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({amount: 123, reference: '<string>'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/partner/cashin', 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/partner/cashin"
payload = {
"amount": 123,
"reference": "<string>"
}
headers = {
"X-API-Key-ID": "<x-api-key-id>",
"X-Partner-ID": "<x-partner-id>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Partner
Cash In
Credit subscriber wallet via partner
POST
/
partner
/
cashin
Cash In
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/partner/cashin \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'X-API-Key-ID: <x-api-key-id>' \
--header 'X-Partner-ID: <x-partner-id>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--data '
{
"amount": 123,
"reference": "<string>"
}
'const options = {
method: 'POST',
headers: {
'X-API-Key-ID': '<x-api-key-id>',
'X-Partner-ID': '<x-partner-id>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
Authorization: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({amount: 123, reference: '<string>'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/partner/cashin', 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/partner/cashin"
payload = {
"amount": 123,
"reference": "<string>"
}
headers = {
"X-API-Key-ID": "<x-api-key-id>",
"X-Partner-ID": "<x-partner-id>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Authorizations
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Headers
Body
application/json
Response
200 - application/json
Success
The response is of type object.
⌘I