v1

latestOpenAPI 3.0.02026-07-26168846732.2 KB
Subscriptions

Subscription - Resume Subscription

Resume the subscription

post/subscriptions/{subscription_id}/resume

Path parameters

subscription_idstring required

The unique identifier for the subscription

Headers

X-Profile-Idstring required

Profile ID for authentication

Request body

resume_option'immediately' | 'specific_date'
resume_datestring nullable

Optional date when the subscription should be resumed (if not provided, resumes immediately)

charges_handling'invoice_immediately' | 'add_to_unbilled_charges'
unpaid_invoices_handling'no_action' | 'schedule_payment_collection'

Response

Subscription resumed successfully

idstring required

A type for subscription_id that can be used for subscription ids

status'active' | 'created' | 'in_active' | 'pending' | 'trial' | 'paused' | 'unpaid' | 'onetime' | 'cancelled' | 'failed' required

Possible states of a subscription lifecycle.

  • Created: Subscription was created but not yet activated.
  • Active: Subscription is currently active.
  • InActive: Subscription is inactive.
  • Pending: Subscription is pending activation.
  • Trial: Subscription is in a trial period.
  • Paused: Subscription is paused.
  • Unpaid: Subscription is unpaid.
  • Onetime: Subscription is a one-time payment.
  • Cancelled: Subscription has been cancelled.
  • Failed: Subscription has failed.
merchant_reference_idstring nullable

Merchant specific Unique identifier.

profile_idstring required

A type for profile_id that can be used for business profile ids

merchant_idstring required

A type for merchant_id that can be used for merchant ids

customer_idstring required

A type for customer_id that can be used for customer ids

next_billing_atstring nullable

Date when the subscription was resumed