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

Approve Transaction - API Payout (Disbursement) SNAP

7min

About Approve Transaction - API Payout (Disbursement) SNAP



This API uses to approve the process requested during registration phase. Later, the transaction data will proceed for the execution.



Approve Transaction - API Payout (Disbursement) SNAP



Please request the access token firsthand before doing the authentication through the Request Access Token API - SNAP section.

API Endpoint

HTTP Method

POST

Description

Approve Payout Transaction

Content-type

application/json



Request Approve Payout (Disbursement) Header Parameter

Parameter

Type

Length

Required

Description

Example

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



Request Approve Payout (Disbursement) Body Parameter

Parameter

Type

Length

Required

Description

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 Payout (Disbursement) Parameter

Parameter

Type

Length

Required

Description

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

T



Sample Parameter

Request Body
Sample Response