VipterHelp Center

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:

FamilyTypesdata.object.object
Ordersorder.* (8)"order"
Subscriptionssubscription.* (11)"subscription"
Customerscustomer.* (2)"customer"
Abandoned checkoutcheckout.* (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: 19700 is R$ 197.00. The currency is in the currency field of the same object.
  • Dates inside data.object are ISO 8601 strings. The envelope's created uses 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

EventWhen it is sent
order.paidAn 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.failedAn order's charge was declined. It goes out once per order: further declines on the same order don't generate another event.
order.refundedThe order was fully refunded, from the dashboard, by the provider, or marked as refunded by the team.
order.partially_refundedPart of the order was refunded. It can arrive more than once for the same order, one for each partial refund.
order.charged_backThe buyer disputed the purchase with their card's bank (chargeback).
order.composedThe 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.shippedA 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.deliveredThe shipped order was marked as delivered. It goes out once per shipment.

Details the code guarantees:

  • Renewals arrive as order.paid with recurrence: "subsequent" and subscription_id filled in, in addition to the subscription's subscription.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.paid already with another status, such as refunded. Read status instead of inferring it from the event type.
  • Quick links. An order paid through a quick link comes with quick_link filled in. Until the team says which products the amount paid for, items has a single line, with kind: "quick_link", product_id and offer_id null and the link's name in product_name, and composition_status is pending. When the team composes the order, order.composed goes out with the new lines (kind: "composed") and composition_status: "composed". If the link already named the products, the order is born composed and there is no order.composed.
  • Shipping and delivery. order.shipped and order.delivered only 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.shipped goes out first and then order.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

FieldTypeContent
objectstringAlways "order".
idstringOrder ID.
customer_idstring or nullCustomer ID.
customer_emailstring or nullBuyer's e-mail.
subscription_idstring or nullSubscription that generated the order, on renewals and extra charges.
statusstringpending, pre_authorized, authorized, failed, canceled, refund_pending, partially_refunded, refunded or charged_back. See order statuses.
total_amountintegerTotal charged, in cents.
currencystringISO 4217 code, such as BRL.
refunded_amountinteger or nullTotal already refunded, in cents.
order_typestring or nullcheckout, renewal, api, trial_setup or card_setup.
recurrencestring or nullnone (one-time purchase), initial (first charge of a subscription), subsequent (renewal) or unscheduled.
offer_idstring or nullOffer of the first item.
payment_methodstring or nullcredit_card, debit_card, pix, boleto (Brazilian bank payment slip) or wallet.
provider_slugstring or nullProvider that processed the payment, such as pagarme.
paid_atdate or nullWhen the payment was approved.
itemslistThe order items. See below.
external_order_idstring or nullExternal reference for the order, when there is one.
status_sourcestringmanual when the team set the status in the dashboard, provider in all other cases.
quick_linkobject or nullThe quick link that sold the order: id, code (the code or alias of the /l/ address) and title. null on other orders.
composition_statusstring or nullQuick 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.
affiliateobject or nullid, code and source of who brought the sale in the affiliate program; null when there is none.
created_at, updated_atdate or nullCreation and last change of the order.
downloadslistOnly 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:

FieldTypeContent
offer_id, offer_namestring or nullOffer sold.
product_id, product_namestring or nullThe offer's product.
billing_cyclestring or nullThe offer's cycle. none for a one-time sale.
quantityintegerUnits. In a pack of 3, it is 3.
unit_amount, total_amountintegerUnit price and line total, in cents.
currencystringCurrency of the line.
installmentsinteger or nullNumber of installments.
rolestringWhen present: main for the main product, bump for an order bump. An item without role is the main product.
pack_labelstringWhen present: the name of the pack sold.
bump_idstringWhen present: the order bump that generated the line.
kindstringQuick link orders only: quick_link on the provisional line, composed on a composed line.
quick_link_idstringQuick link orders only: the line's link.
list_unit_amountintegerWhen 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

EventWhen it is sent
subscription.createdA subscription was created, usually by the purchase of a recurring offer at checkout.
subscription.renewedThe subscription was renewed. The renewal charge arrives separately, as order.paid.
subscription.dunningThe renewal charge failed and the subscription went into dunning (status: "dunning").
subscription.reactivatedThe subscription became active again: it left dunning, or it was reactivated by the team or by the subscriber.
subscription.upgradedThe subscriber changed plans, to an amount greater than or equal to the previous one.
subscription.downgradedThe subscriber changed plans, to an amount lower than the previous one.
subscription.payment_method_changedThe card used for the subscription's charges was changed.
subscription.pausedThe subscription was paused.
subscription.resumedThe paused subscription became active again.
subscription.cancelledThe subscription was cancelled.
subscription.expiredThe 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_amount before and after: greater or equal becomes subscription.upgraded, lower becomes subscription.downgraded.

The subscription object

FieldTypeContent
objectstringAlways "subscription".
idstringSubscription ID.
customer_id, customer_email, customer_namestring or nullThe subscriber.
statusstringtrialing, active, dunning, paused, cancelled or expired.
current_offer_id, offer_namestring or nullCurrent plan. It changes on a plan change.
product_id, product_namestring or nullThe plan's product.
billing_cyclestring or nulldaily, biweekly, monthly, quarterly, half_yearly, yearly or custom.
currencystring or nullCurrency of the charges.
current_amountinteger or nullAmount of each charge, in cents.
current_period_start, current_period_enddate or nullCurrent paid period.
next_billing_atdate or nullNext charge.
trial_start, trial_enddate or nullFree trial period, when there was one.
cycles_completedinteger or nullCycles already charged.
cycle_limitinteger or nullMaximum number of cycles, or null if there is no limit.
cancel_at_period_endboolean or nulltrue when the cancellation is scheduled for the end of the period.
cancelled_atdate or nullWhen the subscription was cancelled.
cancellation_reasonstring or nullReason 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_idstring or nullID of the saved card used for the charges.
created_at, updated_atdate or nullCreation 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

EventWhen it is sent
customer.createdVipter 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.updatedSomeone 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

FieldTypeContent
objectstringAlways "customer".
idstringCustomer ID.
emailstringE-mail.
namestring or nullName.
phonestring or nullPhone, such as +5511987654321.
document_typestring or nullcpf, 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.
metadataobject or nullCustomer metadata.
created_at, updated_atdate or nullCreation 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

EventWhen it is sent
checkout.abandonedThe 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.recoveredAn 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

FieldTypeContent
objectstringAlways "checkout_abandonment".
idstringID of the abandonment record. It is the same in both events.
customerobjectid (null if the buyer is not a customer yet), email, name, phone and country.
offer_id, offer_namestring or nullOffer of the checkout.
product_id, product_namestring or nullThe offer's product.
quantityintegerUnits: the pack size, or 1.
pack_labelstring or nullName of the pack, when the link was for a pack.
amountinteger or nullAmount of the product the buyer saw, with the pack price, before coupons and shipping. In cents.
currencystring or nullCurrency of the checkout.
localestring or nullLanguage the checkout was in, such as pt.
utmobject or nullThe utm_source, utm_medium, utm_campaign, utm_content, utm_term and utm_id parameters that came with the buyer.
referrerstring or nullPage the buyer came from.
checkout_session_idstringMost recent checkout session.
session_countintegerHow many visits were merged into this record.
recovery_urlstringLink that reopens the checkout with the buyer's details filled in. See recovery link.
first_seen_atdateStart of the first visit.
abandoned_atdateWhen the abandonment was recorded.

checkout.recovered has the same object plus four fields:

FieldTypeContent
resolutionstringAlways "recovered".
order_idstringThe paid order that closed the abandonment.
resolved_atdateWhen the abandonment was closed.
recovered_by_linkbooleantrue 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.

EventWhen it is sent
affiliate.appliedSomeone 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.approvedThe 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.createdAn affiliate's order was paid. Sent once per commission. Before that the commission is only a provision and sends no event.
commission.releasedThe release period has passed and the commission is owed for the first time. Sent once per commission.
commission.paidThe store recorded the payment of the commission.
commission.reversedA refund, a chargeback or the cancellation of the order took the commission back, in full or in part. amount_reversed says how much.
commission.reinstatedWhat 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.cancelledThe 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.created and then commission.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 on released and subtracting on reversed: a commission can be reversed before it is owed, and a dispute won gives back what the chargeback took. The amount owed is amount - amount_reversed when status is released.
  • After a reversal, commission.reinstated is what says the commission counts again. commission.released is not repeated: if the commission had already been released before the reversal, reinstated arrives with status: "released". If the release period ended during the reversal, commission.reinstated is sent and then commission.released.
  • A commission born on an order that was already refunded sends commission.created and then commission.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 order object of order events carries affiliate (id, code and source) when the sale has an affiliate, and null otherwise.

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.object is exactly the JSON that GET /v1/… returns for the same object: money as integers in the minor unit, lowercase currency ("brl"), dates in Unix seconds, customer instead of customer_id, lines instead of items. The field tables are in the API reference, not on this page.
  • The envelope gains pending_webhooks, request and data.previous_attributes, which comes populated on customer.subscription.updated and customer.updated with the fields that changed.
  • livemode follows the object: an order paid through a provider's test connection arrives with livemode: false.
  • The test event arrives in this catalog's format: the API's customer object with test: true, and livemode: false in the envelope.
  • order.composed, checkout.abandoned and checkout.recovered have no equivalent and stay in the original catalog only.

Events

EventWhen it is sentdata.object
checkout.session.completedA 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_succeededThe 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_failedThe pending payment did not happen: the PIX expired or the charge was refused after review. payment_status becomes unpaid.checkout.session
checkout.session.expiredThe session expired without payment, by its deadline or through POST /v1/checkout/sessions/{id}/expire.checkout.session
customer.createdThe same as in the original catalog, plus customers created through POST /v1/customers.customer
customer.updatedThe 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.createdA subscription was created.subscription
customer.subscription.updatedThe 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.pausedThe subscription was paused.subscription
customer.subscription.resumedThe paused subscription became active again.subscription
customer.subscription.deletedThe subscription ended: it was cancelled (status: "canceled") or expired (status: "expired").subscription
invoice.paidAn 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_failedAn 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.succeededA 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.failedA 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_triggeredMetered 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_backThe same as in the original catalog.order
order.shipped, order.deliveredThe 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-01Catalog 2026-11-01
order.paidinvoice.paid
order.failedinvoice.payment_failed
order.refunded, order.partially_refunded, order.charged_back, order.shipped, order.deliveredThe same names.
order.composedNo equivalent.
subscription.createdcustomer.subscription.created
subscription.renewed, subscription.dunning, subscription.reactivated, subscription.upgraded, subscription.downgraded, subscription.payment_method_changedcustomer.subscription.updated
subscription.pausedcustomer.subscription.paused
subscription.resumedcustomer.subscription.resumed
subscription.cancelled, subscription.expiredcustomer.subscription.deleted
customer.created, customer.updatedThe same names.
checkout.abandoned, checkout.recoveredNo equivalent.
No equivalentcheckout.session.completed, checkout.session.async_payment_succeeded, checkout.session.async_payment_failed, checkout.session.expired
No equivalentsubscription_charge.succeeded, subscription_charge.failed
No equivalentbilling.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

Was this page helpful?

On this page

Language