Ask Kevin is smarter.
OmniDimension
Reseller

Transfer credits to a child

Transfer minutes from the reseller balance to a child organization. Credits are deducted from your balance immediately on success. The target organization must be a direct child of your reseller. Use the calculate endpoint first to preview the cost.

Reseller accounts only. Request access.

POST/reseller/credits/transfer
Body
3 fields
·

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
}'
Example response
synthetic
{
  "success": true,
  "message": "Credits allocated successfully",
  "new_from_balance": 59.813,
  "new_to_balance": 14
}

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json