Registration & First Payment - DANA Recurring API
API Endpoint | /nicepay/api/danaRecurring.do |
---|---|
Request Method | POST Form (Parameter) |
Description | DANA Recurring |
Merchant Token | SHA256(timeStamp+iMid+referenceNo+amt+merchantKey) |
Parameter | Tipe | Ukuran | Deskripsi | Contoh / Catatan |
---|---|---|---|---|
timeStamp Required | N | 14 | 20211005123015 | |
iMid Required | AN | 10 | IONPAYTEST | |
payMethod Required | AN | 2 | 05 | |
currency Required | AN | 3 | Currency | IDR |
amt Required | N | 12 | 1000 | |
referenceNo Required | ANS | 40 | MerchantReferenceNumber001 | |
goodsNm Required | AN | 100 | Goods Name will show in DANA Page | |
billingNm Required | A | 30 | Buyer Name | John Doe |
billingPhone Required | N | 15 | Buyer Phone Number | 081234567891 |
billingEmail Required | AN | 40 | Buyer Email | buyer@merchant.com |
billingAddr | AN | 100 | Buyer Address | Billing Address |
billingCity Required | A | 50 | Buyer City | Jakarta |
billingState Required | A | 50 | Billing State | Jakarta |
billingPostCd Required | N | 10 | Billing Post Number | 12345 |
billingCountry Required | A | 10 | Billing Country | Indonesia |
deliveryNm | A | 30 | Delivery Name | Buyer Name |
deliveryPhone | N | 15 | Delivery Phone Number | 081234567891 |
deliveryAddr | AN | 100 | Delivery Address | Billing Address |
deliveryCity | A | 50 | Delivery City | Jakarta |
deliveryState | A | 50 | Delivery State | Jakarta |
deliveryPostCd | N | 10 | Delivery Post Number | 12345 |
deliveryCountry | A | 10 | Delivery Country | |
callBackUrl Required | AN | 255 | ||
dbProcessUrl Required | AN | 255 | ||
description | AN | 100 | Transaction Description | Description |
merchantToken Required | AN | 255 | 6cfccfc0046773c1b589d8e98f8b596c284f3c70a4ecf86eba14c18944b74bcd | |
userIP Required | AN | 15 | 127.0.0.1 | |
userSessionID | AN | 100 | User Session ID | userSessionID |
userAgent | AN | 100 | User Agent Information | Mozilla |
userLanguage | A | 2 | User Language | en-US |
cartData Required | AN | 4000 | Cart Data | {String JSON_Format} |
mitraCd Required | A | 4 | DANA | |
recurrType Required | N | 1 | 1: Daily 2: Weekly 3: Monthly | |
recurrIntv Required | N | 2 | Time Gap between Subcriptions | 1 |
recurrPeriod Required | N | 2 | 2 |