Create subscription
Which calendar day a charge lands on is a timezone question, so timezone is explicit and defaults to UTC rather than being guessed.
Response contract
The successful wire shape and errors an integration should branch on.
Subscription
application/jsonidstringrequired- Unique subscription identifier.
object"subscription"required- Stable resource discriminator.
statusstringrequired- Current subscription state.
customerIdstringrequired- Subscribed customer.
planIdstringrequired- Subscribed plan.
paymentMethodIdstringrequired- Stored payment method.
nextBillingAtstring- Next scheduled billing timestamp.
createdAtstringrequired- ISO 8601 creation timestamp.
Example response
{
"id": "sub_01JEXAMPLE",
"object": "subscription",
"status": "active",
"customerId": "cus_01JEXAMPLE",
"planId": "plan_01JEXAMPLE",
"paymentMethodId": "pm_01JEXAMPLE",
"nextBillingAt": "2026-09-01T13:00:00.000Z",
"createdAt": "2026-08-10T20:49:51.653Z"
}Error responses
401
authentication_failedThe key is missing, malformed, revoked, or invalid for this environment.
403
permission_deniedThe key does not have subscriptions.create.
422
invalid_requestOne or more request fields are invalid.