Response
Less than 1 minute
Response
Tips
response headers
API header format structure for balance inquiry response :
Area | Field | Attribute | Type | Description |
---|---|---|---|---|
Header | Content-Type | Mandatory | String | String represents indicate the media type of the resource (application/json) |
X-TIMESTAMP | Mandatory | String | Merchant's current local time in yyyy-MM-ddTHH:mm:ssTZD format |
Tips
Response Body
Area | Field | Attribute | Type | Description |
---|---|---|---|---|
code | Mandatory | String | String Response code success = "00" | |
message | Mandatory | String | String Response message | |
Body | responseCode | Mandatory | String(32) | Response code |
responseMessage | Mandatory | String(64) | Response description | |
referenceNo | Mandatory | String | Transaction identifier on service provider system. Must be filled upon successful transaction | |
partnerReferenceNo | Optional | String | Transaction identifier on service consumer system | |
accountNo | Optional | String | The account of merchant | |
name | Optional | String | Merchant name | |
accountInfos | Mandatory | List(AccountInfo) | The balance of account ,Refer to Data AccountInfo | |
accountNo | Optional | String | The account of merchant | |
additionalInfo | Optional | String | Additional Information |
Tips
Example Body – Balance Inquiry Response:
{
"accountInfos": [
{
"balanceType": "BALANCE",
"registrationStatusCode": "0001",
"status": "0001"
"amount": {
"currency": "IDR",
"value": "200000.00"
},
"availableBalance": {
"currency": "IDR",
"value": "130000.00"
},
"currentMultilateralLimit": {
"currency": "IDR",
"value": "10000.00"
},
"floatAmount": {
"currency": "IDR",
"value": "50000.00"
},
"holdAmount": {
"currency": "IDR",
"value": "20000.00"
},
"ledgerBalance": {
"currency": "IDR",
"value": "30000.00"
}
}
],
"accountNo": "12345678",
"additionalInfo": {
"channel": "mobilephone",
"deviceId": "12345678"
},
"name": "merchant name",
"partnerReferenceNo": "2020102900000000000001",
"referenceNo": "2020102977770000000009",
"responseCode": "2001100",
"responseMessage": "Request has been processed successfully",
"code": "00",
"message": "successfully"
}