Adding Credits to Customers

Adding Credits to Customers

POST

https://portal.mobtexting.com/api/v2/account/credits

You can add the credits to your customers using this api.

access_token of main reseller(admin) account should use for adding credits to your customers

MANDATORY PARAMETERS

Name Descriptions
username Username of account you want to add credits
credits Number of credits
service Service in which need to add credits. Ex: P, T, S

OPTIONAL PARAMETERS

Name Descriptions
notes Reference notes
order_id Reference orderid if any

Example Request

  curl -X POST \
  'https://portal.mobtexting.com/api/v2/account/credits?access_token=46bab6277ca67daxxxxxx' \
  -H 'content-type: application/x-www-form-urlencoded' \
  -d 'service=T&username=laxmanxxx&credits=100&notes=test%20from%20api'

Example Response

{
    "status": "OK",
    "message": "Funds updated successfully.."
}