Modify a Direct Debit Template

Updates an existing subscription template.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique code of the subscription template.

Body Params
string | null

The template's name, shown to merchants when choosing a template. Max 50 characters.

boolean | null
boolean | null

Whether the template can be used.

Benefits
array of strings | null

Selling-point lines shown to customers on the hosted payment page.

Benefits
string | null

Short badge shown when the template is marked recommended (e.g. "Best value").

string | null

Longer description of the template shown to customers on the hosted payment page.

string | null

Call-to-action label for the template's button on the hosted payment page (e.g. "Join now").

string | null

Base64-encoded image (PNG, JPG, GIF or SVG) shown for this template. Send null to remove.

string
enum

Whether the template appears in your public template selection (public) or is hidden (private).

Allowed:
string | null

The payment description applied to direct debits created from this template. Max 50 characters.

double | null

Amount charged each recurring instalment, in AUD.

string
enum

How often recurring instalments are charged (e.g. weekly, monthly).

Allowed:
string
enum

When the recurring schedule starts: today or a fixed on_date.

Allowed:
date | null

Exact date the recurring schedule starts. Required when the start date condition is on_date.

double | null

Total amount at which the subscription completes; once collected, no further instalments are taken. Send null for an open-ended subscription.

double | null

One-off amount charged before the recurring schedule begins (e.g. a deposit or setup fee).

string
enum

When the upfront amount is charged: today, a fixed on_date, or a number of days before/after the first instalment.

Allowed:
int32 | null

Days before/after the first instalment to charge the upfront amount. Used with days_before_first_instalment or days_after_first_instalment.

date | null

Exact date to charge the upfront amount. Used with the on_date upfront date condition.

string
enum

How a failed (dishonoured) payment is handled.

Allowed:
int32 | null

Days before each payment to send the customer a reminder (0–3; 0 = no reminder).

string of objects | null
enum

Which fees are passed on to the customer.
Valid values: setup - charge the setup fee, perdebit - charge the per-debit fee and MSF, dishonour - charge payment-failure fees, reminder - charge the reminder fee.

Allowed:
string | null

Code of a Digital Agreement to attach. Templates with a digital agreement can only create digital direct debits. Send null to remove.

boolean | null

When subscription-detail fields change, whether to move existing attached debits to the new version (true) or leave them on the current version (false).

Responses
204

NoContent

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json