Direct Debit Payment

The Direct Debit Payment feature (payment-host-to-host API) can be utilized after binding has been done.

Through this feature, merchants can:

  1. Initiate a payment on behalf of your customer, directly deducting their binded bank account
  2. Choose to request OTP from customer to confirm payment, or a non-OTP flow (i.e. recurring payments without customer intervention)

After a payment attempt, a callback containing the final payment status will be sent to the partner's charge payment URL. The structure of the callback is mentioned in the Callback section of the Direct Debit Payment API.

Transaction Status

Possible transaction statuses returned in the callback or **/debit/status ** API are:

  1. SUCCESS
    1. This indicates definitive success from the bank
  2. INITIATED
    1. This indicates that the transaction has not reached the bank (awaiting user action), and thus awaiting a final state from the bank
  3. PENDING_USER_VERIFICATION
    1. This status is returned if an OTP verification is still pending for OTP-based non-Danamon payments
  4. PENDING_USER_VERIFICATION WITH URL
    1. This status is specific for OTP-based payments through Danamon. This status does not apply to any other banks, and neither does it apply to non-OTP based payments through Danamon
  5. FAILED
    1. This status indicates definite failure from the bank

Settlement Status

Possible settlement statuses returned in the callback or **/debit/status ** API are:

  1. SETTLED
    1. This is the default status once a transaction is successful. It does not indicate actually settlement flow from Ayoconnect to client
  2. REFUNDED
    1. This is the status is a transaction that was previously successful is refunded successfully (full refund)
  3. PARTIALLY REFUNDED
    1. This is the status is a transaction that was previously successful is refunded successfully (partial refund)

Limitations

Please note the following limitations:

  • OTP & Non-OTP flows are approved on case-by-case basis, specifically as part of a merchant's onboarding process through Ayoconnect. Our APIs only allows merchants to select between these 2 flows once they have been approved for both by Ayoconnect