Skip to main content
You can add Pre-Authorized Debit Canada (PADs Canada) to your existing integration. The following instructions show only what you must add to your integration specifically for PADs Canada. If an instruction on this page corresponds with a step in the main integration guide, it includes a link to that corresponding step of the main integration guide.

Requirements

How it works

  1. The shopper selects PADs Canada as the payment method.
  2. The shopper enters their details in the payment form that you build.
  3. You collect the shopper’s mandate (consent) for the PAD.
  4. When you make the payment request, you include additional information about the shopper’s bank account.

Build your payment form

Include fields to collect the following information from your shopper in the payment form. You also need to obtain the shopper’s mandate.

Get PADs Canada as an available payment method

When you make the /paymentMethods to get available payment methods, specify the following so that PADs Canada is included in the response. Example request for available payment methods
Example response with PADs Canada available

Add additional parameters to your /payments request

When you make a payment, add the following parameters: Note that you need to get a mandate (consent) from the shopper for the payment or series of recurring payments. Example payment request with tokenization
In the /payments response, note the following:
  • additionalData: an object with the following details to save in your system.
    • eft_directdebit_CA.mandateId: the ID we generated for the shopper’s PAD agreement.
    • eft_directdebit_CA.dateOfSignature: the date of the initial payment request, which is considered to be the date that the shopper accepted the PAD agreement.
    • tokenization.storedPaymentMethodId: the token to use in subsequent recurring PADs.
    • tokenization.shopperReference: your unique ID for the shopper, to use in subsequent recurring PADs.
    The tokenization response parameters are only included if the payment request contained the parameters to create a token, and in your Customer Area under Developers > Additional data you enabled Recurring details.
Example response for a successful payment

Present the payment result

Use the resultCode that you received in the /payments response to present the payment result to your shopper. The resultCode values you can receive for PAD are:

Recurring payments

Pre-Authorized Debit Canada supports tokenization of the shopper’s payment details for recurring transactions. Due to the risk of chargebacks, we do not recommend using PADs for one-off payments. You are required to obtain a mandate from the shopper if you intend to make future recurring payments. To make recurring payments, refer to Tokenization to:
  • Enable the Recurring tokens life cycle events webhook.
  • Create a token through the initial payment (see Add additional parameters above).
  • Pay with the token in subsequent payments. Note that you do not need to include the mandate ID in the recurring payment request.
  • Manage tokens.

Test and go live

You can test Pre-Authorized Debit Canada payments as well as chargebacks.

Test the payment flow

Test your integration by making test payments using the bankAccountNumber, bankLocationId, bankCode and ownerName of a real Canadian bank account. That account will not be debited. You can also use the following test credentials:
  • Account holder name: TEST
  • Account number: 00257596
  • Institution number: 002
  • Transit number: 57596

Test the chargeback flow

You can test the return flow by making test payments with an ownerName value that consists of chargeback: followed by a PAD return reason code. For example, chargeback:05. The other account details to use are the same as when testing payments. Note that in the test environment the return flow goes directly to the Chargeback stage.

Return reason codes

Use the following table with the most common PAD return reason codes to determine what the code means and if it is allowed to retry a returned payment.

Go live

Before going live, contact our Support Team to add PADs Canada in your live Customer Area.

See also