Allobank
Last updated
Last updated
DOKU API
Legacy DocumentationHere is the overview of how to integrate with Allobank :
Merchant can binding Allobank account to customer id, each Allobank account can only binding to one customer on one merchant. Customer need to verify OTP and input PIN on Allobank page.
Here is the flow for Account Binding :
API Endpoint
Here is the sample request header, request body and response body for Account Binding - AlloBank
Once a customer has linked their account through the Allobank platform, merchants can initiate a Balance Inquiry via the this API to obtain accurate and up-to-date account balance information.
Here is the flow for Check Balance Inquiry :
API Endpoint
Here is the sample request header, request body and response body for Check Balance Inquiry Allobank :
After merchant check the balance, merchant can hit this API to do payment. DOKU will deduct customer's balance.
Here is the flow for Payment Allobank :
API Endpoint
After the payment is being made by your customer, DOKU will send HTTP Notification to your defined Notification URL
. Learn how to handle the notification from DOKU .
Merchant can refund the transaction to DOKU. Hit this API to refund the transaction. Currently DOKU Support Full Refund.
Here is the Refund Flow :
API Endpoint
In case you need to remove the customer data on DOKU, hit this API to unbinding the customer data.
API Endpoint
Environment | Endpoint |
---|---|
Environment | Endpoint |
---|---|
Environment | Endpoint |
---|---|
Environment | Endpoint |
---|---|
Environment | Endpoint |
---|---|
HTTP Method
POST
API Sandbox
API Production
Path
/direct-debit/merchant/allo/v1.0/registration-account-binding
HTTP Method
POST
API Sandbox
API Production
Path
...../direct-debit/merchant/allo/v1.0/balance-inquiry
HTTP Method
POST
API Sandbox
API Production
Path
...../direct-debit/merchant/allo/v1.0/payment/host-to-host
HTTP Method
POST
API Sandbox
API Production
Path
...../direct-debit/merchant/allo/v1.0/debit/refund
HTTP Method
POST
API Sandbox
API Production
Path
...../direct-debit/allo/v1.0/registration-account-unbinding