Pause e retome uma assinatura
Pause uma assinatura para parar o faturamento temporariamente sem cancelá-la. Retome o faturamento de um estado pausado ou suspenso com uma única chamada de API.
Pausar uma assinatura
POST /subscription/{id}/pause suspende o faturamento de uma assinatura ativa. Dispara o evento de webhook subscription.paused e move a assinatura para o status paused.
active, trialing ou past_due podem ser pausadas. Tentar pausar uma assinatura cancelled, completed ou já paused devolve um erro 400.Exemplo
Retomar uma assinatura
POST /subscription/{id}/resume restaura o faturamento de uma assinatura pausada ou suspensa, com um comportamento ligeiramente diferente conforme o status atual.
subscription.resumed. Se uma assinatura suspended for revivida por uma cobrança bem-sucedida, ele também dispara subscription.reactivated.
Erros
Exemplo
Autorizações
Your secret API key: Bearer prv_production_xxx (production) or Bearer prv_sandbox_xxx (sandbox).
Parâmetros de caminho
Corpo
Your merchant account identifier. Validated against the Bearer key's merchant.
Resposta
Subscription paused
A customer enrollment in a plan. plan is embedded on single-subscription responses. Invoice/event history is not included here - use the invoice endpoints.
Subscription UUID.
The merchant account that owns the subscription.
ID of the plan this subscription is enrolled in.
Subscriber email, used for billing and dunning notifications.
Subscriber name as it appears on invoices.
Subscriber national ID / tax document, where a market requires it (e.g. Brazil CPF/CNPJ).
Brand of the card on the mandate, e.g. visa.
pending - awaiting first charge; trialing - in a free trial; active - billing normally; past_due - a renewal failed and dunning is running; suspended - dunning exhausted, needs a new CIT (POST /subscription/{id}/payment-method in CIT mode) to recover; paused - billing stopped on request, resumable; cancelled - terminated; completed - reached maxBillingCycles.
pending, trialing, active, past_due, suspended, paused, cancelled, completed Start of the current billing period.
End of the current billing period.
When the next renewal charge is scheduled.
Trial start, when the plan has a trial.
Trial end - the first real charge date.
Failed-renewal retry attempts made in the current dunning sequence.
When the subscription first became active.
Deferred start, when creation set a future startAt.
Number of billing cycles charged so far.
When the subscription reached maxBillingCycles.
Parent subscription UUID, for add-on hierarchies.
Whether pause/cancel on the parent cascades to this subscription.
Plan the subscription will switch to at the next cycle, set by a next_billing change-plan.
A reusable billing plan. amount is a flat integer in the currency minor units (with separate currency + exponent) - not an Amount object.

