Check Balance
Deprecated: this page documents Version 1 (
v1/legacy/index), which is being sunset. Use Version 2 for new integrations. Version 1 keeps working unchanged for existing clients during the transition — see Version 1 versus Version 2 for the field-by-field mapping.API to get remaining balance in your IDSL wallet.
Path
| Method | Path |
|---|---|
| POST | v1/legacy/index |
Request Body
| Attributes | Type | Description | Mandatory |
|---|---|---|---|
| commands | String | Value: balance | Yes |
| username | String | Your registered phone number | Yes |
| sign | String | Signature. Value: md5(username+api_key+'bl') | Yes |
| currency | String | Currency IDR or USD default: IDR | No |
{
"commands" : "balance",
"username" : "123123123",
"sign" : "0123456789abcdef0123456789abcdef",
"currency" : "IDR"
}
Response
| Attributes | Type | Description | Mandatory |
|---|---|---|---|
| balance | Double | Your balance | Yes |
| currency | String | Currency | Yes |
{
"data": {
"balance": 1000000,
"currency": "IDR"
}
}
Live Testing
Request URL
https://api-sandbox.irongatedigital.com/v1/legacy/index
Request Method
Request Header
Content-Type: application/json
Body
Result
Table of Contents