Accept a payment and save a mandate for future PayTo payments
Learn how to collect a PayTo payment and authorise future payments.
PayTo allows customers in Australia to authenticate PayTo mandates for one-off and recurring payments in their banking apps. Customers pay with PayTo by receiving notification of a pending mandate request, authorising the terms of the mandate, then returning to your app where you get delayed notification on whether the payment succeeded or failed.
Setting up a PayTo mandate for future payments allows you to collect future recurring payments without needing customer authorisation again. Customers can view, manage, pause, and cancel their PayTo mandates in their banking apps.
Caution
Stripe doesn’t support modification or pausing of PayTo mandates by customers. If a customer attempts to pause or modify a mandate, we cancel the mandate and send you a mandate. webhook. After receiving the webhook, you can reach out to your customer to find out why they adjusted their mandate, as well as set up a new mandate.
Accepting PayTo payments on your website consists of creating an object to track a payment, collecting payment method information and mandate acknowledgement and submitting the payment to Stripe for processing. Stripe uses this payment object, the PaymentIntent, to track and handle all the states of the payment until the payment completes.
Determine compatibility
To support PayTo payments in Checkout, express all Prices for all line items in AUD (currency code aud).
Accept a payment
Note
This guide builds on the foundational accept a payment Checkout integration.
To enable Payto as a payment method, create a new Checkout Session:
- Add
paytoto the list ofpayment_.method_ types - Make sure all your
line_use theitems audcurrency.
Fulfill your orders
After accepting a payment, learn how to fulfil orders.
Test your integration
Test your PayTo integration with your test API keys by using the various test PayIDs and bank account details below. Each set of details results in a different scenario your integration might commonly face in live mode.