curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/agents/transfer \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 123,
"sub_agent_id": "<string>"
}
'{}Super-agent transfers float to their sub-agent. Super-agent ID is auto-detected from logged-in user. Admin can specify super_agent_id.
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/agents/transfer \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 123,
"sub_agent_id": "<string>"
}
'{}API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Transfer details
OK
The response is of type object.