Event catalog
The event types Vipter sends by webhook, when each one fires and what comes in data.object, in both catalogs (the 23 original names and the 21 Stripe-style ones, with checkout sessions, subscription charges and metered usage), with full examples.
Every event arrives in the same envelope. The type is in type and in the Vipter-Event-Type header, and the object is in data.object. There are two catalogs, and each endpoint receives one of them, according to the version chosen when it was created: the original catalog (2026-09-01), described next, and the 2026-11-01 catalog, with Stripe's names and the checkout session events.
In the original catalog, each type belongs to a family, and the family defines the shape of the object:
| Family | Types | data.object.object |
|---|---|---|
| Orders | order.* (8) | "order" |
| Subscriptions | subscription.* (11) | "subscription" |
| Customers | customer.* (2) | "customer" |
| Abandoned checkout | checkout.* (2) | "checkout_abandonment" |
Rules that apply to every family:
- Every field listed in the tables is always present in the object. When there is no value, the field comes as
null, never missing. The test event carries one extra field,test. - Money amounts come in cents, as an integer:
19700is R$ 197.00. The currency is in thecurrencyfield of the same object. - Dates inside
data.objectare ISO 8601 strings. The envelope'screateduses another format: Unix seconds. - The IDs in the examples are fictitious. Treat every ID as an opaque string and don't depend on its prefix or length.
- An endpoint receives only the types ticked on it. With none ticked, it receives every type of its catalog, including types created in the future. Answer 2xx to ignore the types your system doesn't use.
Orders
| Event | When it is sent |
|---|---|
order.paid | An order's payment was approved: a checkout purchase (an approved card or a paid PIX, Brazil's instant payment), a subscription renewal, a one-click upsell, a saved-card sale made from the dashboard, an extra charge on a subscription, or an order marked as paid by the team. |
order.failed | An order's charge was declined. It goes out once per order: further declines on the same order don't generate another event. |
order.refunded | The order was fully refunded, from the dashboard, by the provider, or marked as refunded by the team. |
order.partially_refunded | Part of the order was refunded. It can arrive more than once for the same order, one for each partial refund. |
order.charged_back | The buyer disputed the purchase with their card's bank (chargeback). |
order.composed | The team said which catalog products a quick link order bought. It goes out on every saved composition, including when someone redoes one. See Compose a quick link order. |
order.shipped | A paid order with delivery was marked as shipped: by the team, on the order page, or by a shipping or ERP integration. A new shipment of the same order, with another tracking code, generates another event. See Mark shipping and delivery. |
order.delivered | The shipped order was marked as delivered. It goes out once per shipment. |
Details the code guarantees:
- Renewals arrive as
order.paidwithrecurrence: "subsequent"andsubscription_idfilled in, in addition to the subscription'ssubscription.renewed. - Manual status. When someone on the team marks the order as paid or refunded, the event goes out with
status_source: "manual". After that, changes the provider reports about that order don't generate events. See manual status. - The object's status is the current one. An order that Vipter only learns about later, through the periodic sync, can generate
order.paidalready with anotherstatus, such asrefunded. Readstatusinstead of inferring it from the event type. - Quick links. An order paid through a quick link comes with
quick_linkfilled in. Until the team says which products the amount paid for,itemshas a single line, withkind: "quick_link",product_idandoffer_idnull and the link's name inproduct_name, andcomposition_statusispending. When the team composes the order,order.composedgoes out with the new lines (kind: "composed") andcomposition_status: "composed". If the link already named the products, the order is born composed and there is noorder.composed. - Shipping and delivery.
order.shippedandorder.deliveredonly exist for paid orders that asked for a delivery address. When an integration reports the delivery of an order that was not marked as shipped yet,order.shippedgoes out first and thenorder.delivered. Moving the order back to "to ship" generates no event. Repeating the same status, with the same tracking code, doesn't either. - The order doesn't include UTMs, campaign source or seller. That data stays in the dashboard.
The order object
| Field | Type | Content |
|---|---|---|
object | string | Always "order". |
id | string | Order ID. |
customer_id | string or null | Customer ID. |
customer_email | string or null | Buyer's e-mail. |
subscription_id | string or null | Subscription that generated the order, on renewals and extra charges. |
status | string | pending, pre_authorized, authorized, failed, canceled, refund_pending, partially_refunded, refunded or charged_back. See order statuses. |
total_amount | integer | Total charged, in cents. |
currency | string | ISO 4217 code, such as BRL. |
refunded_amount | integer or null | Total already refunded, in cents. |
order_type | string or null | checkout, renewal, api, trial_setup or card_setup. |
recurrence | string or null | none (one-time purchase), initial (first charge of a subscription), subsequent (renewal) or unscheduled. |
offer_id | string or null | Offer of the first item. |
payment_method | string or null | credit_card, debit_card, pix, boleto (Brazilian bank payment slip) or wallet. |
provider_slug | string or null | Provider that processed the payment, such as pagarme. |
paid_at | date or null | When the payment was approved. |
items | list | The order items. See below. |
external_order_id | string or null | External reference for the order, when there is one. |
status_source | string | manual when the team set the status in the dashboard, provider in all other cases. |
quick_link | object or null | The quick link that sold the order: id, code (the code or alias of the /l/ address) and title. null on other orders. |
composition_status | string or null | Quick link orders only: pending while the team has not said which products the amount paid for, composed after the composition, or from payment when the link already named the products. null on other orders. |
affiliate | object or null | id, code and source of who brought the sale in the affiliate program; null when there is none. |
created_at, updated_at | date or null | Creation and last change of the order. |
downloads | list | Only on order.paid that is not a renewal, and on order.composed when the composition released products with files. The buyer's download links. On order.paid, an empty list when the order has no product with files. |
Each entry in items has these fields. Treat any extra fields as optional:
| Field | Type | Content |
|---|---|---|
offer_id, offer_name | string or null | Offer sold. |
product_id, product_name | string or null | The offer's product. |
billing_cycle | string or null | The offer's cycle. none for a one-time sale. |
quantity | integer | Units. In a pack of 3, it is 3. |
unit_amount, total_amount | integer | Unit price and line total, in cents. |
currency | string | Currency of the line. |
installments | integer or null | Number of installments. |
role | string | When present: main for the main product, bump for an order bump. An item without role is the main product. |
pack_label | string | When present: the name of the pack sold. |
bump_id | string | When present: the order bump that generated the line. |
kind | string | Quick link orders only: quick_link on the provisional line, composed on a composed line. |
quick_link_id | string | Quick link orders only: the line's link. |
list_unit_amount | integer | When present, on a composed line: the catalog price per unit, in cents. unit_amount is the negotiated price. |
Each entry in downloads has product_id, product_name, expires_at (date or null) and files, a list of { "name", "url" }. The links open on the store's checkout domain and stop working after a refund or chargeback. See digital delivery.
order.shipped and order.delivered also carry the shipment: fulfillment_status (shipped or delivered), shipped_at and delivered_at (dates or null), carrier, tracking_code and tracking_url (text or null) and fulfillment_source, who reported it: team (the team, in the dashboard), carrier (a shipping integration) or erp (a connected ERP).
order.composed also carries composition, with id (the saved composition), source (manual), deliveries_released (boolean: whether the team released the deliveries) and released_product_ids (list of the products delivered in that composition).
Example: order.paid
{
"id": "evt_3f9a1c7e5b2d4f6a8c0e1b3d",
"object": "event",
"type": "order.paid",
"created": 1790604191,
"livemode": true,
"api_version": "2026-09-01",
"data": {
"object": {
"object": "order",
"id": "ord_5c1e8a2b9d4f4e7a8b3c6d1e2f7a9b0c",
"customer_id": "cus_8b2d4f6a1c3e5a7b9d0f2e4c",
"customer_email": "ana.souza@example.com",
"subscription_id": null,
"status": "authorized",
"total_amount": 19700,
"currency": "BRL",
"refunded_amount": null,
"order_type": "checkout",
"recurrence": "none",
"offer_id": "ofr_a3454b7c008d455fbc5c3fc436c1879d",
"payment_method": "credit_card",
"provider_slug": "pagarme",
"paid_at": "2026-09-28T14:03:09.000Z",
"items": [
{
"offer_id": "ofr_a3454b7c008d455fbc5c3fc436c1879d",
"offer_name": "Acesso vitalício",
"product_id": "prd_5df6381e9a0b4c2d8e7f6a5b4c3d2e1f",
"product_name": "Curso de Fotografia",
"billing_cycle": "none",
"quantity": 1,
"unit_amount": 19700,
"total_amount": 19700,
"currency": "BRL",
"installments": 1
}
],
"external_order_id": null,
"status_source": "provider",
"quick_link": null,
"composition_status": null,
"created_at": "2026-09-28T14:02:51.000Z",
"updated_at": "2026-09-28T14:03:09.000Z",
"downloads": [
{
"product_id": "prd_5df6381e9a0b4c2d8e7f6a5b4c3d2e1f",
"product_name": "Curso de Fotografia",
"expires_at": null,
"files": [
{
"name": "Apostila.pdf",
"url": "https://pay.vipter.com/d/EXEMPLO-TOKEN/0b7e2c4a-9d1f-4e3b-8a6c-5f2d1e0c9b8a"
}
]
}
]
}
}
}Example: order.shipped
{
"id": "evt_6b8d0f2a4c6e8a0c2e4b6d8f",
"object": "event",
"type": "order.shipped",
"created": 1790780412,
"livemode": true,
"api_version": "2026-09-01",
"data": {
"object": {
"object": "order",
"id": "ord_9a7c5e3b1d2f4a6c8e0b2d4f6a8c0e1b",
"customer_id": "cus_2d4f6a8c0e1b3d5f7a9c1e3b",
"customer_email": "carla.mendes@example.com",
"subscription_id": null,
"status": "authorized",
"total_amount": 24900,
"currency": "BRL",
"refunded_amount": null,
"order_type": "checkout",
"recurrence": "none",
"offer_id": "ofr_7b8c9d0e1f2a4b3c8d7e6f5a4b3c2d1e",
"payment_method": "credit_card",
"provider_slug": "pagarme",
"paid_at": "2026-09-28T13:55:02.000Z",
"items": [
{
"offer_id": "ofr_7b8c9d0e1f2a4b3c8d7e6f5a4b3c2d1e",
"offer_name": "Kit 3 unidades",
"product_id": "prd_9f8e7d6c5b4a4f3e8d2c1b0a9f8e7d6c",
"product_name": "Chá Detox",
"billing_cycle": "none",
"quantity": 3,
"unit_amount": 8300,
"total_amount": 24900,
"currency": "BRL",
"installments": 1,
"pack_label": "Kit com 3"
}
],
"external_order_id": null,
"status_source": "provider",
"quick_link": null,
"composition_status": null,
"created_at": "2026-09-28T13:54:40.000Z",
"updated_at": "2026-09-28T13:55:02.000Z",
"fulfillment_status": "shipped",
"shipped_at": "2026-09-29T15:20:11.000Z",
"delivered_at": null,
"carrier": "Correios",
"tracking_code": "AA123456789BR",
"tracking_url": "https://rastreio.example.com/AA123456789BR",
"fulfillment_source": "team"
}
}
}Subscriptions
| Event | When it is sent |
|---|---|
subscription.created | A subscription was created, usually by the purchase of a recurring offer at checkout. |
subscription.renewed | The subscription was renewed. The renewal charge arrives separately, as order.paid. |
subscription.dunning | The renewal charge failed and the subscription went into dunning (status: "dunning"). |
subscription.reactivated | The subscription became active again: it left dunning, or it was reactivated by the team or by the subscriber. |
subscription.upgraded | The subscriber changed plans, to an amount greater than or equal to the previous one. |
subscription.downgraded | The subscriber changed plans, to an amount lower than the previous one. |
subscription.payment_method_changed | The card used for the subscription's charges was changed. |
subscription.paused | The subscription was paused. |
subscription.resumed | The paused subscription became active again. |
subscription.cancelled | The subscription was cancelled. |
subscription.expired | The subscription ended (status: "expired"). |
Details the code guarantees:
- Changes made by the team in the dashboard (cancel, pause, resume, reactivate, change plan) and by the subscriber in the customer portal (cancel, reactivate, change plan) generate the event right away. The provider's notice about the same change can generate another event of the same type, with another
id. See idempotency. - Scheduling the cancellation for the end of the period doesn't generate an event when it is scheduled. The object gets
cancel_at_period_end: true, which shows up in the subscription's next event. - On plan changes from the dashboard and the customer portal, Vipter compares
current_amountbefore and after: greater or equal becomessubscription.upgraded, lower becomessubscription.downgraded.
The subscription object
| Field | Type | Content |
|---|---|---|
object | string | Always "subscription". |
id | string | Subscription ID. |
customer_id, customer_email, customer_name | string or null | The subscriber. |
status | string | trialing, active, dunning, paused, cancelled or expired. |
current_offer_id, offer_name | string or null | Current plan. It changes on a plan change. |
product_id, product_name | string or null | The plan's product. |
billing_cycle | string or null | daily, biweekly, monthly, quarterly, half_yearly, yearly or custom. |
currency | string or null | Currency of the charges. |
current_amount | integer or null | Amount of each charge, in cents. |
current_period_start, current_period_end | date or null | Current paid period. |
next_billing_at | date or null | Next charge. |
trial_start, trial_end | date or null | Free trial period, when there was one. |
cycles_completed | integer or null | Cycles already charged. |
cycle_limit | integer or null | Maximum number of cycles, or null if there is no limit. |
cancel_at_period_end | boolean or null | true when the cancellation is scheduled for the end of the period. |
cancelled_at | date or null | When the subscription was cancelled. |
cancellation_reason | string or null | Reason given at cancellation, as free text. In a cancellation from the dashboard, it is the reason code followed by the comment, such as too_expensive — found it expensive. In a cancellation from the customer portal, it is the reason's name in the buyer's language, followed by the comment. |
payment_instrument_id | string or null | ID of the saved card used for the charges. |
created_at, updated_at | date or null | Creation and last change of the subscription. |
Example: subscription.renewed
{
"id": "evt_7d0b2e4f6a8c1e3b5d7f9a0c",
"object": "event",
"type": "subscription.renewed",
"created": 1790611502,
"livemode": true,
"api_version": "2026-09-01",
"data": {
"object": {
"object": "subscription",
"id": "sub_23e6db9f0a1b4c5d8e7f6a5b4c3d2e1f",
"customer_id": "cus_8b2d4f6a1c3e5a7b9d0f2e4c",
"customer_email": "ana.souza@example.com",
"customer_name": "Ana Souza",
"status": "active",
"current_offer_id": "ofr_0c9b8a7f6e5d4c3b2a1f0e9d8c7b6a5f",
"offer_name": "Plano mensal",
"product_id": "prd_1a2b3c4d5e6f4a7b8c9d0e1f2a3b4c5d",
"product_name": "Clube de Receitas",
"billing_cycle": "monthly",
"currency": "BRL",
"current_amount": 4990,
"current_period_start": "2026-09-28T16:05:00.000Z",
"current_period_end": "2026-10-28T16:05:00.000Z",
"next_billing_at": "2026-10-28T16:05:00.000Z",
"trial_start": null,
"trial_end": null,
"cycles_completed": 4,
"cycle_limit": null,
"cancel_at_period_end": false,
"cancelled_at": null,
"cancellation_reason": null,
"payment_instrument_id": "pi_4e6a8c0b2d4f6a8c0e2b4d6f",
"created_at": "2026-05-28T16:05:00.000Z",
"updated_at": "2026-09-28T16:05:02.000Z"
}
}
}Customers
| Event | When it is sent |
|---|---|
customer.created | Vipter registered a new customer: added by the team in the dashboard, or seen for the first time in a subscription or in the periodic sync with the provider. |
customer.updated | Someone on the team edited the customer in the dashboard. Each time the form is saved, an event goes out. |
Don't rely on customer.created to learn about every new buyer: it doesn't go out on every purchase path. To react to a purchase, use order.paid, which includes customer_id and customer_email. Changes the buyer makes in the customer portal, such as name and phone, don't generate customer.updated.
The customer object
| Field | Type | Content |
|---|---|---|
object | string | Always "customer". |
id | string | Customer ID. |
email | string | E-mail. |
name | string or null | Name. |
phone | string or null | Phone, such as +5511987654321. |
document_type | string or null | cpf, cnpj, passport or tax_id. CPF and CNPJ are the Brazilian individual and company taxpayer IDs. The document number doesn't come in the event. |
metadata | object or null | Customer metadata. |
created_at, updated_at | date or null | Creation and last change. |
Example: customer.created
{
"id": "evt_1c3e5a7b9d0f2e4c6a8b0d2f",
"object": "event",
"type": "customer.created",
"created": 1790604190,
"livemode": true,
"api_version": "2026-09-01",
"data": {
"object": {
"object": "customer",
"id": "cus_8b2d4f6a1c3e5a7b9d0f2e4c",
"email": "ana.souza@example.com",
"name": "Ana Souza",
"phone": "+5511987654321",
"document_type": "cpf",
"metadata": null,
"created_at": "2026-09-28T14:02:50.000Z",
"updated_at": "2026-09-28T14:02:50.000Z"
}
}
}The test event
The Send test event button on an endpoint's card, and the POST /v1/webhook_endpoints/{id}/test call, create a customer.created with a fictitious customer and deliver it to that endpoint only, in its catalog. The object has the normal fields of a customer of the version plus "test": true; the envelope comes with livemode: false.
In the original catalog:
{
"object": "customer",
"id": "cust_test",
"email": "test@example.com",
"name": "Test Customer",
"phone": null,
"document_type": null,
"metadata": {},
"test": true,
"created_at": "2026-09-28T14:10:00.000Z",
"updated_at": "2026-09-28T14:10:00.000Z"
}In the 2026-11-01 catalog, the API's customer object:
{
"id": "cust_test",
"object": "customer",
"email": "test@example.com",
"name": "Test Customer",
"phone": null,
"document": null,
"address": null,
"country": null,
"locale": null,
"metadata": { "test": "true" },
"livemode": false,
"created": 1790604600,
"test": true
}Discard events with data.object.test === true before storing anything. Each test creates a new event, with another id, which does not appear in GET /v1/events. See Retries, disabling and resending.
Abandoned checkout
| Event | When it is sent |
|---|---|
checkout.abandoned | The buyer filled in their e-mail at checkout, did not try to pay and went idle. The record is created after 15 minutes of inactivity, and the event goes out 60 minutes after the record, if they didn't buy in the meantime. The check runs every 10 minutes, so the actual time varies. It goes out once per record. |
checkout.recovered | An abandoned checkout whose checkout.abandoned had already gone out ended in a paid purchase by the same buyer for the same product, up to 7 days after the abandonment. |
A declined card and a PIX generated but not paid don't count as abandonment. Several visits by the same buyer to the same product become a single record, with session_count greater than 1. The full rules are in Abandoned checkout recovery.
The checkout_abandonment object
| Field | Type | Content |
|---|---|---|
object | string | Always "checkout_abandonment". |
id | string | ID of the abandonment record. It is the same in both events. |
customer | object | id (null if the buyer is not a customer yet), email, name, phone and country. |
offer_id, offer_name | string or null | Offer of the checkout. |
product_id, product_name | string or null | The offer's product. |
quantity | integer | Units: the pack size, or 1. |
pack_label | string or null | Name of the pack, when the link was for a pack. |
amount | integer or null | Amount of the product the buyer saw, with the pack price, before coupons and shipping. In cents. |
currency | string or null | Currency of the checkout. |
locale | string or null | Language the checkout was in, such as pt. |
utm | object or null | The utm_source, utm_medium, utm_campaign, utm_content, utm_term and utm_id parameters that came with the buyer. |
referrer | string or null | Page the buyer came from. |
checkout_session_id | string | Most recent checkout session. |
session_count | integer | How many visits were merged into this record. |
recovery_url | string | Link that reopens the checkout with the buyer's details filled in. See recovery link. |
first_seen_at | date | Start of the first visit. |
abandoned_at | date | When the abandonment was recorded. |
checkout.recovered has the same object plus four fields:
| Field | Type | Content |
|---|---|---|
resolution | string | Always "recovered". |
order_id | string | The paid order that closed the abandonment. |
resolved_at | date | When the abandonment was closed. |
recovered_by_link | boolean | true if the buyer opened the recovery_url before buying. |
Example: checkout.abandoned
{
"id": "evt_9e1a3c5e7b9d0f2a4c6e8b0d",
"object": "event",
"type": "checkout.abandoned",
"created": 1790609400,
"livemode": true,
"api_version": "2026-09-01",
"data": {
"object": {
"object": "checkout_abandonment",
"id": "6f1d2c3b-4a5e-4f6a-9b8c-7d6e5f4a3b2c",
"customer": {
"id": null,
"email": "bruno.lima@example.com",
"name": "Bruno Lima",
"phone": "+5521998765432",
"country": "BR"
},
"offer_id": "ofr_7b8c9d0e1f2a4b3c8d7e6f5a4b3c2d1e",
"offer_name": "Kit 3 unidades",
"product_id": "prd_9f8e7d6c5b4a4f3e8d2c1b0a9f8e7d6c",
"product_name": "Chá Detox",
"quantity": 3,
"pack_label": "Kit com 3",
"amount": 24900,
"currency": "BRL",
"locale": "pt",
"utm": {
"utm_source": "instagram",
"utm_medium": "stories",
"utm_campaign": "black-friday"
},
"referrer": "https://l.instagram.com/",
"checkout_session_id": "cs_2b4d6f8a0c2e4a6b8d0f2a4c",
"session_count": 2,
"recovery_url": "https://pay.vipter.com/kit-cha?pack=3&rec=EXEMPLO-TOKEN",
"first_seen_at": "2026-09-28T13:12:40.000Z",
"abandoned_at": "2026-09-28T13:40:05.000Z"
}
}
}Affiliates
For stores with the affiliate program. The names are the same in both catalogs (2026-09-01 and 2026-11-01), and the object is the API's: affiliate on affiliate.* and commission on commission.*, described in the API reference. Amounts are in cents and dates in Unix seconds.
| Event | When it is sent |
|---|---|
affiliate.applied | Someone asked to join the program and waits for the store's answer. Sent again when a person who was refused or removed asks once more. |
affiliate.approved | The participation became active: the store approved it, or the person joined by invitation or automatic entry. Unblocking an affiliate is not an approval and sends no event. |
commission.created | An affiliate's order was paid. Sent once per commission. Before that the commission is only a provision and sends no event. |
commission.released | The release period has passed and the commission is owed for the first time. Sent once per commission. |
commission.paid | The store recorded the payment of the commission. |
commission.reversed | A refund, a chargeback or the cancellation of the order took the commission back, in full or in part. amount_reversed says how much. |
commission.reinstated | What had been reversed counts again (dispute won), or the store restored a commission it had cancelled. The status field says whether it is waiting for the release period again (pending) or already owed (released). |
commission.cancelled | The store cancelled the commission. cancellation_reason has the reason. |
Details the code guarantees:
- Commission events are sent within 5 minutes of the fact, in the order they happened. An order paid after the release period sends
commission.createdand thencommission.released. - Store the state, do not add up amounts. Every event carries the whole commission (
status,amount,amount_reversed). Update your record from those fields instead of adding onreleasedand subtracting onreversed: a commission can be reversed before it is owed, and a dispute won gives back what the chargeback took. The amount owed isamount - amount_reversedwhenstatusisreleased. - After a reversal,
commission.reinstatedis what says the commission counts again.commission.releasedis not repeated: if the commission had already been released before the reversal,reinstatedarrives withstatus: "released". If the release period ended during the reversal,commission.reinstatedis sent and thencommission.released. - A commission born on an order that was already refunded sends
commission.createdand thencommission.reversed. affiliate.*events carry the affiliate's name and e-mail. An endpoint subscribed to every event starts receiving them when the store turns the program on.- The object is the commission at the moment of the fact, not its current state. For the current state, call
GET /v1/commissions/{id}. - The
orderobject of order events carriesaffiliate(id,codeandsource) when the sale has an affiliate, andnullotherwise.
Example: commission.released
{
"id": "evt_5e1b9c7a3d2f4b6e8a0c",
"type": "commission.released",
"api_version": "2026-09-01",
"created": 1797163260,
"livemode": true,
"data": {
"id": "0b9d7c1e-3a5f-4c2d-8e6b-1f4a7d9c2e30",
"object": "commission",
"affiliate": "5f0c8a52-6d3e-4f6b-9a1c-2b7d4e8f9a10",
"order": "ord_7b3e9f1c2a8d4e6f",
"subscription": null,
"status": "released",
"kind": "first",
"source": "link",
"currency": "brl",
"amount": 5910,
"amount_reversed": 0,
"amount_paid": null,
"release_at": 1797163200,
"paid_at": null,
"payout": null,
"cancellation_reason": null,
"livemode": true,
"created": 1794571300
}
}Catalog 2026-11-01 (Stripe-style names)
The second catalog uses Stripe's event names and the API objects. The version is chosen per endpoint, when creating it, under GeneralIntegrationsAutomationsWebhooks; see Receive events in your system. An endpoint receives only the catalog of its version: the same fact never reaches an endpoint under two names. Use version 2026-11-01 for new integrations, and whenever you will create checkout sessions: the checkout.session.* events only exist there.
What changes compared with the original catalog:
data.objectis exactly the JSON thatGET /v1/…returns for the same object: money as integers in the minor unit, lowercase currency ("brl"), dates in Unix seconds,customerinstead ofcustomer_id,linesinstead ofitems. The field tables are in the API reference, not on this page.- The envelope gains
pending_webhooks,requestanddata.previous_attributes, which comes populated oncustomer.subscription.updatedandcustomer.updatedwith the fields that changed. livemodefollows the object: an order paid through a provider's test connection arrives withlivemode: false.- The test event arrives in this catalog's format: the API's
customerobject withtest: true, andlivemode: falsein the envelope. order.composed,checkout.abandonedandcheckout.recoveredhave no equivalent and stay in the original catalog only.
Events
| Event | When it is sent | data.object |
|---|---|---|
checkout.session.completed | A checkout session became complete: the buyer paid by card (payment_status: "paid"), or generated a PIX or had the card go under review (payment_status: "pending"). It goes out once per session, with order and, when it already exists, subscription filled in. | checkout.session |
checkout.session.async_payment_succeeded | The pending payment of an already complete session was confirmed: the PIX was paid or the review approved. payment_status becomes paid. | checkout.session |
checkout.session.async_payment_failed | The pending payment did not happen: the PIX expired or the charge was refused after review. payment_status becomes unpaid. | checkout.session |
checkout.session.expired | The session expired without payment, by its deadline or through POST /v1/checkout/sessions/{id}/expire. | checkout.session |
customer.created | The same as in the original catalog, plus customers created through POST /v1/customers. | customer |
customer.updated | The same as in the original catalog, plus POST /v1/customers/{id}. data.previous_attributes carries the fields that changed, with their previous value. | customer |
customer.subscription.created | A subscription was created. | subscription |
customer.subscription.updated | The subscription changed without starting or ending: it renewed, went into dunning (status: "past_due"), became active again, changed plan or changed card. data.previous_attributes says what changed; read status, offer, current_period_end and default_payment_method to know which. | subscription |
customer.subscription.paused | The subscription was paused. | subscription |
customer.subscription.resumed | The paused subscription became active again. | subscription |
customer.subscription.deleted | The subscription ended: it was cancelled (status: "canceled") or expired (status: "expired"). | subscription |
invoice.paid | An order was paid: purchase, first subscription charge, renewal, one-off charge on a subscription (through the dashboard or POST /v1/subscriptions/{id}/charges) or order marked as paid by the team. Despite the name, the object is an order; billing_reason says which charge it is. | order |
invoice.payment_failed | An order's charge was declined. Once per order. Includes a declined one-off charge, when the provider recorded an order for the attempt: it comes with billing_reason: "manual" and status: "failed". | order |
subscription_charge.succeeded | A one-off charge on a subscription was paid, through the API or the dashboard. It goes out together with the invoice.paid of the order it generated; for a charge that went under review, only when the provider confirms. | subscription_charge |
subscription_charge.failed | A one-off charge on a subscription was declined, right away or after review. failure_code and failure_message say why. It goes out once per charge; repeating the same Idempotency-Key does not emit another. | subscription_charge |
billing.meter.error_report_triggered | Metered usage events arrived for customers without an active subscription that prices the meter: they were stored, but will not be charged. It goes out at most once per meter and per hour, while this happens; reason.error_count is how many events were left unattached in the current hour. | billing.meter, with reason |
order.refunded, order.partially_refunded, order.charged_back | The same as in the original catalog. | order |
order.shipped, order.delivered | The same as in the original catalog. The shipment is in the object's shipping field: status, carrier, tracking_code, tracking_url and address. | order |
The rules for when each fact happens are the same as in the original catalog: what applies to order.paid applies to invoice.paid, and so on. The checkout.session.*, subscription_charge.* and billing.meter.error_report_triggered events are the only ones without a counterpart; the sessions' rules are in Session status, the charges' in Charge the saved card, and metered usage's in Metered usage (Meters). A declined one-off charge emits no event in the original catalog. The charge of a usage period goes out as invoice.paid with billing_reason: "usage" and subscription_charge.succeeded with source: "usage".
Mapping from the original names
| Catalog 2026-09-01 | Catalog 2026-11-01 |
|---|---|
order.paid | invoice.paid |
order.failed | invoice.payment_failed |
order.refunded, order.partially_refunded, order.charged_back, order.shipped, order.delivered | The same names. |
order.composed | No equivalent. |
subscription.created | customer.subscription.created |
subscription.renewed, subscription.dunning, subscription.reactivated, subscription.upgraded, subscription.downgraded, subscription.payment_method_changed | customer.subscription.updated |
subscription.paused | customer.subscription.paused |
subscription.resumed | customer.subscription.resumed |
subscription.cancelled, subscription.expired | customer.subscription.deleted |
customer.created, customer.updated | The same names. |
checkout.abandoned, checkout.recovered | No equivalent. |
| No equivalent | checkout.session.completed, checkout.session.async_payment_succeeded, checkout.session.async_payment_failed, checkout.session.expired |
| No equivalent | subscription_charge.succeeded, subscription_charge.failed |
| No equivalent | billing.meter.error_report_triggered |
Six subscription events become a single customer.subscription.updated, as in Stripe. To tell a renewal from a plan change or a dunning recovery, read data.previous_attributes: the fields of the object that changed, each with its previous value. On a renewal you get current_period_start, current_period_end, next_billing_at and cycles_completed; on a plan change, offer and amount; on a dunning recovery, status and past_due_details; on a card change, default_payment_method. An object field, such as offer, comes whole. The field only exists when something changed; if it is absent, compare the object with what you have stored.
Example: customer.subscription.updated
A renewal. The object carries the new period; previous_attributes carries the previous one:
{
"id": "evt_9c1e3a5b7d9f1b3d5f7a9c1e",
"object": "event",
"type": "customer.subscription.updated",
"created": 1793005502,
"livemode": true,
"api_version": "2026-11-01",
"pending_webhooks": 1,
"request": { "id": null, "idempotency_key": null },
"data": {
"object": {
"id": "sub_3c7a9e1f5b2d8c4e",
"object": "subscription",
"status": "active",
"customer": "cust_9d2e4f6a8b1c3d5e",
"customer_email": "ana@example.com",
"offer": { "id": "ofr_6e2b8d4f1a9c3e7b", "name": "Pro monthly plan" },
"product": { "id": "prd_1a2b3c4d5e6f4a7b", "name": "Recipe Club" },
"billing_cycle": "monthly",
"custom_billing_days": null,
"currency": "brl",
"amount": 9900,
"current_period_start": 1793005500,
"current_period_end": 1795683900,
"next_billing_at": 1795683900,
"trial_start": null,
"trial_end": null,
"cycles_completed": 5,
"cycle_limit": null,
"cancel_at_period_end": false,
"canceled_at": null,
"ended_at": null,
"cancellation_details": null,
"default_payment_method": { "id": "pi_4e6a8c0b2d4f6a8c0e2b4d6f", "type": "card" },
"installments": null,
"past_due_details": null,
"checkout_session": "cs_4b7e2d9a1c3f5e8b0d2a6c4e1f3b",
"client_reference_id": "user_8213",
"metadata": { "plan": "pro" },
"livemode": true,
"created": 1790187010
},
"previous_attributes": {
"current_period_start": 1790413500,
"current_period_end": 1793005500,
"next_billing_at": 1793005500,
"cycles_completed": 4
}
}
}Example: checkout.session.completed
{
"id": "evt_5a7c9e1b3d5f7a9c1e3b5d7f",
"object": "event",
"type": "checkout.session.completed",
"created": 1790187012,
"livemode": true,
"api_version": "2026-11-01",
"pending_webhooks": 1,
"request": { "id": null, "idempotency_key": null },
"data": {
"object": {
"id": "cs_4b7e2d9a1c3f5e8b0d2a6c4e1f3b",
"object": "checkout.session",
"status": "complete",
"payment_status": "paid",
"url": null,
"mode": "subscription",
"offer": { "id": "ofr_6e2b8d4f1a9c3e7b", "name": "Plano Pro mensal" },
"pack": null,
"currency": null,
"amount_total": 9900,
"customer": "cust_9d2e4f6a8b1c3d5e",
"customer_email": "ana@example.com",
"customer_name": null,
"client_reference_id": "user_8213",
"metadata": { "plan": "pro" },
"subscription_data": { "metadata": {} },
"discounts": [],
"success_url": "https://app.example.com/billing/success?session_id={CHECKOUT_SESSION_ID}",
"cancel_url": "https://app.example.com/billing",
"redirect_delay": 5,
"locale": null,
"order": "ord_7b3e9f1c2a8d4e6f",
"subscription": "sub_3c7a9e1f5b2d8c4e",
"expires_at": 1790272800,
"completed_at": 1790187010,
"livemode": true,
"created": 1790186400
}
}
}Example: subscription_charge.succeeded
{
"id": "evt_8b0d2f4a6c8e1a3c5e7b9d1f",
"object": "event",
"type": "subscription_charge.succeeded",
"created": 1790790404,
"livemode": true,
"api_version": "2026-11-01",
"pending_webhooks": 1,
"request": { "id": null, "idempotency_key": null },
"data": {
"object": {
"id": "sch_7e2a9c4b1d3f5a6e8b0c2d4f",
"object": "subscription_charge",
"status": "succeeded",
"subscription": "sub_3c7a9e1f5b2d8c4e",
"customer": "cust_9d2e4f6a8b1c3d5e",
"amount": 5750,
"currency": "brl",
"description": "Additional usage for September",
"lines": [
{ "description": "Calls beyond the allowance", "quantity": 2300, "unit_amount": 2, "amount": 4600 },
{ "description": "Additional storage (GB)", "quantity": 23, "unit_amount": 50, "amount": 1150 }
],
"order": "ord_2f8c4e6a1b3d5f7e",
"transaction": "tx_9b1d3f5a7c2e4a6c",
"failure_code": null,
"failure_message": null,
"source": "api",
"metadata": { "user_id": "user_8213", "period": "2026-09" },
"livemode": true,
"created": 1790790400,
"settled_at": 1790790403
}
}
}Example: billing.meter.error_report_triggered
The object is not one of the API objects: it is the meter with a summary of the problem. It does not carry the events; query them per customer with GET /v1/billing/meters/{id}/event_summaries.
{
"id": "evt_2d4f6a8c0e1b3d5f7a9c1e3b",
"object": "event",
"type": "billing.meter.error_report_triggered",
"created": 1791104400,
"livemode": true,
"api_version": "2026-11-01",
"pending_webhooks": 1,
"request": { "id": null, "idempotency_key": null },
"data": {
"object": {
"id": "mtr_4f8e2c1a9b7d6e5f3a2b1c0d",
"object": "billing.meter",
"event_name": "api_calls",
"display_name": "API calls",
"reason": {
"error_count": 37,
"error_types": [
{
"code": "no_subscription_for_customer",
"message": "Events arrived for customers without an active subscription that prices this meter. They are kept but not billed."
}
]
},
"developer_message_summary": "37 event(s) of 'api_calls' in the last hour could not be attached to a subscription.",
"livemode": true
}
}
}What to do next
- Understand the envelope fields and how to handle repeats.
- Verify the signature before processing any event.
- Connect a SaaS to Vipter with the guide SaaS: from sign-up to dashboard.
Metered usage (Meters)
How to bill by consumption while Vipter keeps the count, in the shape of Stripe's Billing Meters: create a meter, price the usage on the offer or on the subscription, send usage events, read the open period and what happens when the cycle closes, with curl and Node.js examples, allowances, graduated tiers, billing thresholds and the differences from Stripe.
Envelope format
The request Vipter sends to your endpoint, field by field, with the headers, the extra fields of version 2026-11-01, the response deadline, how to handle repeated events and what Vipter guarantees about ordering.