Cada evento chega no envelope descrito em Webhooks, com o objeto inteiro em data.object. Assine só os que você usa, no campo events ao criar o endereço.
Cobranças
charge.createddata.object: ChargeCobrança criada. Uma cobrança nasceu: pela API, pelo painel ou quando alguém abre um link, um checkout ou a loja e começa a pagar.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "charge.created",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "chg_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "charge",
"livemode": false,
"status": "open",
"amount": 15000,
"currency": "brl",
"description": "Pedido 4242",
"due_date": "2026-12-10",
"methods": [
"credit"
],
"customer": {
"id": "cus_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"name": "Maria Silva",
"email": "maria@exemplo.com.br",
"document": "***.982.247-**"
},
"terms": {
"late_fee_bps": 0,
"interest_monthly_bps": 0,
"discount": {
"amount": 15000,
"until": "2026-12-10"
},
"accept_after_due_days": 0
},
"card": {
"max_installments": 0,
"fee_payer": "merchant"
},
"payment_link": "lnk_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"payment_url": "https://pay.duopag.com/pay/Xk2...",
"split": {
"rule": "spr_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"fee_payer": "primary",
"liability": "primary",
"recipients": [
{
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"percent_bps": 0,
"amount": 0,
"label": "Pedido 4242"
}
]
},
"metadata": {
"pedido": "4242"
},
"paid_at": "2026-12-01T13:00:00.000Z",
"canceled_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}charge.canceleddata.object: ChargeCobrança cancelada. A cobrança foi cancelada enquanto estava aberta, pelo painel ou pela API.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "charge.canceled",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "chg_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "charge",
"livemode": false,
"status": "canceled",
"amount": 15000,
"currency": "brl",
"description": "Pedido 4242",
"due_date": "2026-12-10",
"methods": [
"credit"
],
"customer": {
"id": "cus_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"name": "Maria Silva",
"email": "maria@exemplo.com.br",
"document": "***.982.247-**"
},
"terms": {
"late_fee_bps": 0,
"interest_monthly_bps": 0,
"discount": {
"amount": 15000,
"until": "2026-12-10"
},
"accept_after_due_days": 0
},
"card": {
"max_installments": 0,
"fee_payer": "merchant"
},
"payment_link": "lnk_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"payment_url": "https://pay.duopag.com/pay/Xk2...",
"split": {
"rule": "spr_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"fee_payer": "primary",
"liability": "primary",
"recipients": [
{
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"percent_bps": 0,
"amount": 0,
"label": "Pedido 4242"
}
]
},
"metadata": {
"pedido": "4242"
},
"paid_at": "2026-12-01T13:00:00.000Z",
"canceled_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}Pagamentos
payment.paiddata.object: PaymentPagamento confirmado. O pagamento foi confirmado: Pix recebido, boleto compensado ou cartão aprovado. É o evento para liberar o pedido.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "payment.paid",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "pay_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "payment",
"livemode": false,
"charge": "chg_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"status": "paid",
"method": "credit",
"amount": 15000,
"refunded_amount": 0,
"currency": "brl",
"installments": 0,
"fee": 0,
"net_amount": 0,
"pix": {
"copy_paste": "texto",
"expires_at": "2026-12-01T13:00:00.000Z"
},
"boleto": {
"digitable_line": "texto",
"barcode": "PROMO10",
"due_date": "2026-12-10",
"url": "https://exemplo.com.br"
},
"card": {
"last4": "texto",
"decline_code": "PROMO10"
},
"split": {
"parties": [
{
"role": "texto",
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"amount": 0,
"liable": false
}
]
},
"paid_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}payment.refundeddata.object: PaymentPagamento estornado. O estorno total foi confirmado.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "payment.refunded",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "pay_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "payment",
"livemode": false,
"charge": "chg_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"status": "refunded",
"method": "credit",
"amount": 15000,
"refunded_amount": 0,
"currency": "brl",
"installments": 0,
"fee": 0,
"net_amount": 0,
"pix": {
"copy_paste": "texto",
"expires_at": "2026-12-01T13:00:00.000Z"
},
"boleto": {
"digitable_line": "texto",
"barcode": "PROMO10",
"due_date": "2026-12-10",
"url": "https://exemplo.com.br"
},
"card": {
"last4": "texto",
"decline_code": "PROMO10"
},
"split": {
"parties": [
{
"role": "texto",
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"amount": 0,
"liable": false
}
]
},
"paid_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}payment.partially_refundeddata.object: PaymentPagamento estornado em parte. Um estorno parcial foi confirmado. refunded_amount diz quanto já voltou.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "payment.partially_refunded",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "pay_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "payment",
"livemode": false,
"charge": "chg_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"status": "partially_refunded",
"method": "credit",
"amount": 15000,
"refunded_amount": 0,
"currency": "brl",
"installments": 0,
"fee": 0,
"net_amount": 0,
"pix": {
"copy_paste": "texto",
"expires_at": "2026-12-01T13:00:00.000Z"
},
"boleto": {
"digitable_line": "texto",
"barcode": "PROMO10",
"due_date": "2026-12-10",
"url": "https://exemplo.com.br"
},
"card": {
"last4": "texto",
"decline_code": "PROMO10"
},
"split": {
"parties": [
{
"role": "texto",
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"amount": 0,
"liable": false
}
]
},
"paid_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}payment.chargebackdata.object: PaymentContestação aberta. Quem pagou contestou a compra no banco. O valor fica retido até o resultado; veja Contestações.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "payment.chargeback",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "pay_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "payment",
"livemode": false,
"charge": "chg_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"status": "chargeback",
"method": "credit",
"amount": 15000,
"refunded_amount": 0,
"currency": "brl",
"installments": 0,
"fee": 0,
"net_amount": 0,
"pix": {
"copy_paste": "texto",
"expires_at": "2026-12-01T13:00:00.000Z"
},
"boleto": {
"digitable_line": "texto",
"barcode": "PROMO10",
"due_date": "2026-12-10",
"url": "https://exemplo.com.br"
},
"card": {
"last4": "texto",
"decline_code": "PROMO10"
},
"split": {
"parties": [
{
"role": "texto",
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"amount": 0,
"liable": false
}
]
},
"paid_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}payment.chargeback_wondata.object: PaymentContestação ganha. A contestação foi decidida a seu favor e o pagamento volta a valer.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "payment.chargeback_won",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "pay_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "payment",
"livemode": false,
"charge": "chg_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"status": "paid",
"method": "credit",
"amount": 15000,
"refunded_amount": 0,
"currency": "brl",
"installments": 0,
"fee": 0,
"net_amount": 0,
"pix": {
"copy_paste": "texto",
"expires_at": "2026-12-01T13:00:00.000Z"
},
"boleto": {
"digitable_line": "texto",
"barcode": "PROMO10",
"due_date": "2026-12-10",
"url": "https://exemplo.com.br"
},
"card": {
"last4": "texto",
"decline_code": "PROMO10"
},
"split": {
"parties": [
{
"role": "texto",
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"amount": 0,
"liable": false
}
]
},
"paid_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}Saques
withdrawal.requesteddata.object: WithdrawalSaque pedido. Um saque foi pedido. Acima do limite, ele nasce em análise (pending_approval).
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "withdrawal.requested",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "wdr_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "withdrawal",
"livemode": false,
"status": "processing",
"amount": 15000,
"fee": 0,
"free": false,
"currency": "brl",
"bank_account": {
"description": "Pedido 4242",
"holder_name": "Maria Silva",
"holder_document": "529.982.247-25"
},
"failure_reason": "Pedido 4242",
"review_note": "texto",
"requested_at": "2026-12-01T13:00:00.000Z",
"sent_at": "2026-12-01T13:00:00.000Z",
"paid_at": "2026-12-01T13:00:00.000Z",
"finished_at": "2026-12-01T13:00:00.000Z"
}
}
}withdrawal.paiddata.object: WithdrawalSaque pago. O dinheiro chegou na conta bancária do titular.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "withdrawal.paid",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "wdr_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "withdrawal",
"livemode": false,
"status": "paid",
"amount": 15000,
"fee": 0,
"free": false,
"currency": "brl",
"bank_account": {
"description": "Pedido 4242",
"holder_name": "Maria Silva",
"holder_document": "529.982.247-25"
},
"failure_reason": "Pedido 4242",
"review_note": "texto",
"requested_at": "2026-12-01T13:00:00.000Z",
"sent_at": "2026-12-01T13:00:00.000Z",
"paid_at": "2026-12-01T13:00:00.000Z",
"finished_at": "2026-12-01T13:00:00.000Z"
}
}
}withdrawal.faileddata.object: WithdrawalSaque com falha. O banco recusou a transferência. O valor e a tarifa voltam ao saldo.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "withdrawal.failed",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "wdr_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "withdrawal",
"livemode": false,
"status": "failed",
"amount": 15000,
"fee": 0,
"free": false,
"currency": "brl",
"bank_account": {
"description": "Pedido 4242",
"holder_name": "Maria Silva",
"holder_document": "529.982.247-25"
},
"failure_reason": "Pedido 4242",
"review_note": "texto",
"requested_at": "2026-12-01T13:00:00.000Z",
"sent_at": "2026-12-01T13:00:00.000Z",
"paid_at": "2026-12-01T13:00:00.000Z",
"finished_at": "2026-12-01T13:00:00.000Z"
}
}
}withdrawal.canceleddata.object: WithdrawalSaque cancelado. O saque foi cancelado enquanto estava em análise. O valor volta ao saldo.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "withdrawal.canceled",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "wdr_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "withdrawal",
"livemode": false,
"status": "canceled",
"amount": 15000,
"fee": 0,
"free": false,
"currency": "brl",
"bank_account": {
"description": "Pedido 4242",
"holder_name": "Maria Silva",
"holder_document": "529.982.247-25"
},
"failure_reason": "Pedido 4242",
"review_note": "texto",
"requested_at": "2026-12-01T13:00:00.000Z",
"sent_at": "2026-12-01T13:00:00.000Z",
"paid_at": "2026-12-01T13:00:00.000Z",
"finished_at": "2026-12-01T13:00:00.000Z"
}
}
}withdrawal.rejecteddata.object: WithdrawalSaque recusado. A equipe DuoPag recusou o saque na análise. O valor volta ao saldo.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "withdrawal.rejected",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "wdr_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "withdrawal",
"livemode": false,
"status": "rejected",
"amount": 15000,
"fee": 0,
"free": false,
"currency": "brl",
"bank_account": {
"description": "Pedido 4242",
"holder_name": "Maria Silva",
"holder_document": "529.982.247-25"
},
"failure_reason": "Pedido 4242",
"review_note": "texto",
"requested_at": "2026-12-01T13:00:00.000Z",
"sent_at": "2026-12-01T13:00:00.000Z",
"paid_at": "2026-12-01T13:00:00.000Z",
"finished_at": "2026-12-01T13:00:00.000Z"
}
}
}Assinaturas
subscription.activateddata.object: SubscriptionAssinatura ativada. Quem assina pôs o cartão e a assinatura começou (ou entrou no período grátis).
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "subscription.activated",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "sub_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "subscription",
"livemode": false,
"status": "active",
"plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"pending_plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"customer": {
"id": "cus_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"name": "Maria Silva",
"email": "maria@exemplo.com.br"
},
"name": "Maria Silva",
"description": "Pedido 4242",
"amount": 15000,
"currency": "brl",
"interval": "weekly",
"trial_days": 0,
"intro_discount_bps": 0,
"intro_cycles": 0,
"end_after_cycles": 0,
"cycles_paid": 0,
"next_billing_date": "2026-12-10",
"retry_on": "2026-12-10",
"card": {
"brand": "texto",
"last4": "texto"
},
"card_url": "https://exemplo.com.br",
"cancel_reason": "Pedido 4242",
"started_at": "2026-12-01T13:00:00.000Z",
"paused_at": "2026-12-01T13:00:00.000Z",
"suspended_at": "2026-12-01T13:00:00.000Z",
"canceled_at": "2026-12-01T13:00:00.000Z",
"ended_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}subscription.reneweddata.object: SubscriptionAssinatura renovada (ciclo pago). O ciclo foi cobrado no cartão salvo.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "subscription.renewed",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "sub_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "subscription",
"livemode": false,
"status": "active",
"plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"pending_plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"customer": {
"id": "cus_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"name": "Maria Silva",
"email": "maria@exemplo.com.br"
},
"name": "Maria Silva",
"description": "Pedido 4242",
"amount": 15000,
"currency": "brl",
"interval": "weekly",
"trial_days": 0,
"intro_discount_bps": 0,
"intro_cycles": 0,
"end_after_cycles": 0,
"cycles_paid": 0,
"next_billing_date": "2026-12-10",
"retry_on": "2026-12-10",
"card": {
"brand": "texto",
"last4": "texto"
},
"card_url": "https://exemplo.com.br",
"cancel_reason": "Pedido 4242",
"started_at": "2026-12-01T13:00:00.000Z",
"paused_at": "2026-12-01T13:00:00.000Z",
"suspended_at": "2026-12-01T13:00:00.000Z",
"canceled_at": "2026-12-01T13:00:00.000Z",
"ended_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}subscription.past_duedata.object: SubscriptionAssinatura em atraso. A cobrança do ciclo foi recusada. O DuoPag tenta de novo; retry_on traz a próxima tentativa.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "subscription.past_due",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "sub_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "subscription",
"livemode": false,
"status": "past_due",
"plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"pending_plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"customer": {
"id": "cus_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"name": "Maria Silva",
"email": "maria@exemplo.com.br"
},
"name": "Maria Silva",
"description": "Pedido 4242",
"amount": 15000,
"currency": "brl",
"interval": "weekly",
"trial_days": 0,
"intro_discount_bps": 0,
"intro_cycles": 0,
"end_after_cycles": 0,
"cycles_paid": 0,
"next_billing_date": "2026-12-10",
"retry_on": "2026-12-10",
"card": {
"brand": "texto",
"last4": "texto"
},
"card_url": "https://exemplo.com.br",
"cancel_reason": "Pedido 4242",
"started_at": "2026-12-01T13:00:00.000Z",
"paused_at": "2026-12-01T13:00:00.000Z",
"suspended_at": "2026-12-01T13:00:00.000Z",
"canceled_at": "2026-12-01T13:00:00.000Z",
"ended_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}subscription.recovereddata.object: SubscriptionAssinatura em dia de novo. Uma nova tentativa passou e a assinatura voltou a ficar em dia.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "subscription.recovered",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "sub_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "subscription",
"livemode": false,
"status": "active",
"plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"pending_plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"customer": {
"id": "cus_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"name": "Maria Silva",
"email": "maria@exemplo.com.br"
},
"name": "Maria Silva",
"description": "Pedido 4242",
"amount": 15000,
"currency": "brl",
"interval": "weekly",
"trial_days": 0,
"intro_discount_bps": 0,
"intro_cycles": 0,
"end_after_cycles": 0,
"cycles_paid": 0,
"next_billing_date": "2026-12-10",
"retry_on": "2026-12-10",
"card": {
"brand": "texto",
"last4": "texto"
},
"card_url": "https://exemplo.com.br",
"cancel_reason": "Pedido 4242",
"started_at": "2026-12-01T13:00:00.000Z",
"paused_at": "2026-12-01T13:00:00.000Z",
"suspended_at": "2026-12-01T13:00:00.000Z",
"canceled_at": "2026-12-01T13:00:00.000Z",
"ended_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}subscription.suspendeddata.object: SubscriptionAssinatura suspensa. Acabaram as tentativas sem sucesso e a assinatura foi suspensa.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "subscription.suspended",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "sub_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "subscription",
"livemode": false,
"status": "suspended",
"plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"pending_plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"customer": {
"id": "cus_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"name": "Maria Silva",
"email": "maria@exemplo.com.br"
},
"name": "Maria Silva",
"description": "Pedido 4242",
"amount": 15000,
"currency": "brl",
"interval": "weekly",
"trial_days": 0,
"intro_discount_bps": 0,
"intro_cycles": 0,
"end_after_cycles": 0,
"cycles_paid": 0,
"next_billing_date": "2026-12-10",
"retry_on": "2026-12-10",
"card": {
"brand": "texto",
"last4": "texto"
},
"card_url": "https://exemplo.com.br",
"cancel_reason": "Pedido 4242",
"started_at": "2026-12-01T13:00:00.000Z",
"paused_at": "2026-12-01T13:00:00.000Z",
"suspended_at": "2026-12-01T13:00:00.000Z",
"canceled_at": "2026-12-01T13:00:00.000Z",
"ended_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}subscription.canceleddata.object: SubscriptionAssinatura cancelada. A assinatura foi cancelada.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "subscription.canceled",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "sub_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "subscription",
"livemode": false,
"status": "canceled",
"plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"pending_plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"customer": {
"id": "cus_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"name": "Maria Silva",
"email": "maria@exemplo.com.br"
},
"name": "Maria Silva",
"description": "Pedido 4242",
"amount": 15000,
"currency": "brl",
"interval": "weekly",
"trial_days": 0,
"intro_discount_bps": 0,
"intro_cycles": 0,
"end_after_cycles": 0,
"cycles_paid": 0,
"next_billing_date": "2026-12-10",
"retry_on": "2026-12-10",
"card": {
"brand": "texto",
"last4": "texto"
},
"card_url": "https://exemplo.com.br",
"cancel_reason": "Pedido 4242",
"started_at": "2026-12-01T13:00:00.000Z",
"paused_at": "2026-12-01T13:00:00.000Z",
"suspended_at": "2026-12-01T13:00:00.000Z",
"canceled_at": "2026-12-01T13:00:00.000Z",
"ended_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}subscription.endeddata.object: SubscriptionAssinatura encerrada (último ciclo). O último ciclo combinado foi pago e a assinatura terminou.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "subscription.ended",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "sub_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "subscription",
"livemode": false,
"status": "ended",
"plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"pending_plan": "pln_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"customer": {
"id": "cus_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"name": "Maria Silva",
"email": "maria@exemplo.com.br"
},
"name": "Maria Silva",
"description": "Pedido 4242",
"amount": 15000,
"currency": "brl",
"interval": "weekly",
"trial_days": 0,
"intro_discount_bps": 0,
"intro_cycles": 0,
"end_after_cycles": 0,
"cycles_paid": 0,
"next_billing_date": "2026-12-10",
"retry_on": "2026-12-10",
"card": {
"brand": "texto",
"last4": "texto"
},
"card_url": "https://exemplo.com.br",
"cancel_reason": "Pedido 4242",
"started_at": "2026-12-01T13:00:00.000Z",
"paused_at": "2026-12-01T13:00:00.000Z",
"suspended_at": "2026-12-01T13:00:00.000Z",
"canceled_at": "2026-12-01T13:00:00.000Z",
"ended_at": "2026-12-01T13:00:00.000Z",
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}Contas
account.updateddata.object: AccountCadastro da conta mudou (aprovado, identidade, recusa). O cadastro da conta mudou: aprovado, identidade validada, recusado ou suspenso. Plataformas recebem também o das subcontas.
Ver o corpo de exemploEsconder o exemplo
{
"id": "evt_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "event",
"type": "account.updated",
"livemode": false,
"account": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"created_at": "2026-12-01T13:00:00.000Z",
"data": {
"object": {
"id": "acc_3f2a9c1e7b4d4e8f9a0b1c2d3e4f5a6b",
"object": "account",
"livemode": false,
"kind": "pf",
"legal_name": "Maria Silva",
"trade_name": "Estúdio Silva",
"handle": "estudio-silva",
"document": "11.222.333/0001-81",
"status": "active",
"platform": false,
"onboarding": {
"stage": "texto",
"requirements": [
"identity_verification"
],
"reason": "Pedido 4242",
"can_sell": false,
"can_withdraw": false
},
"bank_account": {
"description": "Itaú Unibanco · Ag. 0001 · Conta corrente •••456-7"
},
"created_at": "2026-12-01T13:00:00.000Z"
}
}
}