HomeProduct DocsAPI ReferenceChangelog
RecurlyAPI GuidesRecurly.jsWebhooksAPI ReferenceSupportBook demo
API Reference

Create Plan

Create a new subscription plan.

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

Unique code to identify the plan. This code may only contain the following characters: [a-z 0-9 @ - _ .]. Max of 50 characters.

string

Plan name. Max of 255 characters.

string

Optional plan description, not displayed

string

Accounting code for related invoice line items, defaults to ths code may only contain the following characters: [a-z 0-9 @ - _ .]. Max of 20 characters.

string

"days", or "months", defaults to "months"

integer
Defaults to 1

Plan interval length, defaults to 1

string
Defaults to months

days", or "months", defaults to "months"

integer
Defaults to 0

Defaults to zero, or no trial

setup_fee_in_cents
array

Array of currency objects, see examples. Max 10000000.

setup_fee_in_cents
integer

Array of currency objects, see example below. Max 10000000.

string
Defaults to null

Number of billing cycles before the plan stops renewing, defaults to null for continuous auto renewal.

string

Unit description for the quantity, e.g. "users".

boolean
Defaults to false

Display the quantity field on the hosted payment page if true, defaults to false.

string

URL to redirect to after signup on the hosted payment pages.

string

URL to redirect to on canceled signup on the hosted payment pages.

boolean

true exempts tax on the plan, false applies tax on the plan. If not defined, then defaults to the Plan and Site settings.

string
length ≤ 50

Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of unknown, physical, or digital tax codes.

Response

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