Pause subscription
Subscriptions
Pause subscription
POST
Pause subscription
Authorizations
Use header Authorization: Token <api_token>.
API tokens are obtained from the Piriod dashboard.
Headers
Workspace (account) identifier. Required for every request.
Whether to operate against test-mode data. Defaults to false.
Path Parameters
Resource identifier.
Body
application/json
Response
200 - application/json
Paused subscription.
Customer ID.
Document type ID used to issue invoices.
Total cycles or null for indefinite.
Days until invoices generated by this subscription expire.
Available options:
send_invoice, charge_payment Default payment source ID. Required when collection_scheme=charge_payment.
Custom currency conversion factor for issued invoices.
Required range:
x >= 1Coupon ID applied at the subscription (invoice-level) scope.
Maximum string length:
100Available options:
active, paused, cancelled, finalized, needs_attention Maximum string length:
512Available options:
biller_issue, gateway_issue, reference_expired, without_usage_records, processing_issue, without_reference Available options:
custom, fraud_review_failed, insolvency, no_card, non_compliant_customer, not_paid, not_specified, shutdown_ops Available options:
not_specified, non_compliant_customer, custom 