curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/agents/{id}/fund \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "<string>"
}
'{}Add float to an agent’s account. Admin can fund any agent. Super-agent can fund their sub-agents.
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/agents/{id}/fund \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "<string>"
}
'{}API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Agent ID
Fund amount
Accepts decimal format like "1289.00" or "1289"
OK
The response is of type object.