DANA
Quick Start
- Sign up at dana.id and obtain API credentials
- Create a terminal in the Admin Console with the parameters below
- Start processing — the adapter is pre-built and ready to use
Overview
DANA payment integration
| Provider ID | dana |
| Category | E-Wallets |
| Website | dana.id |
Authentication
- Method: HMAC Signature
- Base URL:
https://api.saas.dana.id
Configuration
Required Parameters
| Parameter | Description |
|---|---|
client_id | Client ID |
client_secret | Client Secret |
private_key | RSA Private Key |
merchant_id | Merchant ID |
Example Configuration
{
"provider": "dana",
"provider_params": {
"client_id": "your_client_id_here",
"client_secret": "your_client_secret_here",
"private_key": "your_private_key_here",
"merchant_id": "your_merchant_id_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
CANCELLED | cancelled | |
SUCCESS | charged | |
CLOSED | charged | |
FAILED | failed | |
EXPIRED | failed | |
REFUNDED | refunded |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /alipay/acquiring/order/createOrder.htm | |
| POST | /alipay/acquiring/order/query.htm | |
| POST | /alipay/acquiring/refund/refund.htm |