# Direct Debit

> How to accept recurring direct debit payments from customer bank accounts.

## Create the mandate

Choose the mandate setup path that fits your flow:

1. Use a transaction flow when you want the customer to authorize a debit during checkout by initializing a transaction with the `bank` channel and the appropriate custom filter.
2. Use the direct-debit authorization flow when you want to issue a standalone mandate request by calling the authorization initialization endpoint with `channel` set to `direct_debit`.
3. Include the customer email and, when available, prefill the `account` and `address` objects to make the consent flow easier to complete.
4. If you use the standalone authorization flow, keep the returned `redirect_url` and send the customer there to review and approve the request.

## Wait for customer approval

1. Let the customer complete the authorization on the hosted approval page or during the bank checkout flow.
2. Listen for the webhook events that describe mandate progress:

  - `direct_debit.authorization.created` when the customer has approved the authorization request
  - `direct_debit.authorization.active` when the authorization is fully active and ready to charge
3. If you need to confirm status directly, verify the authorization with the reference returned during initialization.
4. If the authorization stays pending for too long, trigger an activation charge. Paystack debits NGN 50 temporarily to validate the account, then refunds it after the check completes.

## Confirm bank support

1. Make sure the customer’s bank is on the supported Direct Debit bank list before you rely on the mandate.
2. For Nigerian Direct Debit flows, supported banks include Access Bank, Citibank Nigeria, Ecobank Nigeria, Fidelity Bank, First Bank of Nigeria, First City Monument Bank, Globus Bank, Guaranty Trust Bank, Heritage Bank, Jaiz Bank, Keystone Bank, Polaris Bank, PremiumTrust Bank, Providus Bank, Stanbic IBTC Bank, Standard Chartered Bank, Sterling Bank, Suntrust Bank, Titan Bank, Union Bank, UBA, Unity Bank, Wema Bank, and Zenith Bank.

## Debit the customer on schedule

1. Once the authorization is active, keep the returned `authorization_code` together with the matching customer email.
2. Charge the authorization whenever the scheduled debit is due.
3. Treat the initial response as provisional when it returns `processing` and keep the transaction reference for verification.
4. Listen for `charge.success` on your webhook URL or verify the transaction directly with the reference from the charge response.
5. Reuse the same authorization for future recurring debits or subscription billing until you need to deactivate it.

## Deactivate the mandate when needed

1. Send a deactivate authorization request when the recurring arrangement ends or the customer asks to stop debits.
2. Keep your local mandate status in sync with the Paystack authorization state so future scheduled jobs stop charging inactive mandates.

Direct Debit is currently available to businesses in Nigeria only.
