Pengaturan & API
Status Konfigurasi
Konfigurasi Production
Base URL
https://api.saas.dana.id
Partner ID (X-PARTNER-ID)
2021033193419511000905
Merchant ID
216620000220693657669
Channel ID
95221
Origin
https://purwantara.id
API Spec
SNAP API v1.0 (Asymmetric)
Notify URL
https://callback.purwantara.id/vendor/dana/dana_pay
Pay Return URL
https://purwantara.id/share/payment-links/
Private Key disimpan sebagai Cloudflare Secret – tidak ditampilkan
SNAP API Endpoints (Resmi)
POST
/api/payment/consult
POST
/api/payment/create
POST
/api/payment/query
GET
/api/payment/status/:ref
POST
/api/payment/cancel
POST
/api/payment/refund
POST
/v1.0/debit/notify
POST
/api/qris/create
POST
/api/qris/query
GET
/api/qris/status/:ref
GET
/api/qris/history
GET
/api/disbursement/banks
POST
/api/disbursement/inquiry
POST
/api/disbursement/transfer
POST
/api/disbursement/status
POST
/v1.0/debit/emoney/transfer-bank/notify.htm
POST
/api/topup/inquiry
POST
/api/topup/transfer
POST
/api/topup/status
GET
/api/topup/history
POST
/v1.0/debit/emoney/topup/notify.htm
GET
/api/stats
GET
/api/transactions
GET
/api/info
SNAP Signature Algorithm
Access Token Signature
SHA256withRSA( "<X-PARTNER-ID>|<X-TIMESTAMP>" )
Request Signature
SHA256withRSA( "POST:<path>:lowercase(sha256hex(body)):<X-TIMESTAMP>" )
Private Key harus PKCS#8. Set via DANA_PRIVATE_KEY Cloudflare secret.
Test Endpoints
Your Public Key (RSA 4096)
Upload public key ini ke DANA Merchant Portal untuk aktivasi API.
-----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAwrkh6GfiD9z3BW05wn++ s05m0m4CGqLhB+JJxC6l80aiaa8jvGs2qWCTKEyafrg3lP8gmwXXS7sTcPyq2kvC 6HAosxor7H1IL+Dc5kyHyO2YNOHMXkPURMiIV7GPvRRDj1e78a5RniEJLH9j+Qce uuWU+M4rQ5GQ4/suUhTCRXwH+KmolrXaoA+3x+Pk58iGJGiydCrgxrrjLASDPIAX 0ZQXDgTR3pB/1eXkN9wWZkV19p8uwfVkk3QqtgXDxfnke7cr72MwsBwaRKQ94zcO 6anwnYtQjdFrmoQzo2x8ypKxHQpSf/evpAdrC9Yz+wJRaDoLV7V0I+RPOQj2OgVI Ys2WOJNe8H+jP8TotwH0Hky/0eP2Tv3avs+sEs4+y0IBZ0m+DOe9mJz6LVRnT77b gQyplBoTwdA119SxxQSwRFFeAjk4Goz+DFYPBWWnHfrDwWctNtaMoggB9lfVX7Rn ndueuwvYDzLyaYhCWsS6fGNyWMPVA23vkQlYfI9qaar+1HsEYKk0pWVlnM0xrT7R 2ewHpF5ZhFbsSPSi20QlRBxYRRlIslpoDufMaE4gfnpWUZCvECUO9Fnp+TOPN3Q+ DRBiF1fOYxJl7OP8hwiKd/7LZB2FiDE3E6ZcmuBGm/gNGzgiTCffdAKSb64hcX38 0aBzGTpkZZNd5vFgXf17sxkCAwEAAQ== -----END PUBLIC KEY-----