BRI Direct Debit
BRI Direct Debit
One of DOKU's direct debit partner is BRI. Learn more about integration to BRI Direct Debit here.
Integration Steps
The overview of integration process with BRI Direct Debit
Card Registration
Merchant can register BRI card/account to customer ID. Each card/account can only registered/bind to one customer on one merchant. Customer need to verify OTP and input PIN on BRI page.
The flow of Card Registration:

API Endpoint
HTTP Method
POST
API Sandbox
API Production
Path
/wtd-direct-debit-snap-bri/snap/v1.0/registration-card-bind
The sample of Request Header, Request Body and Response Body for BRI Direct Debit Card Registration:
OTP Verification
Once the customer has registered their card through the platform, merchant needs to verify the card. Merchant can hit this API to verify the OTP.
The flow of OTP Verification:

HTTP Method
POST
API Sandbox
API Production
Path
/wtd-direct-debit-snap-bri/snap/v1.0/otp-verification
The sample of Request Header, Request Body and Response Body for BRI Direct Debit OTP Verification:
Direct Debit Payment
This API is used for payment of transaction based on the card number in the card token obtained from the Card Registration/Binding process. After merchant hit this Payment API, DOKU will deduct the customer's balance.
The flow of Direct Debit Payment:

HTTP Method
POST
API Sandbox
API Production
Path
/wtd-direct-debit-snap-bri/snap/v1.0/debit/payment-host-to-host
The sample of Request Header, Request Body and Response Body for BRI Direct Debit Payment:
Direct Debit Payment Notification
After the payment is done by the customer, DOKU will send HTTP Notification to merchant's defined Notification URL
. Learn how to handle the notification from DOKU.
Additional Feature
Online Direct Debit Refund
This endpoint is used to create refund requests for previously successful payments. Refunds can be made in full or partial amounts. Merchant can refund the transaction to DOKU. Hit this API to refund the transaction. Currently DOKU Support Full Refund.
The flow of Direct Debit Refund:

HTTP Method
POST
API Sandbox
API Production
Path
/wtd-direct-debit-snap-bri/snap/v1.0/refund
The sample of Request Header, Request Body and Response Body for BRI Direct Debit Refund:
Card Registration Unbinding
This API is used to delete customer's card data in DOKU.
API Endpoint
HTTP Method
POST
API Sandbox
API Production
Path
/wtd-direct-debit-snap-bri/snap/v1.0/registration-card-unbind
The sample of Request Header, Request Body and Response Body for BRI Direct Debit Card Registration Unbinding:
Last updated
Was this helpful?