Balance Inquiry - API Payout (Disbursement) SNAP
Tentang Balance Inquiry - API Payout (Disbursement) SNAP
API ini digunakan untuk mengajukan pemeriksaan balance inquiry dari suatu akun dalam proses Disbursement.
ο»Ώ
Request Balance Inquiry - API Payout (Disbursement) SNAP
Silakan mengajukan akses token terlebih dahulu untuk melakukan autentikasi melalui bagian Request Access Token API - SNAPο»Ώ.
Service Code | 11 |
|---|---|
API Endpoint | |
HTTP Method | POST |
Description | Check balance |
Content-type | application/json |
ο»Ώ
Request Balance Inquiry Disbursement Header Parameter
Parameter | Tipe | Ukuran | Kebutuhan | Deskripsi | Contoh |
|---|---|---|---|---|---|
Content-Type | String | 127 | Mandatory | Application/Json | ο»Ώ |
Authorization | String | Variable | Mandatory | Bearer βaccessTokenβ | ο»Ώ |
X-TIMESTAMP | String | 25 | Mandatory | Using ISO 8601 as timestamp format. Transaction date time, in format YYYYMMDDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time). 2022-03-21T10:11:40+07:00. | ο»Ώ |
X-SIGNATURE | String | Variable | Mandatory | Signature will be generated by Merchant. ο»ΏPanduan X-Signature - Symmetricο»Ώο»Ώ | ο»Ώ |
X-PARTNER-ID | String | 20 | Mandatory | Unique Partner ID, Partner ID = Client ID | ο»Ώ |
X-EXTERNAL-ID | String | 40 | Mandatory | Unique messaging Reference ID generated by Merchant. Numeric String. Reference number that should be unique in every transaction. | ο»Ώ |
CHANNEL-ID | String | 20 | Mandatory | Unique Channel Merchant Credential ID Number Client ID + "01" = Channel ID "IONPAYTEST" + "01" = "IONPAYTEST01" | IONPAYTEST01 |
ο»Ώ
Request Balance Inquiry Disbursement Body Parameter
Parameter | Tipe | Ukuran | Kebutuhan | Deskripsi |
|---|---|---|---|---|
accountNo | String | 10 | Mandatory | Merchant identifier that is unique per each Merchant |
additionalInfo | Object | Variable | Optional | Additional information "additionalInfo": { ... } |
msId | String | 20 | Conditional | Merchant Seller ID |
ο»Ώ
Response Balance Inquiry Disbursement Parameter
Parameter | Tipe | Ukuran | Kebutuhan | Deskripsi |
|---|---|---|---|---|
responseCode | String | 7 | Mandatory | Refer to General Response Code and Message - API SNAPο»Ώ list |
responseMessage | String | 150 | Mandatory | Refer to General Response Code and Message - API SNAPο»Ώ list |
accountNo | String | 10 | Mandatory | Merchant identifier that is unique per each merchant |
accountInfos | Array of Object | ο»Ώ | ο»Ώ | Account information "accountInfos": [{ ... }] |
availableBalance | Object | 20 | Mandatory | Balance Information "availableBalance": {...} |
value | String | 12 | Mandatory | Transaction amount, If itβs IDR then value includes 2 decimal digits. e.g. IDR 10.000,- will be placed with 10000.00 |
currency | String | 3 | Mandatory | Currency code based on ISO |
additionalInfo | Object | Variable | Optional | Additional information "additionalInfo": { ... } |
msId | String | 20 | Optional | Merchant Seller Id |
ο»Ώ
Sample Parameter
{
"responseCode": "2001100",
"responseMessage": "Successful",
"accountNo": "IONPAYTEST",
"accountInfos": [
{
"availableBalance": {
"value": "41570962.00",
"currency": "IDR"
}
}
],
"additionalInfo": {
"msId": ""
}
}