Create a payment plan

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

ID of the customer that the plan should belong to.

string

The token for a card to link this payment plan to

int32
required

Recurring payment amount in the smallest unit of the currency.

int32

Setup fee to be charged upon creation of the payment plan.

string
required

Frequency of the payments. Acceptable values are: Daily, Weekly, Fortnightly, Monthly, 4 Weekly, Quarterly, Half Yearly, Annually.

string
required

Payment method for the plan - this can be Credit Card or Direct Debit. Note that if the customer is not setup with the defined payment method an error will be returned.

int32
required

Anniversary of the recurring payments. For Weekly and Fortnightly payments this will be the day of the week (1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday) For Monthly this will be the day of the month. If the day of the month is greater then 28, and the month is shorter then the anniversary this date will be moved forward to the nearest possible date (i.e. a payment for the 31st will fall on the 30th for monthly like September etc).

date
required

Date that the payment plan should start. This must be in the future.

date

Date that the payment plan should end on. This must be in the future and greater than the start_date.

string

Reference for the payment plan.

string

Description for the payment plan (e.g. Model 200R Blender Lay-by).

string

ISO 4217 currency code for the plan.

int32

Total number of payments to process for this plan.

int32

Total amount of all payments to be processed for this plan.

int32
Defaults to 0

Fee that applies to the retried payment in the event of any declined payment. Note: This amount will compound for the total number of retries (3) performed.

int32
Defaults to 3

Number of days between payment retries for any declined payments.

Responses

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