Balance Inquiry - API Payout (Disbursement) SNAP
API ini digunakan untuk mengajukan pemeriksaan balance inquiry dari suatu akun dalam proses Disbursement.
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 |
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. | |
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 |
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 |
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 |