NICEPAY API
...
API SNAP BI
Payout API (Disbursement) - SN...

Approve Transaction - API Payout (Disbursement) SNAP

7min

Tentang Request Approve - API Payout (Disbursement) SNAP



API ini digunakan untuk menyetujui proses yang diajukan pada saat pendaftaran. Kemudian, data transaksi akan lanjut untuk dieksekusi.



Request Approve - API Payout (Disbursement) SNAP



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



Request Approve Disbursement Header Parameter

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)



Request Approve Disbursement Body Parameter

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



Response Approve Disbursement Parameter

Parameter

Tipe

Ukuran

Kebutuhan

Deskripsi

responseCode

String

7

Mandatory

responseMessage

String

150

Mandatory

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



Sample Parameter

Request Body
Sample Response