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:

  1. Initiate payments on behalf of customers by directly debiting their bound bank accounts.
  2. 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:

StatusDescription
SUCCESSThe bank has confirmed that the transaction was successful.
PENDINGThe transaction is still being processed and is awaiting a final status from the bank.
FAILEDThe bank has confirmed that the transaction failed.
NOT FOUNDThe 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 5xx errors or timeouts, merchants should not immediately consider the transaction failed. Wait for the callback or use the /debit/status API to verify the transaction outcome before retrying.


Settlement Status

The following settlement statuses may be returned through the callback or /debit/status API:

StatusDescription
SETTLEDThe default status for a successful transaction. This does not indicate that settlement from Ayoconnect to the merchant has been completed.
REFUNDEDA previously successful transaction has been fully refunded.
PARTIALLY_REFUNDEDA 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.



Did this page help you?