Creates a new subscription for an existing customer. When payment is required and no payment method exists, returns a checkout URL.
Server API Key
Provision a subscription. Returns subscription or checkout URL.
Customer ID to provision the subscription for
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.@-]*$Plan ID to provision
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$Unique identifier for the subscription
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$Optional paying customer ID for split billing scenarios
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.@-]*$Optional resource ID for multi-instance subscriptions
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$Billing period (MONTHLY or ANNUALLY)
MONTHLY, ANNUALLY Subscription start date
External billing system identifier
255The ISO 3166-1 alpha-2 country code for billing
255Feature entitlement configuration for a subscription
Trial period override settings
Strategy for scheduling subscription changes
END_OF_BILLING_PERIOD, END_OF_BILLING_MONTH, IMMEDIATE Checkout page configuration for payment collection
Additional metadata for the subscription
Salesforce ID
255Minimum spend amount
How payments should be collected for this subscription
CHARGE, INVOICE, NONE Coupon configuration
Whether to wait for payment confirmation before returning the subscription
Unit quantity
x >= 1Billing cycle anchor behavior for the subscription
UNCHANGED, NOW The newly created subscription object.
Response object
Provisioning result with status and subscription or checkout URL.