Create recurring charges based on time
You can use the appSubscriptionCreate
mutation to create a recurring charge. You can specify the details of the plan by using the appRecurringPricingDetails
field on the line item's plan.
You can use only the USD
value as the currencyCode
. After the merchant accepts the charge, the merchant is then redirected to the URL that's returned from the returnUrl
.
Create an app subscription based on time
Anchor link to section titled "Create an app subscription based on time"Provide the name
, returnUrl
, price
, and interval
. The interval
field accepts two values: ANNUAL
or EVERY_30_DAYS
. If the interval
field is not provided, then the interval defaults to EVERY_30_DAYS
.
To create an app subscription based on time, use the appSubscriptionCreate
mutation: