{
"id": "invoice_123456",
"status": "paid",
"total": 1990,
"method": "pix",
"event": "invoice.paid"
}| Field | Type | Description |
|---|---|---|
| id | string | The unique identifier of the invoice |
| status | string | The current status of the invoice (e.g., "paid", "pending", "failed") |
| total | integer | The total amount in cents |
| method | string | The payment method used (e.g., "credit_card", "bank_transfer") |
| Event | Description |
|---|---|
| invoice.created | Triggered when a new invoice is created |
| invoice.paid | Triggered when an invoice is paid successfully |
| invoice.failed | Triggered when a payment attempt fails |
| invoice.canceled | Triggered when an invoice is canceled |