Confirm a Canadian pre-authorized debit payment stripe.confirmAcssDebitPayment(clientSecret: string, data?: object, options?: object) Use stripe.confirmAcssDebitPayment in the Accept a payment flow for the Canadian pre-authorized debit payment method when the customer submits your payment form. When called, it will automatically load an on-page modal UI to collect bank account details and verification, accept a hosted mandate agreement, and confirm the PaymentIntent when the user submits the form. Note that there are some additional requirements to this flow that are not covered in this reference. Refer to our integration guide for more details. When you confirm a PaymentIntent, it needs to have an attached PaymentMethod. stripe.confirmAcssDebitPayment automatically creates a new PaymentMethod for you when your customer completes the modal UI. It can also be called with an existing PaymentMethod, which will load the modal UI to collect a new mandate agreement. These use cases are detailed in the sections that follow. > Note that stripe.confirmAcssDebitPayment may take several seconds to complete. > During that time, disable your form from being resubmitted and show a waiting indicator like a spinner. > If you receive an error result, show it to the customer, re-enable the form, and hide the waiting indicator. - clientSecret The client secret of the PaymentIntent. - data Data to be sent with the request. Refer to the Payment Intents API for a full list of parameters. - payment_method The id of an existing PaymentMethod or an object of collected data. See use cases below for details. - options An options object to control the behavior of this method. - skipMandate Set this to true if you want to skip displaying the mandate confirmation. ### with a new PaymentMethod ### Data argument properties - payment_method Pass an object to confirm using data collected. - billing_details The customer's billing_details. name and email are required. - name The customer's name. The first and last name must be at minimum 2 characters each. - email The customer's email. ### Example title Confirm with a new PaymentMethod ### with an existing PaymentMethod ### Data argument properties - payment_method The id of an existing PaymentMethod. ### Example title Confirm with an existing PaymentMethod ### with an attached PaymentMethod ### Example title Confirm with an attached PaymentMethod ### with self collected bank account information ### Data argument properties - payment_method Pass an object to confirm using data collected. - billing_details The customer's billing_details. name and email are required. - name The customer's name. The first and last name must be at minimum 2 characters each. - email The customer's email. - acss_debit The customer's bank account information. - account_number The customer’s bank account number. - institution_number The institution number of the customer’s bank. - transit_number The transit number of the customer’s bank. ### Example title Confirm with bank account information ### with an existing PaymentMethod but skip mandate display ### Data and options argument paramters - data Data to be sent with the request. - payment_method The id of an existing PaymentMethod. - options An options object to control the behavior of this method. - skipMandate Set to true to skip the on-page modal UI. ### Example title Confirm with an existing PaymentMethod but skip mandate display ### Example title Confirm Canadian pre-authorized debit payment