5.10 DANA

DANA, founded in 2017, is one of the most popular digital wallets in Indonesia with over 30 million users. DANA provides Indonesian users with a variety of payment services, including online shopping, payment of telephone charges, utilities, social security, bill installments, and offline retail store payments. It is hailed as an all-in-one app that allows users to safely make cashless and cardless payments for everyday use.

ScenarioCategoryPayment methodPayment productIntegration typeAuthenticationRedirect TypeCode TypePre-authPartial RefundCancellation supported
ONLINEEwalletDANACASHIER_PAYMENTAPI-In-appOrder code-YESYES

Payment ProductDescription
CASHIER_PAYMENTPayment product. Use this product to get the cashier page address. After getting the cashier page address, you can redirect the user to the cashier page to make a payment or display the online order code for the user to scan.

Experience and integration process

CapabilitiesAPIsDescription
Initiate a paymentPAY
Refund a paymentREFUND
Cancel a paymentCANCELOnly a full cancellation is allowed. The cancellation period: Before 23:59:59 within the payment date.
Inquiry transaction resultDETAIL
Notify transaction resultNOTIFICATION

Initiate a payment

Field Description Required

paymentMethod

Must be "DANA"

M

product

For CASHIER_PAYMENT, it must be "CASHIER_PAYMENT";

M

expireAt

The format is "yyyy-mm-dd hh:mm:ss", and it must be less than 72 hours after the payment request is sent.
It's required when the product is "CASHIER_PAYMENT"

M

goods.description

It's required when paymentMethod is DANA

M

riskData.Device.os

It's required when the product is in "CASHIER_PAYMENT"

M

Handle the payment result To complete the payment:

  • CASHIER_PAYMENT
  1. present the QR code image(payAction, "type": "QRCODE", "redirectUrl") to the shopper for scanning.
  2. Or redirect shopper(payAction, "type": "REDIRECT", "Url") to open an app when the target app is installed.
  3. Use the data.status from the PAY response to present the payment result to your shopper. You can also wait for the NOTIFICATION or submit a DETAIL request for the payment result.