NICEPAY API
...
E-Wallet - Advance API

DANA Recurring - E-Wallet API Advance

7 min

About API DANA Recurring



 DANA Recurring uses by  so  can   repetitively between  designated time using   specifically DANA.



Process on API DANA Recurring





API DANA Recurring Process Flow


API DANA Recurring Flow
API DANA Recurring Flow


Steps description:

  1. The Customer requests checkout on Merchant's page and Post-Form API to the Merchant to initiate the Recurring Issue.
  2. The Merchant requests a Post-Form API to NICEPAY.
  3. NICEPAY redirects the Customer to the DANA OAuth page.
  4. The Customer confirms OAuth authorization with DANA.
  5. DANA sends a user agreement to NICEPAY.
  6. NICEPAY requests the first payment to DANA.
  7. DANA sends a response for the first payment to NICEPAY.
  8. DANA redirects the Customer to the DANA page to complete recurring (subscription) setup.
  9. The Customer confirms recurring (subscription) setup with DANA.
  10. DANA sends a callback for the first payment to NICEPAY.
  11. NICEPAY receives the callback for the first payment.
  12. NICEPAY sends a callback for the first payment to the Merchant.
  13. DANA sends push notification kepada NICEPAY.
  14. NICEPAY receives push notification.
  15. NICEPAY sends push notification callback to the Merchant.
  16. DANA sends a push notification to NICEPAY on Recurring Payment phase.
  17. NICEPAY sends a push notification (with a different tXid and the same referenceNo as the Recurring Issue) to the Merchant.
  18. If the Merchant requests Cancel Transaction/Remove Recurring to NICEPAY, then:
    1. For the Cancel Transaction process, NICEPAY requests a transaction cancellation to DANA using the cancelType value; 1 for Full Cancellation or 2 for Partial Cancellation.
    2. For the Remove Recurring process, NICEPAY requests a recurring removal from DANA using the cancelType value; 3 Remove Subscription / Stop Recurring, along with the tXid from the first payment.
  19. DANA sends a response data to NICEPAY.
  20. NICEPAY sends a response data to the Merchant.
  21. The Merchant requests a transaction status check using the Check Status API to NICEPAY.
  22. NICEPAY sends a transaction status check response to the Merchant.
  23. The Merchant receives the final transaction status.
  24. The Merchant sends a transaction status confirmation to the Customer.

Notes for Recurring Issue phase:

  •  stores  recurring issuetXid after received   or . The recurring issue tXid uses to remove  recurring (unsubscription).
  • referenceNo is  recurring  ID.

Notes for Recurring  phase:

  •  will send a different tXid from  recurring issue.
  •  will send  same referenceNo with  recurring issue.



DANA Recurring Flow from Customer's Side



The following are   steps that s follow to perform account binding using DANA Recurring.

1. The  login into DANA account to initiate  account binding .

Login DANA Account
Login DANA Account


2. The  do authentication by enter a PIN to allow DANA account binding access.

DANA Recurring Access Binding Authentication
DANA Recurring Access Binding Authentication


3. After  Account Binding completed. The  will be redirected to DANA's  which will displays  subscription detail to  .

DANA Agreement Subscription
DANA Recurring Subscription Detail


4. The  will be requested to confirm  first  with recurring issue.

DANA First Payment with Recurring Issue Confirmation
DANA First Payment with Recurring Issue Confirmation


5. DANA displays  recurring issue   result to  .

Payment Result with DANA Recurring Issue
Status Payment Result on DANA Page


6.  displays    result to   through  .

Status Payment Result on NICEPAY Payment Page
Status Payment Result on NICEPAY Payment Page