Internal Transfer
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/wallet/transfer \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"from_account_id": "<string>",
"to_account_id": "<string>",
"amount": "<string>",
"pin": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
from_account_id: '<string>',
to_account_id: '<string>',
amount: '<string>',
pin: '<string>'
})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/wallet/transfer', 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"
payload = {
"from_account_id": "<string>",
"to_account_id": "<string>",
"amount": "<string>",
"pin": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Wallet
Internal Transfer
Transfer funds between accounts internally
POST
/
wallet
/
transfer
Internal Transfer
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/wallet/transfer \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"from_account_id": "<string>",
"to_account_id": "<string>",
"amount": "<string>",
"pin": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
from_account_id: '<string>',
to_account_id: '<string>',
amount: '<string>',
pin: '<string>'
})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/wallet/transfer', 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"
payload = {
"from_account_id": "<string>",
"to_account_id": "<string>",
"amount": "<string>",
"pin": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Authorizations
JWT token from admin login for administrative operations. Format: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
Headers
Body
application/json
Response
200 - application/json
Success
The response is of type object.
⌘I