Allo Bank Direct Debit
Allo Bank direct debit offers tokenization scheme that requires customer to input OTP and/or PIN to verify every payment.
Integration Steps
Overview of integration process with Allo Bank Direct Debit
1. Account Binding
Account Binding process should be done before payment can be made and processed. Merchant will send account binding request from customer to DOKU. The request includes customer's phone number that is registered to customer's Allo Bank account.
Each Allo Bank account can only be bind to one customer on one merchant. Customer needs to do verification for account binding process by inputting OTP and PIN.
Account Binding Flow
API Endpoint
Environment | Endpoint |
---|---|
HTTP Method | POST |
API Sandbox | |
API Production | |
Path |
|
Sample of Request Header, Request Body and Response Body
Notes:
Parameter with (*) is mandatory
Paramater without (*) is optional/conditional
2. Balance Inquiry
After customer has bind/linked their Allo Bank account, customer can check their account balance infirmation using Balance Inquiry. Merchant will send balance inquiry request from customer to DOKU. The request includes customer's token.
Merchant can also use balance inquiry API to check if customer has sufficient balance before invoking payment process.
Balance Inquiry Flow
API Endpoint
Environment | Endpoint |
---|---|
HTTP Method | POST |
API Sandbox | |
API Production | |
Path |
|
Sample of Request Header, Request Body and Response Body
Notes:
Parameter with (*) is mandatory
Paramater without (*) is optional/conditional
3. Payment
After customer's account is bind/linked and customer has enough balance for payment, merchant can send payment request from customer to DOKU by bringing customer's token.
Payment Flow
API Endpoint
Environment | Endpoint |
---|---|
HTTP Method | POST |
API Sandbox | |
API Production | |
Path |
|
Sample of Request Header, Request Body and Response Body
Notes:
Parameter with (*) is mandatory
Paramater without (*) is optional/conditional
4. Payment Notification
After payment is completed, DOKU will send HTTP Notification to merchant's defined Notification URL
. Learn how to handle the notification from DOKU.
5. Additional Feature
Online Refund
This endpoint is used to create refund request for previous successful payment. Merchant can request a transaction refund to DOKU. Full refund and partial refund are available to be requested
Online Refund Flow
API Endpoint
Environment | Endpoint |
---|---|
HTTP Method | POST |
API Sandbox | |
API Production | |
Path |
|
Sample of Request Header, Request Body and Response Body
Notes:
Parameter with (*) is mandatory
Paramater without (*) is optional/conditional
Account Unbinding
If a registered customer no longer wants their account/card to be bind/linked and wish to remove themself from DOKU's and merchant’s system, merchant can send account unbinding request that is initiated by customer.
API Endpoint
Environment | Endpoint |
---|---|
HTTP Method | POST |
API Sandbox | |
API Production | |
Path |
|
Sample of Request Header, Request Body and Response Body
Notes:
Parameter with (*) is mandatory
Paramater without (*) is optional/conditional
Last updated