Peer-to-peer transfer
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/wallet/transfer-p2p \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "100.00",
"pin": "1234",
"recipient_card_serial": "CARD0002",
"sender_id": "subscriber-uuid"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: '100.00',
pin: '1234',
recipient_card_serial: 'CARD0002',
sender_id: 'subscriber-uuid'
})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/wallet/transfer-p2p', 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/wallet/transfer-p2p"
payload = {
"amount": "100.00",
"pin": "1234",
"recipient_card_serial": "CARD0002",
"sender_id": "subscriber-uuid"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}Wallet
Peer-to-peer transfer
Transfer funds between OLIVE users by card serial
POST
/
wallet
/
transfer-p2p
Peer-to-peer transfer
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/wallet/transfer-p2p \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "100.00",
"pin": "1234",
"recipient_card_serial": "CARD0002",
"sender_id": "subscriber-uuid"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: '100.00',
pin: '1234',
recipient_card_serial: 'CARD0002',
sender_id: 'subscriber-uuid'
})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/wallet/transfer-p2p', 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/wallet/transfer-p2p"
payload = {
"amount": "100.00",
"pin": "1234",
"recipient_card_serial": "CARD0002",
"sender_id": "subscriber-uuid"
}
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
P2P transfer details
Accepts decimal format like "100.00" or "100"
Example:
"100.00"
Example:
"1234"
Supports any alphanumeric: CARD0001, 48290173K, etc.
Example:
"CARD0002"
Example:
"subscriber-uuid"
Example:
"Payment for lunch"
Response
Transfer successful
The response is of type object.
⌘I