Transfer credits to a child
Transfer minutes from your balance to a client, at the rate you set.
Reseller accounts only. Request access.
ID of the child organization to transfer credits to.
Number of minutes to transfer.
Rate per minute to charge the child organization (e.g. 0.20).
curl -X POST 'https://backend.omnidim.io/api/v1/reseller/credits/transfer' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "to_organization_id": 4002, "minutes": 20, "cost_per_min": 0.2 }'
{ "success": true, "message": "Credits allocated successfully", "new_from_balance": 59.813, "new_to_balance": 14 }
BearerAuthAuthorizationBearer <token>Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
application/jsonto_organization_id*integerID of the child organization to transfer credits to.
minutes*integerNumber of minutes to transfer.
cost_per_min*numberRate per minute to charge the child organization (e.g. 0.20).
Response body
application/jsonTransfer succeeded.
application/jsonsuccess?booleanmessage?stringnew_from_balance?numberReseller balance after the transfer.
new_to_balance?numberChild balance after the transfer.
Calculate credit operation
Preview the cost of a transfer or revert without moving any credits. Use this to confirm amounts before calling the transfer or revert endpoints. The response shape differs between forward transfers and reverts. See the examples.
Revert credits
Take unused minutes back from a client. The exact mirror of a transfer, so you do not pass a rate.
