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

Registration - API Payout (Disbursement) SNAP

7min

Tentang Registration - API Payout (Disbursement) SNAP



API ini digunakan untuk mendaftarkan proses Payout atau Disbursement sebelum melakukan proses transaksi.



Registration - API Payout (Disbursement) SNAP



Silakan mengajukan akses token terlebih dahulu untuk melakukan autentikasi melalui bagian Request Access Token API - SNAP.

API Endpoint

/nicepay/api/v1.0/transfer/registration

HTTP Method

POST

Description

Create Transaction Payout or Disbursement

Content-type

application/json



Request Registration Disbursement Header Parameter

Parameter

Tipe

Ukuran

Kebutuhan

Deskripsi

Contoh

Content-Type

String

127

Mandatory

Content type, value always 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 Registration Disbursement Body Parameter

Parameter

Tipe

Ukuran

Kebutuhan

Deskripsi

merchantId

String

10

Mandatory

Merchant identifier that is unique per each Merchant

msId

String

20

Optional

Merchant Seller ID

beneficiaryAccountNo

String

25

Mandatory

Beneficiary Account Number

beneficiaryName

String

100

Mandatory

Beneficiary Name

beneficiaryPhone

String

20

Mandatory

Beneficiary Phone

beneficiaryCustomerResidence

String

2

Mandatory

Beneficiary Customer Residence: 1: Indonesia 2: Non Indonesia

beneficiaryCustomerType

String

2

Mandatory

Beneficiary Customer Type: 1: Personal 2: Company 3: Government

beneficiaryPostalCode

String

6

Optional

Beneficiary Postal Code

payoutMethod

String

4

Mandatory

Payout Method: 0: Over Booking 1: Online Trans 2: SKN 3: RTGS

beneficiaryBankCode

String

4

Mandatory

Beneficiary Bank Code

amount

Array of JSON Object

Variable

Mandatory

Amount Information

"amount": {...}

value

String

12

Mandatory

Transaction Amount, including thecents

currency

String

3

Mandatory

Currency Code based on ISO

partnerReferenceNo

String

40

Mandatory

Transaction ID from Merchant

reservedDt

String

8

Optional

The date when the payment will be automatic reserved. ISO 8601, in format YYYY-MMDDTHH: mm+07:00.

Time must be in GMT+7 (Jakarta time)

2022-03-21T10:11:40+07:00.

reservedTm

String

6

Optional

The date when the payment will be automatic reserved. ISO 8601, in format YYYY-MMDDTHH: mm+07:00.

Time must be in GMT+7 (Jakarta time)

2022-03-21T10:11:40+07:00.

description

String

255

Optional

Description Transaction



Response Registration Disbursement Parameter

Parameter

Tipe

Ukuran

Kebutuhan

Deskripsi

responseCode

String

7

Mandatory

responseMessage

String

150

Mandatory

partnerReferenceNo

String

40

Mandatory

Merchant Transaction Identifier

originalReferenceNo

String

40

Mandatory

Original Transaction Identifier on Service Provider System

beneficiaryaccountNo

String

25

Mandatory

Beneficiary Account Number

beneficiaryName

String

100

Mandatory

Beneficiary Name

payoutMethod

String

4

Mandatory

Payout Method: 0: Over Booking 1: Online Trans 2: SKN 3: RTGS

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



Sample Parameter

Request Body
Sample Response