Direct Debit Payment
Direct Debit Payment
The Direct Debit Payment feature (payment-host-to-host API) allows merchants to initiate payments using a customer's successfully bound bank account.
Through this feature, merchants can:
- Initiate payments on behalf of customers by directly debiting their bound bank accounts.
- Choose between OTP-based payments, which require customer verification, and Non-OTP payments, such as recurring payments without customer intervention.
Both payment flows are subject to Ayoconnect's approval during merchant onboarding.
After a payment attempt, transaction status updates will be sent to the merchant's configured Charge Payment callback URL. The callback structure is documented in the Callback section of the Direct Debit Payment API.
For implementation details, refer to:
- Checkout (OTP) - Payment Behavior
- Recurring Payment Orchestration
Transaction Status
The following transaction statuses may be returned through the callback or /debit/status API:
| Status | Description |
|---|---|
| SUCCESS | The bank has confirmed that the transaction was successful. |
| PENDING | The transaction is still being processed and is awaiting a final status from the bank. |
| FAILED | The bank has confirmed that the transaction failed. |
| NOT FOUND | The transaction was not successfully initiated in Ayoconnect. Merchants may initiate a new payment attempt after confirming the original transaction was not processed. |
Note: For HTTP
5xxerrors or timeouts, merchants should not immediately consider the transaction failed. Wait for the callback or use the/debit/statusAPI to verify the transaction outcome before retrying.
Settlement Status
The following settlement statuses may be returned through the callback or /debit/status API:
| Status | Description |
|---|---|
| SETTLED | The default status for a successful transaction. This does not indicate that settlement from Ayoconnect to the merchant has been completed. |
| REFUNDED | A previously successful transaction has been fully refunded. |
| PARTIALLY_REFUNDED | A previously successful transaction has been partially refunded. |
Limitations
OTP and Non-OTP payment flows are approved on a case-by-case basis during merchant onboarding.
Merchants can only select between both payment flows if they have been approved for both by Ayoconnect.
Updated 3 days ago