MCP is live.Set upAsk the community
OmniDimension
Reseller credits

Revert credits

Take unused minutes back from a client. The exact mirror of a transfer, so you do not pass a rate.

Reseller accounts only. Request access.

POST/reseller/credits/revert
Body
2 fields
·

ID of the child organization to revert credits from.

Number of minutes to revert.

curl -X POST 'https://backend.omnidim.io/api/v1/reseller/credits/revert' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "from_organization_id": 4002,
  "minutes": 5
}'
Example response
synthetic
{
  "success": true,
  "message": "Credits reverted successfully",
  "new_from_balance": 13,
  "new_to_balance": 60.263
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

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

Request Body

application/json
from_organization_id*integer

ID of the child organization to revert credits from.

minutes*integer

Number of minutes to revert.

Response body

application/json

Response Body

Credits reverted.

application/json
success?boolean
message?string
new_from_balance?number

Child balance after the revert.

new_to_balance?number

Reseller balance after the revert.