Update
Authorizations
API key authentication
Path Parameters
Body
active, terminated Effective termination timestamp. Capped at the current effective time (future values are clamped). Must be strictly after the subscription's start date — values at or before startedAt are rejected with 400.
Identifier of entity that cancelled the subscription. Sample values: 'cust_abc123' for customer-initiated cancellation, 'org_xyz789' for merchant-initiated cancellation
Explanation for subscription cancellation. Sample values: 'Customer requested cancellation', 'Payment failure', 'Service migration', 'Contract expiration'
Enable or disable automatic charging of invoices using stored payment methods.
When true, forces tax rate to 0%.
Minimum wallet balance requirement in decimal dollars (e.g., '100.00'). Can be set to '0' to disable. Maximum allowed is $5,000. Contact support for higher limits. Note: If the calculated charge amount at renewal is below payment processor minimums (typically $1.00), it will be automatically adjusted upward to meet the minimum requirement. Changes apply at next renewal.
Override plan setting for renewal reminder emails. Set to true to enable, false to disable, or null to use plan default.
Override plan setting for number of days before renewal to send the reminder. Set to null to use plan default.
1 <= x <= 30Payment term in days ("Net X") applied to subsequently generated invoices: invoice dueAt = invoice issue date + paymentTermDays. A non-zero value is only valid alongside bankTransferOnly=true. Set 0 for "due on issue". Already-issued invoices keep their snapshotted dueAt.
0 <= x <= 365Response
Subscription updated
subscription The merchant organization that owns this subscription, equal to the customer's merchant.
^org_[a-zA-Z0-9]+$pending_payment, active, terminated Payment term in days ("Net X") snapshotted onto every invoice the subscription generates (invoice dueAt = invoice issue date + paymentTermDays). Defaults to 0 ("due on issue"); a non-zero value is only set on bankTransferOnly subscriptions.
0 <= x <= 365Whether automatic charging is enabled for this subscription. When true, invoices will be automatically paid using stored payment methods.
Projected tax percentage rate. Sample values: 8.875 indicates 8.875% tax rate, 10.0 indicates 10% tax rate, 0 indicates no tax applied
When true, tax rate is forced to 0%.
Payment session details when upfront payment is required, or confirmation of a zero-amount paid invoice
- Option 1
- Option 2
- Option 3
@deprecated Use minimumAccountBalance instead. Minimum required wallet balance in atomic units. Sample values: '200000000000' equals $200.00 minimum, '1000000000000' equals $1000.00 minimum
Minimum wallet balance requirement in nanodollars. Can be '0' to disable. The system calculates the difference between this minimum and the customer's current balance, charging only what's needed to reach the minimum. Note: If the calculated charge amount is below payment processor minimums (typically $1.00), the actual charged amount may be automatically adjusted upward to meet the minimum requirement. Sample values: '200000000000' equals $200.00 minimum, '1000000000000' equals $1000.00 minimum
ID of who terminated the subscription (customer ID or merchant ID)
Reason for termination
Test clock ID if this subscription is attached to a test clock. Only present in non-production environments.
Optional (virtual) wallet ID for the subscription
Whether renewal reminder emails are enabled for this subscription. Null means use plan default.
Number of days before renewal to send the reminder. Null means use plan default.
Subscription-level auto-approval override. Null means plan default is used.
Free-form merchant metadata to attach to the subscription. Values must be strings, numbers, or booleans.
Customer details with merchant and consumer information. Only included when include=customer is specified in the list query.