GetBalance
POST /order/getbalance
This method is used to check the current balance of your reseller account. It is a good practice to call this method first before placing the order to avoid the delay in processing your orders in case if your account balance is running out the credits.
Request Body application/json
Schema |
|
array[object] |
|
|
Type |
number |
Type = 1 will return account balance. |
required |
Responses application/json
200 |
Schema |
|
array[object] |
|
|
SuccessCode |
integer |
1 (Ok) - 0 (Error) |
Required |
|
|
CurrentBalance |
string |
It will show the current balance |
optional |
|
|
ErrorMsg |
array |
One or more error stringer (Returned only when SuccessCode is 0) |
optional |
|
|
DueAmmount |
string |
Current due amount with currency symbol |
optional |
|
|
OverdraftLimit |
string |
Overdraft limit with currency symbol |
optional |