Pull via Subscriptions App
Overview
Let Azupay handle the customer-facing setup for your PayTo agreements.
The Subscriptions App guides customers through reviewing their payment terms, entering their account details and authorising the agreement in their banking app or online banking.
Once the agreement is active, you can initiate payments yourself or let Azupay collect them on a schedule.
Choose how to collect payments
| Approach | What to include | What happens after approval |
|---|---|---|
| Agreement-only setup | Omit scheduler from your request. | You initiate eligible payments through the Payment Initiation API or create a schedule separately. |
| Automatic scheduling | Include scheduler with a valid timezone. | Azupay creates a payment schedule using the confirmed frequency, start date and amount. |
Scheduling is optionalCreating a PayTo agreement does not automatically start recurring collections. Include
schedulerif you want Azupay to create the schedule after agreement approval.
See the PaymentAgreementRequest API guide for examples of both approaches.
How it works
flowchart TD
A["Create a PaymentAgreementRequest"] --> B["Send the customer to sessionUrl"]
B --> C["Customer reviews the terms and enters account details"]
C --> D["Customer approves the agreement at their bank"]
D --> E["Agreement becomes ACTIVE"]
E --> F{"Automatic scheduling requested?"}
F -->|Yes| G["Azupay creates the schedule"]
G --> H["Azupay initiates payments on scheduled dates"]
F -->|No| I["You initiate eligible payments or create a schedule separately"]
H --> J["Receive payment outcomes through webhooks"]
I --> J
Agreement approval and payment completion are differentAn active agreement gives you permission to collect eligible payments. It does not mean a schedule has been created or a payment has settled. Confirm each outcome separately.
What your customer sees
The hosted experience guides your customer through:
- Reviewing the payment terms and choosing from any options you have made available.
- Entering their PayID or BSB and account number.
- Following guidance to authorise the agreement in their banking app or online banking.
- Viewing the agreement setup outcome.
Open the hosted experience
Create a request through the PaymentAgreementRequest API, then send your customer to the returned PaymentAgreementRequestStatus.sessionUrl.
You can provide return destinations by appending URL-encoded redirectURL and cancelRedirectURL query parameters to the session URL.
Retain the paymentAgreementId so you can associate the agreement with your customer and track future collections.
Use agreement status updates to confirm activation and payment status updates to track collections. If you requested automatic scheduling, also confirm that the schedule was created successfully.
Need to collect an upfront payment?
Use the Subscriptions App when you want to set up the agreement first and collect payments afterwards.
If you want to collect an upfront payment and establish an ongoing agreement in the same checkout, use the Pay & Subscribe journey in the Pay by Bank App.
Next steps
- PaymentAgreementRequest API guide — create a hosted setup session and optionally request automatic scheduling.
- Payment Initiation API — initiate eligible payments against an active agreement.
- PaymentSchedule API guide — manage schedules and understand collection behaviour.
Updated 11 days ago
