Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

HTTP method: GET

URL: http://intellisms/services/rest/admin/balance

Parameters

parameter name
description
example value
resellerReseller's usernamereseller
passwordReseller's passwordpassword
customerName of customer to add credits to. Customer must belong to the reseller.cheescakeshop

Example:

http://intellisms/services/rest/admin/balance?reseller=reseller&password=password&customer=cheescakeshop

Return values:

return value name
description
example
creditsNumber of credits on account1500
statusError code, 0 for no error1

Response:

Service receive parameters as request parameters, and return responses in JSON.
Used status numbers are: 0, 1, 2, 3, 300, 9999 (Status code table is available on User and Reseller REST API Response Status Codes)

...