---
updatedAt: 2026-07-31T02:39:05.000Z
agentTools:
  projectIndex: https://developer.azupay.com.au/llms.txt
---

# Pull via Subscriptions App

# Pull payments via Subscriptions App

Use the Subscriptions App when you want to collect customer-authorised payments directly from a customer’s bank account using PayTo.

The Subscriptions App supports two main agreement-based collection models:

* Subscription
* Pay & Subscribe

<Cards columns="2">
  <Card title="Subscription" icon="fa-rotate">
    Establish a PayTo agreement for once-off or recurring collections.
  </Card>

  <Card title="Pay & Subscribe" icon="fa-layer-group">
    Collect an upfront payment now and set up recurring payments for later.
  </Card>
</Cards>

<br />

## Choose the right PayTo model

| Payment model   | Best for                                                                                            | Key behaviour                                                               |
| :-------------- | :-------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------- |
| Subscription    | Recurring authorised collections<br />Note: Subscriptions utilises the paymentAgreementRequest API. | Customer sets up a PayTo agreement that can be used for repeat payments     |
| Pay & Subscribe | Upfront payment plus repeat payments.<br />Note: Pay & Subscribe utilises the paymentRequest API.   | Customer makes an initial payment and also establishes an ongoing agreement |

<br />

## Payment patterns

<Accordion title="Subscription" icon="fa-rotate">
  Use the Subscription flow when you want to establish a PayTo agreement that can be used for either a once-off authorised payment or recurring collections.

  **Best for:**

  - subscriptions
  - memberships
  - instalment plans
  - repeat service payments
  - one-time authorised collections where a PayTo agreement is preferred

  **What to expect:**

  - the customer authorises a PayTo agreement
  - the agreement can support either once-off or recurring payment collection depending on how it is configured
  - the hosted UX supports agreement setup, review, and approval
  - where enabled, passkeys can streamline the return payment experience

  **Configure it like this:**

  - create a `PaymentAgreementRequest`
  - set different `agreementStartDate` and `agreementEndDate` values
  - set `agreementExpiryMinutes` which controls how long the customer has to authorise the created PayTo agreement in their online banking or banking app
  - set `agreementMaximumAmount` required for future recurring collections
</Accordion>

<Accordion title="Pay & Subscribe" icon="fa-layer-group">
  Use Pay & Subscribe when you want to collect an initial payment now and also establish a recurring PayTo agreement for future payments.
</Accordion>

<br />

## Customer identification options

Customers can set up their PayTo agreement using either their PayID or their bank account details, depending on the payment flow and available configuration.

**PayID**

* suited to customers who prefer to identify their bank account using their PayID
* can simplify the agreement setup experience for returning or familiar users

**BSB and account number**

* suited to customers who prefer to use their bank account details directly
* supports agreement setup where bank account details are the preferred identifier

Regardless of how the customer identifies their account, the end result is the same: an authorised PayTo agreement ready for payment collection.

<br />

## How it works

```mermaid
sequenceDiagram
    participant MB as Merchant Backend
    participant API as Azupay API
    participant UX as Subscriptions App
    participant BANK as Customer Bank
    participant WH as Webhook Endpoint

    MB->>API: Create Payment Agreement Request
    API-->>MB: Return checkoutUrl / sessionUrl

    MB->>UX: Redirect customer to hosted experience
    UX->>BANK: Customer reviews and approves agreement
    BANK-->>API: Agreement approved
    API-->>WH: Send agreement status update
    WH-->>MB: Mark agreement active

    MB->>API: Initiate payment when required
    API-->>WH: Send payment status update
    WH-->>MB: Update billing / fulfilment workflow

```

## Subscriptions App vs recurring payments in Pay by Bank

Azupay supports recurring PayTo payments in two different ways:

* **Recurring payments in Pay by Bank**
* **Recurring payments via the Subscriptions App**

Both use PayTo, but they are designed for different customer journeys.

| Option                            | Best for                                                                                                                              | How it works                                                                                                                            |
| :-------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------- |
| Recurring payments in Pay by Bank | Merchants who want to collect a payment during checkout and support a faster return payment experience later                          | The customer starts in the Pay by Bank checkout experience, creates a recurring PayTo agreement, and can return to make future payments |
| Subscriptions App                 | Merchants who want to set up an ongoing recurring payment authority first, then initiate collections against that agreement over time | The customer completes a dedicated agreement setup flow, and future payments are initiated against the approved agreement               |

### Use recurring payments in Pay by Bank when

* you want recurring capability built into the checkout experience
* the customer is already in a pay-now flow and you need to collect payment now
* you want to support future return payments with a lower-friction experience
* you may want to support passkeys for subsequent payments

### Use the Subscriptions App when

* your primary goal is to set up a recurring PayTo agreement
* you want a dedicated agreement setup journey
* you plan to initiate recurring payments against that agreement over time
* the agreement itself is the main product flow, rather than a checkout payment

### The key difference

The main difference is the starting point:

* **Pay by Bank recurring payments** start from a checkout and payment experience
* **Subscriptions App** starts from an agreement setup experiencer

<Callout theme="default">
  If you want to collect an upfront payment and also establish a recurring agreement in the same journey, use the Pay by Bank App rather than the Subscriptions App.
</Callout>

## What the customer sees

The hosted Subscriptions App guides the customer through the full agreement setup journey, including:

* entering their PayID or bank account details
* reviewing the payment or agreement terms
* approving the agreement in their banking environment
* seeing payment or agreement status updates in the hosted experience

## Subscriptions App vs recurring payments in Pay by Bank

Azupay supports recurring PayTo payments in two different ways:

* **Recurring payments in Pay by Bank**
* **Recurring payments via the Subscriptions App**

Both use PayTo, but they are designed for different customer journeys.

| Option                            | Best for                                                                                                                              | How it works                                                                                                                            |
| :-------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------- |
| Recurring payments in Pay by Bank | Merchants who want to collect a payment during checkout and support a faster return payment experience later                          | The customer starts in the Pay by Bank checkout experience, creates a recurring PayTo agreement, and can return to make future payments |
| Subscriptions App                 | Merchants who want to set up an ongoing recurring payment authority first, then initiate collections against that agreement over time | The customer completes a dedicated agreement setup flow, and future payments are initiated against the approved agreement               |

### Use recurring payments in Pay by Bank when

* you want recurring capability built into the checkout experience
* the customer is already in a pay-now flow
* you want to support future return payments with a lower-friction experience
* you may want to support passkeys for subsequent payments

### Use the Subscriptions App when

* your primary goal is to set up a recurring PayTo agreement
* you want a dedicated agreement setup journey
* you plan to initiate recurring payments against that agreement over time
* the agreement itself is the main product flow, rather than a checkout payment

### The key difference

The main difference is the starting point:

* **Pay by Bank recurring payments** start from a checkout and payment experience
* **Subscriptions App** starts from an agreement setup experience

### In simple terms

Think of it like this:

* **Pay by Bank recurring** = pay now, with recurring capability built in
* **Subscriptions App** = set up the recurring authority first, then bill against it later

<Callout theme="default">
  If you want to collect an upfront payment and also establish a recurring agreement in the same journey, use the Pay by Bank App rather than the Subscriptions App.
</Callout>

## Use the checkoutUrl

Once your Payment Agreement Request has been created, use the returned checkoutUrl or sessionUrl to direct the customer into the hosted Subscriptions App experience.

<br />

## The hosted experience will:

* present the agreement or payment details to the customer
* guide them through the PayTo authorisation flow
* support subscription or Pay & Subscribe journeys depending on configuration
* return agreement and payment status updates through API responses and webhooks

<br />