Skip to main content
POST
Pause a subscription to stop charging its renewals, for example while the customer is away. The customer keeps the period they already paid for. No renewal is charged until you resume the subscription.

Behavior

  • Only an active subscription with a renewal scheduled (next_billing_at set) can be paused. A subscription that is past_due, incomplete or canceled returns a 422.
  • A renewal Soap has already started (waiting for its charge or being charged) must finish first: pausing then returns a 422, and you can pause once the renewal is paid. A renewal that is due but not started yet is skipped: the paused time is never billed.
  • On success the subscription reads status: "paused", with paused_at set and next_billing_at null.
  • Pausing a subscription that is already paused changes nothing and keeps the first paused_at.
  • The body is optional. reason (up to 500 characters) is recorded and sent on the opt-in subscription.paused webhook.
  • Canceling a paused subscription ends the pause; the subscription stays active until the end of the period the customer paid for.

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key (key_...). Used for every endpoint except POST /api/v1/device_pings.

Path Parameters

id
string
required

Public id of the subscription to pause.

Example:

"sub_7Hn2Kq9Wx4Lm8Pz3Rt6Vb1Ys5JdCfEaG"

Body

application/json
reason
string

Why billing is paused. Recorded and sent as reason on the subscription.paused webhook.

Required string length: 1 - 500
Example:

"customer travelling"

Response

The subscription, with status: "paused", paused_at set and next_billing_at null.

A subscription as the merchant API returns it.

id
string
Example:

"sub_7Hn2Kq9Wx4Lm8Pz3Rt6Vb1Ys5JdCfEaG"

customer_id
string
Example:

"cus_3Lm8Pz3Rt6Vb1Ys5JdCfE7Hn2Kq9WxaG"

status
enum<string>

Derived from the billing dates each time you read it. incomplete until the first payment succeeds. active while billing runs, when the first payment went through while renewals were off for your account, and for a subscription canceled for the end of its paid period, until ends_at. past_due after a renewal failed, or while a declined renewal waits for its retry. paused while the merchant has paused billing: nothing renews until it is resumed. canceled once a canceled subscription's ends_at has passed.

Available options:
incomplete,
active,
past_due,
paused,
canceled
interval
enum<string>
Available options:
day,
week,
month,
year
interval_count
integer
Example:

1

line_items
object[]
line_items_total_amount_cents
integer
Example:

4200

current_period_end
string<date-time> | null

End of the period the customer has paid for.

next_billing_at
string<date-time> | null

When the next renewal is charged; while a declined renewal waits for its retry, when that retry is charged. Null while paused, canceled, or after a renewal failed.

canceled_at
string<date-time> | null
ends_at
string<date-time> | null

When a canceled subscription stops being active. Null unless canceled.

paused_at
string<date-time> | null

When the merchant paused billing. Null unless paused.

created_at
string<date-time>