Reseller

Add Email and/or SMS credits to a specific child account

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

Request

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 added to the child account

emailinteger

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

Example request

{
  "sms": 450,
  "email": 1200
}

Response

Credits added

Example response

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

Changes

No recorded changes to this operation across all 2 revisions of this API.