Approve Transaction - API Payout (Disbursement) SNAP
API ini digunakan untuk menyetujui proses yang diajukan pada saat pendaftaran. Kemudian, data transaksi akan lanjut untuk dieksekusi.
Silakan mengajukan akses token terlebih dahulu untuk melakukan autentikasi melalui bagian Request Access Token API - SNAP.
API Endpoint | |
---|---|
HTTP Method | POST |
Description | Approve Payout Transaction |
Content-type | application/json |
Parameter | Tipe | Ukuran | Kebutuhan | Deskripsi |
---|---|---|---|---|
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 automatically 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 | 5 | Mandatory | Device identification on which the API services is currently being accessed by the End User (Customer) |
Parameter | Tipe | Ukuran | Kebutuhan | Deskripsi |
---|---|---|---|---|
originalPartnerReferenceNo | String | 40 | Mandatory | Original transaction identifier on consumer system |
originalReferenceNo | String | 40 | Mandatory | Original transaction identifier on service provider system |
merchantId | String | 10 | Mandatory | Merchant identifier that is unique per each Merchant |
Parameter | Tipe | Ukuran | Kebutuhan | Deskripsi |
---|---|---|---|---|
responseCode | String | 7 | Mandatory | Refer to General Response Code and Message - API SNAP |
responseMessage | String | 150 | Mandatory | Refer to General Response Code and Message - API SNAP |
originalReferenceNo | String | 40 | Mandatory | Original transaction identifier on service provider system |
originalPartnerReferenceNo | String | 40 | Mandatory | Original transaction identifier on service provider system. Must be filled upon successful transaction. |
beneficiaryAccountNo | String | 25 | Mandatory | Beneficiary Account Number |
beneficiaryName | String | 100 | Mandatory | Beneficiary Name |
beneficiaryBankCode | String | 4 | Mandatory | Beneficiary Bank Code - API SNAP |
amount | Array of JSON Object | Variable | Mandatory | Amount Information "amount": {...} |
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 |
transactionStatus | String | 2 | Mandatory |