curl --request POST \
--url https://nexus.ticto.com.br/api/v1/webhook-events/charge_reminder \
--header 'Content-Type: application/json' \
--data '
{
"event": "charge_reminder",
"endpoint": "https://api.meusite.com/webhook/nexus",
"payload": {
"subscription_code": "TS7QK4M2XJ9BVN5RLD3W",
"status": "active",
"next_charge": "2026-03-01 14:30:00",
"days_before_charge": 2,
"amount": 19700,
"payment_method": "credit_card",
"product_hash": "PRD_abc123",
"offer_code": "OFF_xyz789",
"buyer": {
"name": "Maria Santos",
"email": "maria@email.com"
},
"reminder_sent_at": "2026-02-27T10:00:00.000000Z"
},
"metadata": {
"origin": "nexus",
"request_id": "67be1a2f3c4d5",
"correlation_id": null
},
"created_at": "2026-02-27T10:00:00.000000Z",
"updated_at": "2026-02-27T10:00:00.000000Z"
}
'Webhooks: Assinaturas
charge_reminder
Disparado como lembrete antes de uma cobrança recorrente.
Quando ocorre:
- 2 dias antes do vencimento (D-2)
- No dia do vencimento (D+0)
Dados condicionais por método de pagamento:
credit_card/google_pay/apple_pay: apenas dados da assinatura (cobrança automática)bank_slip: incluibank_slip_code,bank_slip_urlebank_slip_due_datepix_recurring: incluipix_qr_code
POST
/
webhook-events
/
charge_reminder
curl --request POST \
--url https://nexus.ticto.com.br/api/v1/webhook-events/charge_reminder \
--header 'Content-Type: application/json' \
--data '
{
"event": "charge_reminder",
"endpoint": "https://api.meusite.com/webhook/nexus",
"payload": {
"subscription_code": "TS7QK4M2XJ9BVN5RLD3W",
"status": "active",
"next_charge": "2026-03-01 14:30:00",
"days_before_charge": 2,
"amount": 19700,
"payment_method": "credit_card",
"product_hash": "PRD_abc123",
"offer_code": "OFF_xyz789",
"buyer": {
"name": "Maria Santos",
"email": "maria@email.com"
},
"reminder_sent_at": "2026-02-27T10:00:00.000000Z"
},
"metadata": {
"origin": "nexus",
"request_id": "67be1a2f3c4d5",
"correlation_id": null
},
"created_at": "2026-02-27T10:00:00.000000Z",
"updated_at": "2026-02-27T10:00:00.000000Z"
}
'Body
application/json
Envelope padrão de todos os webhooks enviados pelo Nexus.
O campo payload varia conforme o evento.
Nome do evento disparado
Example:
"user_updated"
URL do webhook configurada pelo cliente
Example:
"https://api.meusite.com/webhook/nexus"
Payload do evento charge_reminder.
Disparado 2 dias antes e no dia do vencimento de uma assinatura.
Campos de pagamento são condicionais ao payment_method.
Show child attributes
Show child attributes
Metadados de rastreamento do webhook
Show child attributes
Show child attributes
Data de criação do webhook (ISO 8601)
Example:
"2026-02-25T10:00:00.000000Z"
Data de atualização do webhook (ISO 8601)
Example:
"2026-02-25T10:00:00.000000Z"
Response
200
Webhook recebido com sucesso