Mobile SDK

postCreate Plan

Definition

{{ api_url }}{{ page_api_url }}

Documentation

The Create Plan request enables you to set up a subscription billing plan and define the plan's settings, such as the charge frequency, amount, currency, trial period, initial charge amount, and so on.

Example Descriptions

Create Plan: basic

This example shows a basic Create Plan request, containing the minimum required fields for a new plan.

Create Plan: all settings

This example shows a Create Plan request with all available plan settings, including a trial period of 14 days, an initial charge of $100, charge on switch enabled, a max limit of 12 charges, and a grace period of 10 days.

API Explorer

To test out a call, enter the XML portion of the request below and then click Try it!

Tip:

Copy the XML portion from one of the example requests above, or use the XML code below as a starting point. You can enter different parameter values to see how your test scenario would work. The request headers, including authorization, are already built in for you in this test area, so you should not include them here.