v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Reseller

Remove Email and/or SMS credits from a specific child account

post/reseller/children/{childIdentifier}/credits/remove

Path parameters

childIdentifierstring required

Either auth key or id of reseller's child

Request body

smsinteger

Required if email credits are empty. SMS credits to be removed from the child account

emailinteger

Required if sms credits are empty. Email credits to be removed from the child account

Example request

{
  "sms": 300,
  "email": 500
}

Response

Credits removed

Example response

{
  "child": {
    "sms": 500,
    "email": 2000
  },
  "reseller": {
    "sms": 12900,
    "email": 2000000
  }
}