Skip to content

Webhook events and payloads

Most integrations need two or three webhook events: one to fulfill orders, one to reconcile money, and one or two for the lifecycle the integration owns, such as subscriptions or refunds. Start with Choosing the right event, then read the family section for each event you subscribe to.

Every event reports one change to one resource. event_type names the resource and what happened to it, as <resource_type>.<event>, and data.object carries that resource as its GET returns it. Switch on event_type, act on data.object, and use the rest of the envelope for deduplication and routing.

  • To register an endpoint and verify signatures, follow Webhooks.
  • For headers, every envelope field, and the retry schedule, see Webhook delivery.
  • For every event type with its schema and an example payload, see the event catalog.

API keys#

Subscribe to api_key.created, api_key.updated, and api_key.revoked to monitor credential changes, including keys created through the Dashboard or while creating a sandbox. data.object is the API key returned by GET /v1/api-keys/{api_key_id}. It never includes secret_key.

  • api_key.created reports a new key, including an install-linked key.
  • api_key.updated reports a change to the key's name, scopes, access, or expires_at.
  • api_key.revoked reports explicit revocation, revocation when a linked install or environment grant ends, and revocation when its sandbox is archived. Revoking an already-revoked key sends no event. Revoking a parent key does not revoke its children. Events for a large archived sandbox can arrive after the archive response.

Test-key events go to the key's sandbox endpoints; live-key events go to live endpoints. Partner apps cannot subscribe to this family. Passing expires_at changes no stored status, so it sends no event. Updates to last_used_at also send no event. No historical events are sent for existing keys.

The event envelope#

Every merchant event uses the same envelope. data.object carries the resource, and change events can also carry data.previous_attributes. This is the body of an order.paid delivery:

JSON
{
  "webhook_event_id": "whev_1kmn0aExample",
  "event_type": "order.paid",
  "event_source": "merchant",
  "payload_version": 2,
  "api_version": "2026-09-07",
  "mode": "test",
  "sandbox_id": "test_1kmn0aExample",
  "merchant_id": "mer_1kmn0aExample",
  "created_at": "2026-07-03T14:00:00Z",
  "test": false,
  "request": null,
  "data": {
    "object": {
      "order_id": "ord_1kmn0aExample",
      "order_number": "1001",
      "status": "closed",
      "payment_status": "paid",
      "refund_status": "none",
      "customer_id": "cus_1kmn0aExample",
      "payment_intent_ids": ["pi_1kmn0aExample"],
      "line_items": [
        {
          "order_line_item_id": "li_1kmn0aExample",
          "name": "Annual membership",
          "quantity": 1,
          "unit_price_money": { "amount": 9900, "currency": "USD" },
          "total_money": { "amount": 9900, "currency": "USD" }
        }
      ],
      "created_at": "2026-07-03T13:58:00Z",
      "updated_at": "2026-07-03T14:00:00Z"
    }
  }
}

The order is abbreviated. A delivery carries the whole order as GET /v1/orders/{order_id} returns it, apart from the fields webhooks leave out.

FieldUse it to
webhook_event_idDeduplicate. Every retry and resend of the event carries the same ID, which also arrives in the webhook-id header.
event_typeRoute the event. Return a 2xx for types you don't handle.
event_sourceDistinguish envelope shapes. Required on every event: merchant, partner_app, or installed_merchants.
modeKeep test events away from live side effects. test events come from sandbox keys and data.
sandbox_idIdentify the public sandbox. Present exactly when mode is test; omitted in live mode.
testRecognize synthetic events from the test-events endpoint, which carry true. Every other event carries false.
requestFind the API call that caused the event: request.id is that call's request_id. It is null when no API request caused the event.
created_atKnow when Flint recorded the event; the resource's own timestamps say when the change happened.
data.objectRead the resource the event is about.
data.previous_attributesRead the previous whole value of each changed top-level resource field. Optional on change events; absent on created, deleted, notification, and synthetic test events.

Webhook delivery describes every envelope field, including payload_version and how api_version is chosen for each attempt.

Three delivery rules shape every handler:

  • Delivery is at least once. The same event can arrive more than once, so deduplicate on webhook_event_id before any side effect.
  • A delivery succeeds on a 2xx within 10 seconds. Queue slow work and respond first. Failed deliveries retry up to 9 times over about three days, on the retry schedule.
  • Each object is a snapshot. Flint records data.object once, when it prepares the event. Every retry and resend carries that same snapshot, rendered at the attempt's API version, so the bytes match unless the endpoint's api_version changed between attempts. Fetch the resource when you need its current state.

Warning: Events arrive in no guaranteed order

Events fan out to each endpoint and retry independently, so a later event can arrive before an earlier one. Don't build a state machine that expects payment_intent.succeeded before order.paid. Handle each event on its own, and fetch the resource before you act on state that may have moved.

Fields webhooks leave out#

A webhook has no caller, so data.object leaves out the few fields that GET computes for whoever is asking, or that would give the receiver authority it shouldn't have. Expandable fields are unexpanded, as on a GET without expand. Read the resource for these fields or for linked state that Flint computes on read.

ResourceLeft outWhy
Payment intent (payment_intent)processing_fee_money, processing_fee_details, add_on_fees, merchant_net_money, payment_collection, remaining_refundable_moneyGET returns verified fees, current refund capacity, and payment collection guidance for the caller's permissions.
Checkout session (checkout_session)url, recovery_payment_attempt_id, recovery_expires_at, can_save_payment_method, save_payment_method_types, save_payment_method_requires_verification, pay_to_new_address_requires_verification, can_save_payment_method_with_phone, payment_method_save, customer_prefill, merchant_support, merchant_name, show_flint_mark, merchant_logo, merchant_icon, payment_link_image, platform_fee, customer_account_urlGET returns launch links, buyer-specific details, branding, and the requested platform fee.
Invoice (invoice)public_urlThe URL carries the invoice access token.
Order (order)buyer_actions, active_payment_attempt, payment_collection, setup_collectionBuyer actions depend on the caller. Payment and setup fields carry client authority and depend on who is paying.
Order edit (order_edit)noteInternal merchant notes are available through merchant GET requests only.
Merchant (merchant)banners, timezone_inferredGET builds Dashboard notices on each read and reports whether Flint inferred the business time zone for that read.
Partner app install (partner_app_install)platform_contactGET reads the platform's current support contact when you request the install.
Delivery profile (delivery_profile)diagnostics, unconfigured_assignmentGET returns diagnostics only with include_diagnostics, and reads bulk assignment progress from the assignment on each GET and list.
Product (product)variants, matched_variant, modifier_setThese fields appear only in create or list responses, or with expansions.
Product variant (product_variant)modifier_set, inventory_availabilityThe modifier set appears only with an expansion. Stock availability is computed when a variant is read; read the variant again after inventory_level.updated.
Bundle (bundle)modifier_setThe modifier set appears only with an expansion.
Promotion (promotion)codesOnly the create response includes codes.
Promotion code (promotion_code)promotionThe promotion appears only with an expansion.
Reader (reader)active_payment_intent_idGET reads the payment presented on the reader now; the payment intent's events report it.

Order and subscription buyer_actions are empty arrays because those actions depend on the caller.

Read the checkout session for the current delivery quote, the order's refunds, and the buyer's gift_card_challenge. Read the payment intent for the last_payment_error.remediation.next_actions available under the caller's permissions.

Choosing the right event#

Find the job your system does, and build it on the event in the middle column.

JobBuild onWhy
Fulfill an orderorder.paidFires when the order becomes fully paid on any surface: checkout session, payment link, invoice, or direct API. One subscription covers them all. Before fulfilling, check that active_payment_review_id is null and check dispute_status; an open review blocks fulfillment.
Fulfill added items on a paid-order editorder_edit.completed, or order_edit.created with status: completedA pending edit applies only after its balance payment succeeds. The order stays paid and sends no second order.paid.
Know a hosted checkout was paidcheckout_session.paidFires once for each session that collects its full amount due, including a session for one installment of an order's balance. It means that session was paid, not the order, so don't fulfill from it.
Know a hold was placedpayment_intent.requires_captureThe authorization landed, including after 3D Secure. The payment intent carries order_id when it belongs to an order.
Know captured money settledpayment_intent.succeededA capture arrives as payment_intent.succeeded, with the amount in captured_money. There is no payment_intent.captured.
Know a hold is about to expirepayment_intent.authorization_expiringCapture or release it before authorization_expires_at.
Know a hold ended uncapturedpayment_intent.canceled and payment_intent.expiredcanceled when you or Flint released the hold, expired when it reached authorization_expires_at. Both put the hold in released_money.
Reconcile money movementbalance_transaction.createdOne event for each charge, refund, fee, payout, and adjustment that moves your balance.
Track refund outcomesrefund.succeededRefunds settle asynchronously. Pair it with refund.partially_succeeded and refund.failed, because a bank can still reject a credit after the refund succeeded.
Mirror the catalogproduct.updated and the other catalog eventsOne event for each change to a product, variant, bundle, category, modifier group, modifier set, promotion, or promotion code.
Respond to disputesdispute.needs_responseYour evidence is needed and a deadline is running. The outcome events close the case.
Grant and revoke subscription accesssubscription.activatedProvision on it, warn on subscription.past_due, and revoke on subscription.canceled.
Keep subscription shipments movingsubscription.delivery_action_requiredA renewal of a plan that ships is held because delivery can't be quoted. Pair it with subscription.delivery_pause_upcoming.
Track invoice receivablesinvoice.paidPair it with invoice.partially_paid, invoice.credited, invoice.reopened, invoice.marked_uncollectible, and invoice.voided.
Know a payout reached your bankpayout.succeededpayout.created means scheduled, not arrived. Pair it with payout.failed, which can follow payout.succeeded if the bank returns the deposit.
Honor email opt-outscustomer_email_preferences.updatedKeep your own shipping-update and checkout-reminder suppression list current when a customer changes preferences or email. For guests, look up preferences before each send.
Keep card-on-file state currentpayment_method.activatedFires when the method is active and can be charged, not at form submit. Pair it with payment_method.failed and payment_method.archived.
React to verification and readiness changesmerchant.readiness_updatedA signal to read readiness again. It also fires when a payout capability changes.

Pick one primary event for each job and make its handler idempotent. Subscribing several overlapping events to one job is the most common cause of double fulfillment.

Which event means paid#

One successful payment sends events at several levels, so decide once which event your system fulfills or grants from. Every payment sends exactly one payment_intent.succeeded, whoever owns it. The owner's event is the one that says the sale is paid.

You're buildingFulfill or grant onOne event per successful paymentNot a fulfillment signal
Orders, whichever route paid them, including confirming an order's payment intentorder.paid, or order.partially_paid for staged paymentspayment_intent.succeededpayment_intent.requires_capture
Standalone paymentspayment_intent.succeededpayment_intent.succeededpayment_intent.processing
Hosted or embedded checkout and payment linksorder.paid. checkout_session.paid is context for the sessionpayment_intent.succeededcheckout_session.paid
Invoicesinvoice.paid, or invoice.partially_paid for each collectionpayment_intent.succeeded with invoice_idpayment_intent.processing
Subscriptionssubscription.payment_succeededpayment_intent.succeeded with subscription_idsubscription.updated to active

payment_intent.processing means Flint is waiting for or confirming the outcome. Keep the order unfulfilled until the success event arrives, and never start another payment meanwhile.

Handle every failed payment in one place#

Handle payment_intent.payment_failed for every owner, then route on the owner links in data.object: order_id, invoice_id, checkout_session_id, or subscription_id. It fires once for each newly recorded failure, with last_payment_error on the payment intent. Read version on the object and skip a snapshot older than the one you already applied.

The owner events that report the same failure, such as invoice_payment_attempt.failed or subscription.past_due, tell you what the owner did next. They are not a second failure handler.

React to a specific field change#

On status, aggregate, condition, and updated events, data.previous_attributes can tell you which fields changed. Check whether it contains the field you care about, then compare its previous value with the new value in data.object. A nested change reports the whole previous top-level value: a change to one item in line_items reports the previous line_items array. A field absent before the change has a previous value of null. previous_attributes is absent when the event reports a new resource.

The member can be absent when Flint didn't record the prior state, including events recorded before their family began recording both states and events from families that haven't moved to that system yet. Synthetic test events never carry it. Don't treat its absence as proof that nothing changed; keep your own previous state if your handler must detect a field change in every event.

previous_attributes excludes bookkeeping (updated_at and version), clock-based values, observation fields, and fields that reflect another resource's current state. It uses the same API version as data.object.

One flow, several events#

One business flow sends events at several levels of the model. A successful payment on a subscription renewal can send all of these:

  • payment_intent.succeeded
    A payment intent succeeded.
  • order.paid
    An order became fully paid, including by a manual payment on its invoice. Use payment_intent.succeeded for each successful online payment.
  • invoice.paid
    A zero-total invoice was issued, or an invoice balance closed with positive net collection. Collection, allocated credit, waived fees, or reversal recovery can clear the balance.
  • subscription.payment_succeeded
    A subscription billing attempt succeeded.
  • balance_transaction.created
    A new balance transaction (charge, refund, dispute, payout, fee, merchant billing collection, or adjustment) was recorded.

Subscribe to the level your system owns: payment intent and balance events for ledgers, order events for fulfillment, invoice events for receivables, subscription events for access, and payment method events for cards on file. When the action is about access to a recurring product, prefer the subscription event over the invoice or payment intent event.

Events that are easy to confuse#

  • invoice.sent reports the email. invoice.issued means the invoice is collectible.
  • invoice.reminder_due is for sending a reminder yourself. When Flint sends invoice email, follow invoice_delivery_attempt.sent, invoice_delivery_attempt.failed, and invoice_delivery_attempt.suppressed.
  • invoice.paid and invoice.credited aren't final. Reversing a payment or a credit note allocation can reopen the balance and send invoice.reopened, so a ledger that treats either as terminal drifts.
  • invoice_payment_attempt.succeeded reports one successful attempt, which can leave a balance. invoice.paid means the balance is cleared.
  • checkout_session.invalidated with superseding_checkout_session_id isn't an abandoned sale: the buyer is using a newer session.
  • merchant.readiness_updated uses Flint's readiness vocabulary. Don't infer readiness from processor account flags.

When in doubt, use the highest-level event that matches the action your system takes, and fetch the resource before an irreversible side effect.

Payloads by family#

data.object is the resource named before the dot in event_type: order.paid carries an order, shipment.updated a shipment, and invoice_payment_attempt.failed a payment attempt. Events never add fields of their own inside data.object, so one parser for each resource covers every event about it. Previous values, when available, are in the sibling data.previous_attributes object. The API reference documents every field, and each row below expands to the event's schema and an example.

Subscribe each endpoint with enabled_events, which is required. ["*"] subscribes to every event type, including types added later. Families not covered here, such as payment reviews and fraud warnings, are in the event catalog.

Payment intents#

supported_actions includes stored owner facts when Flint renders the snapshot. It can change without advancing the payment intent version or sending a payment event. Order legs list confirm when a single leg can pay the balance or a holding attempt can continue it. Invoice payments list only cancel; subscription payments list none. Read the payment intent again after an order changes before choosing an action.

Object: the payment intent as the change that sent the event left it. fulfillment_hold is captured with the payment change. risk and last_payment_error.remediation are read when Flint prepares the event, usually seconds later, and applied to both recorded renders when present.

  • payment_intent.created
    A payment intent was created, whichever route or flow created it.
  • payment_intent.requires_action
    The buyer must act, such as completing 3D Secure.
  • payment_intent.processing
    The payment was submitted and is waiting for a final outcome. Keep the order unfulfilled.
  • payment_intent.requires_capture
    The payment was authorized and is waiting for capture.
  • payment_intent.succeeded
    The payment settled, including the capture of a held authorization.
  • payment_intent.payment_failed
    A payment attempt failed. last_payment_error says why.
  • payment_intent.canceled
    You or Flint canceled the intent. cancellation_reason says why when Flint knows it, and appears only while the status is canceled.
  • payment_intent.authorization_expiring
    A manual-capture hold is approaching its effective authorization_expires_at. Sent once per authorization, 24 hours before that deadline, or halfway through the hold window when it is shorter than 48 hours. The warning is not sent when less than one hour remains, including when Flint catches up on a missed warning. Windows under two hours never warn. Moving the deadline does not repeat a warning. data.object is the PaymentIntent as of the warning, frozen when recorded without changing its version. Read the current PaymentIntent, then capture or release the hold before the deadline.
  • payment_intent.expired
    A manual-capture hold reached its effective Flint authorization_expires_at without a capture. This is the earlier of the provider capture deadline and any order resource guarantee. The whole authorization is in released_money, with no cancellation_reason.
  • payment_intent.fulfillment_hold_updated
    The payment provider asked to pause shipping for the payment, or lifted that request. When the pause starts, open fulfillments go on hold with reason payment_review.
  • payment_intent.updated
    Any other public change, such as a PATCH, a move into requires_confirmation, or a refund or dispute that changes refunded_money, refund_status, or dispute_status.

Status events fire once when the stored status changes, and payment_intent.payment_failed fires once for each newly recorded failure; repeated provider observations and replays don't create another event. A later failed attempt sends its own payment_intent.payment_failed, even when its last_payment_error matches the previous one. A change that sends another payment intent event doesn't also send payment_intent.updated.

The object never includes fees. Read them from GET /v1/payment-intents/{payment_intent_id} once verified, or from the payment's balance_transaction.created event; see Processing fees. It also has no current_payment_action, which only the confirm result carries. For a payment intent in requires_action, call POST /v1/payment-intents/{payment_intent_id}/confirm with an empty body ({}) to retrieve the action. This works for a standalone payment and, with merchant credentials, for an order leg.

A refund or dispute never changes a payment intent's status. When one changes its refunded_money, refund_status, or dispute_status, Flint sends payment_intent.updated as well as the refund.* or dispute.* event. A payment intent that belongs to an order carries order_id, so an order-level handler can join on it. If you only need to know when an order is paid, listen at the order level instead.

Orders#

Object: the order. An order sold through a payment link carries payment_link_id, and a subscription cycle's order carries subscription_id and subscription_cycle.

  • order.created
    An order was created.
    statusline_items
  • order.partially_paid
    The order became partially paid, including when a manual payment on its invoice was recorded or reversed.
    payment_statussettlement_amounts
  • order.paid
    The order became fully paid. Check dispute_status before you fulfill.
    payment_statussettlement_amounts
  • order.closed
    The order moved from open to closed.
    closed_reasonclosed_at
  • order.updated
    A material change to an order that stays open or stays closed, including a change to active_payment_review_id.
    the changed fields
  • order.partially_refunded
    The order's refund_status became partially_refunded.
    refund_statusrefund_ids
  • order.refunded
    The order's refund_status became refunded.
    refund_statusrefund_ids
  • order.inventory_exception_created
    A paid order's inventory failed and needs operator action.
    inventory_exception_statusinventory_exception_reason
  • order.inventory_exception_resolved
    You resolved the exception, or the order was refunded in full.
    inventory_exception_statusinventory_exception_resolution_message

The payment and refund status events report the order's aggregate status, not each payment or refund behind it. They fire only when payment_status or refund_status changes to the named value. A second partial payment that changes the paid amount while leaving payment_status at partially_paid sends order.updated, and so does a second partial refund that leaves refund_status at partially_refunded. A status change sends its status event without order.updated. An order created already paid or closed sends order.paid or order.closed with order.created. Each hold, capture, and refund sends its own payment_intent.* or refund.* event with the amounts of that one payment or refund. A partial capture sends payment_intent.succeeded. If the capture moves the order to partially_paid, it also sends order.partially_paid. See Manual capture.

order.closed fires once per order, on the move from open to closed, and that move doesn't also send order.updated. closed_reason tells a paid sale (paid) from a stopped one: closed_by_merchant, checkout_expired, written_off, superseded, return_resolution_canceled, or other. More values can be added.

order.updated covers any change to the order that no other order event describes: edits to metadata, notes, and external_reference_id, linking a guest order to a verified customer, changes to the order's fulfillments or fulfillment_status (including a fulfillment created after payment), a paid subscription's delivery destination correction, a paid line's expected_ship_date changing to a different value, stock filling a line's backordered units (which lowers its backordered_quantity), paid or refunded amount changes that leave payment_status and refund_status unchanged, such as a reversed manual payment, and a dispute opening, closing, or changing the order's dispute totals. After a failed payment whose delivery selection expired, removing shipping charges or clearing the delivery destination sends it too. Recording the buyer contact at payment start, adopting a customer, and freezing the delivery destination when a manual payment is recorded send it too. An edit after closure sends order.updated, never a second order.closed. Follow payment_intent.* and refund.* for each payment or refund's own progress. Writes and replays that leave the order unchanged send no new order event and keep its version.

Order snapshots record refund totals when Flint updates the order's refund projection. A GET can already reflect a later refund at the same order version, changing refund_status and settlement_amounts before the next order event. Follow refund.* for each refund's current status. GET also resolves provisional delivery against the current checkout selection, so it can differ from an event at the same version.

Linked records can appear on GET at the same order version. checkout_session_ids and payment_link_id follow linked checkout sessions. payment_intent_ids follows linked payment intents. refund_ids and line_items[].refundable follow the order's refunds. Read the order again after checkout_session.created, payment_intent.created, or a refund event, including refund.partially_succeeded.

Some order fields are read from other resources when the event is recorded, so a change to them alone sends no order event. Follow payment_intent.* for supported_actions and authorization_amounts, gift_card.* and gift_card_redemption.* for gift_cards, gift_card_estimate, and line items' purchased_gift_cards, return_resolution.updated for return_credit_settlements, and delivery_selection.committed for governing_delivery_selection_id.

Dispute changes to the order's dispute_status, settlement_amounts.disputed_money, or dispute_lost_money advance its version and send order.updated. When the same commit changes a payment or refund status axis, its axis event replaces order.updated. Follow dispute.* for each case. Those events can precede order.paid; the later order.paid snapshot then carries dispute_status. Check that state before fulfilling.

Order payloads carry each line's backordered_quantity, release_date, and expected_ship_date. Flint updates the order shortly after the stock change that filled its backordered units, so order.updated can arrive after the inventory_level.updated for that change. Read the order's version to tell which snapshot is newer. See Backordered and pre-ordered lines.

The inventory exception events carry the order: inventory_exception_reason keeps the original cause after resolution, and inventory_exception_resolution_message holds the note you sent when resolving, if any.

Order edits#

Object: the order edit, with remove_line_items, charge_refunds, refund_money, and refund_ids.

  • order_edit.created
    An edit was created, pending or completed. Its status says whether the item changes have been applied.
  • order_edit.updated
    The edit changed without a status change, such as when its payment_intent_id is set.
  • order_edit.completed
    A pending edit completed after its balance payment succeeded. Fulfill the added items on this event.
  • order_edit.canceled
    A pending edit ended without changing the order. Every hold was released.

An edit that refunds money sends refund.created and the other refund.* events for the refund it creates. If Flint can't create the refund while the edit request runs, order_edit.created arrives first and refund.created follows once the refund exists, so don't expect the refund to be in the request's response. A refund from an edit carries order_edit_id. An edit whose units all have a value of zero creates no refund and sends only order_edit.created. Retrying a failed edit refund creates a new refund, which sends refund.created and the other refund.* events.

Fulfillment, shipments, and packages#

Object: the fulfillment, shipment, package, or fulfillment event named in the event type, each as its own GET returns it, with its order_id. See Fulfillment and shipping for the flow these events report.

A fulfillment's status is its exact status when the event was recorded, including accepted, on_hold, and no_show. A held fulfillment carries active_hold with its reason and previous_status, and a no-show carries outcome.

  • fulfillment.created
    A fulfillment was created, by checkout or by your call.
  • fulfillment.updated
    Any change that doesn't end the fulfillment, including accept, hold, and release_hold.
  • fulfillment.completed
    Every quantity the fulfillment covers was fulfilled or canceled. For a shipment with packages, it fires when the last package is delivered, in the same request as that package's package.updated.
  • fulfillment.canceled
    The fulfillment was canceled.
  • fulfillment.failed
    The fulfillment failed.
  • fulfillment_event.created
    A fact was recorded on the fulfillment's timeline: a state change, a tracking change, a package status change, or a carrier scan you posted.

Each status change sends one fulfillment event with the fulfillment after the step. A terminal status sends fulfillment.completed, fulfillment.canceled, or fulfillment.failed instead of fulfillment.updated. A later package change, such as a return to sender, never reopens a completed fulfillment. For transition-specific work, use fulfillment_event.created: its previous_status and current_status use the same values as the fulfillment's status, and a released hold records previous_status: on_hold with the restored status as current_status.

Use shipment and package events to mirror those resources, including edits that leave their status unchanged:

EventWhen it fires
shipment.createdA shipment is created, including a return shipment. Its snapshot includes the initial package_count.
shipment.updatedAny persisted shipment revision: metadata, external_system, external_reference_id, package count, or derived progress and timestamps, even when status stays the same.
package.createdA package is created.
package.updatedA package's status, tracking, carrier, service, expected delivery time, label, weight, dimensions, external references, metadata, or items change, including clearing a field.
  • Adding a package to an existing shipment sends package.created and shipment.updated with the new package_count. Creating a fulfillment with its initial shipment, package, and items sends only their creation events.
  • Creating, editing, or deleting a package item advances the package's version and sends package.updated without previous_attributes. The package snapshot doesn't contain items, so list GET /v1/packages/{package_id}/items to the last page to mirror contents. An item edit alone doesn't update the shipment or order.
  • A fulfillment created under a payment hold sends only fulfillment.created, with status: on_hold.
  • supported_actions is read from other resources when the event is recorded, so a change to it alone sends no event. A fulfillment's follows order.paid, payment_intent.fulfillment_hold_updated, and its shipments' events. A shipment's or package's follows its fulfillment's events and, for a package, shipment.updated.
  • Each committed revision sends at most one update of its type, even when revisions happen within one second or restore an earlier value. A package transition can also revise its shipment, fulfillment, and order and send their events. No-op patches, failed operations, and idempotent replays send nothing.
  • Your own API calls send these events too. Replace a stored shipment or package only when the snapshot's version is higher than the one you hold.

Tracking edits also send fulfillment_event.created. Metadata and package item edits don't add a timeline fact or email the buyer. To send your own mail, choose the buyer moments your integration owns.

Inventory#

Object: the inventory level, reservation, count, transfer, or receipt named in the event type. See the Inventory API for the quantity model these events report, and every inventory event in the catalog.

  • Events fire for every qualifying change, including changes your own requests caused. Deduplicate on the event ID rather than telling your changes apart from Flint's.
  • Levels, reservations, counts, and transfers carry version. One inventory command sends at most one event of each type for each resource, with the resource as the command left it, so a retried command sends nothing new. A return request that restocks several lines into one level sends one level update. Keep the snapshot with the higher version.
  • A change that raises a level's shortage_quantity sends inventory_level.shortage_detected instead of inventory_level.updated. A level's first stock at a Location sends inventory_level.updated without data.previous_attributes.
  • One reservation expiry can send inventory_reservation.released, inventory_reservation.hold_expired, and, when no active quantity remains, inventory_reservation.closed. All three carry the same reservation, and their order doesn't matter.
  • inventory_reservation.at_risk fires when stock moving at a level leaves a claim less protected. A reservation's at_risk_held_quantity, at_risk_committed_quantity, and supported_actions follow the level's stock, so they change without a reservation event of their own; read the reservation again after inventory_level.updated.
  • inventory_transfer.departed fires for each departure, including later ones while the transfer is in transit. inventory_transfer.closed can arrive with the event for the transfer's physical step, such as inventory_transfer.received.
  • inventory_reservation.action_required carries the reservation with inventory_action_required set, and inventory_level.shortage_detected carries the level whose shortage_quantity rose.
  • inventory_reservation.updated, inventory_count.updated, and inventory_transfer.updated report changes without an event of their own: a reservation's new expires_at or cleared inventory_action_required, a draft count's observations, and a transfer's note, external_reference_id, or lines, including a cancel that leaves it open. A request that changes nothing keeps version and sends no event. Creating a count or transfer, and canceling a count, send no event.
  • Reservation events cover reservations you create. Stock that Flint holds for orders and checkout shows up through level and order events.
  • Reading inventory sends no events.

Catalog#

Object: the product, product variant, bundle, price list, category, modifier group or modifier set, promotion, or promotion code named in the event type, as its GET returns it. Each object carries its own ID: product_id, variant_id, bundle_id, price_list_id, category_id, modifier_group_id, modifier_set_id, promotion_id, or promotion_code_id.

Every catalog resource sends created, updated, and archived, except categories, which send deleted because a deleted category can't be read again.

  • product.created
    A product was created. Each variant it created sends product_variant.created.
  • product.updated
    A product's own fields, options, images, categories, or modifier set changed, including a status change between active and inactive.
  • product.archived
    A product was archived. Each variant it archived sends product_variant.archived in the same request.
  • product_variant.created
    A variant was created, with its product or on its own.
  • product_variant.updated
    A variant's own fields, images, or modifier set changed, Flint assigned it a delivery profile, or a product change reached it: an option or value rename, a value for an option added to the product, a product status change that changes its is_available_for_sale, or a product image change that changes its inherited effective_images.
  • product_variant.archived
    A variant was archived, on its own or by archiving its product.
  • bundle.created
    A bundle was created.
  • bundle.updated
    A bundle's own fields, images, categories, modifier set, or components changed, Flint assigned a delivery profile to its components, or a change to a component's variant or product reached components[].variant or is_available_for_sale. Archived bundles send it too.
  • bundle.archived
    A bundle was archived.
  • price_list.created
    A price list was created.
  • price_list.updated
    A price list's own fields or any of its prices changed. A request that changes several prices, including a bulk write, sends one event. The object carries price_count, not the prices: read GET /v1/price-lists/{price_list_id}/prices to sync them.
  • price_list.archived
    A price list was archived.
  • category.created
    A category was created.
  • category.updated
    A category's own fields changed, or a product or bundle assignment or a promotion reference changed its counts.
  • category.deleted
    A category was deleted. The event carries the category as DELETE returned it, with status: deleted.
  • modifier_group.created
    A modifier group was created.
  • modifier_group.updated
    A modifier group's own fields or modifiers changed.
  • modifier_group.archived
    A modifier group was archived.
  • modifier_set.created
    A modifier set was created.
  • modifier_set.updated
    A modifier set's own fields, groups, or inline modifiers changed, or a shared group it references changed or was archived. Shared group changes also send this event for archived sets.
  • modifier_set.archived
    A modifier set was archived.
  • promotion.created
    A promotion was created. Each code it created sends promotion_code.created.
  • promotion.updated
    A promotion was updated, including a status change between active and inactive.
  • promotion.archived
    A promotion was archived. Each code it archived sends promotion_code.archived shortly after.
  • promotion_code.created
    A promotion code was created, with its promotion or on its own.
  • promotion_code.updated
    A promotion code was updated, including a status change between active and inactive.
  • promotion_code.archived
    A promotion code was archived, on its own or by archiving its promotion.

Which write sends which event. created follows a POST, and archived or deleted follows a DELETE. updated follows every other committed change to the resource's own state, including changes Flint makes itself, such as an image moderation result. A bulk delivery profile assignment sends one product_variant.updated for each variant it changed and one bundle.updated for each bundle whose components changed.

Variants and promotion codes send their own events, because they have their own routes:

  • POST /v1/products sends product.created and one product_variant.created for each variant it creates. A request with two variants sends three events, and the default variant is one of the two. A simple product sends product.created and one product_variant.created for its default variant.
  • POST /v1/promotions sends promotion.created and one promotion_code.created for each code in the request.
  • A variant or code write sends that resource's event. When it also moves the parent's counts or summaries, the parent sends its own product.updated or promotion.updated in the same request. A variant write that changes its name, sku, status, or selected_options also sends bundle.updated for each bundle that contains it.
  • A product update that adds or reactivates an option with existing_variant_value sends product.updated once and product_variant.updated for each active variant that received the value. The product and variant changes commit together, so a failed request sends nothing.
  • Options and their values, bundle components, a group's modifiers, and a set's groups have no routes of their own. The parent's GET includes them, so the parent's updated event covers changes to them. There are no option, component, or modifier events. Orders that already include a bundle keep their own copy of its components, so replacing them changes nothing else.

Archiving a parent archives its children, and each child sends its own event. Archiving a product sends product_variant.archived for each variant it archived, in the same request as product.archived. Archiving a promotion sends promotion_code.archived for each code it archived, shortly after promotion.archived, because a promotion can have any number of codes. A child that was already archived sends nothing again. Archived products, variants, bundles, modifier groups and sets, promotions, and promotion codes stay readable by ID with status: archived. A deleted category doesn't.

Modifier set event objects include every entry's full modifier_group, for reusable and inline groups alike. A shared group change advances each referencing set's version and updated_at and sends its own modifier_set.updated. Product and bundle categories contain only category_id and handle; join category records by category_id for names. A category rename sends category.updated and leaves product and bundle versions unchanged.

Copies of another resource advance the holder. A variant shows its product's option names, its status through is_available_for_sale, and its images, and a bundle shows each component's variant and product. When a change reaches one of those copies, the holder's version and updated_at advance in the same request and the holder sends its own updated event: a product rename sends bundle.updated for each bundle containing its variants, and a product status change sends product_variant.updated for each active variant and bundle.updated for each bundle containing them. A resource sends at most one event per request, and never updated beside archived.

A parent sends its own event when a child changes its summaries. A variant change that moves its product's default_variant, price_range, active_variant_count, variant_count, is_available_for_sale, or delivery_configuration_status sends product.updated in the same request, beside the variant's own event. Bulk delivery assignment (POST /v1/delivery-profiles/{delivery_profile_id}/assign-to-unconfigured) is the exception: it sends these events shortly after its 202 response, one batch of at most 250 variants or bundle components at a time, each batch's events together. Assigning a product or bundle to a category, removing it, or a promotion starting or stopping to reference a category sends category.updated with the new counts. Creating, changing, or archiving a promotion code sends promotion.updated when it changes the promotion's codes_summary.

Fields that change without an event.

ResourceFieldsChange when
Promotionuses_count, available, unavailable_reason, and codes_summary.active_count and newest_active_codeA buyer redeems or releases a use, a code expires or runs out of uses, or a schedule boundary passes.
Promotion codeuses_count, available, unavailable_reasonA buyer redeems or releases a use, or its promotion or schedule changes.
Categorytargeting_reference_countA return policy or return reason starts or stops referencing it.

uses_count records buyer usage: redemptions and releases change it without advancing version or updated_at. available, unavailable_reason, codes_summary.active_count, and newest_active_code are evaluated when you read them. An event's object records them once, when Flint records the event. Expanded fields and a variant's inventory_availability aren't in event objects; see Fields webhooks leave out. Redemptions, schedule boundaries, sandbox resets, and copying catalog data between environments send no events.

What the object shows. Flint renders the resource through the same code as GET inside the change's own transaction, so the object is exactly the state that change committed, and a retry or resend delivers that same snapshot. category.deleted carries the category as DELETE returned it. Each event's created_at is the time Flint recorded the event, which can be later than the change.

Every change to a catalog resource, including one that reaches it from another resource, advances its version and sends its event, so keep the copy with the higher version. The fields in the table above are the exceptions, and copying catalog data between environments writes the target environment without events. Keep another system in sync walks through mirroring and backfill.

Gift cards#

Object: the gift card, load, redemption, or notification named in the event type, as its GET returns it, or the transaction as the transaction feed returns it. Snapshots never include full codes or recipient access secrets. Notification snapshots leave out delivery; retrieve the notification for its delivery history.

Each command sends one event set, and each resource sends at most one event in it, with data.previous_attributes on change events. A load, redemption, capture, cancellation, expiry, refund to the card, adjustment, or cash-out changes the card's value, so it sends gift_card.updated beside its child events, plus one gift_card_transaction.created for each posting. A freeze, unfreeze, close, or update sends only gift_card.updated. Creating, sending, or canceling a notification sends only the notification's event. Replacing a code sends gift_card.updated and a gift_card_notification.updated for each unsent notification it cancels. A replayed command sends nothing.

Every change advances the resource's version, so keep the copy with the higher version. A redemption's supported_actions is evaluated when you read it: capture leaves the list when expires_at passes, with no event.

Checkout sessions#

Object: the checkout session, with its type, status, terminal_reason, and the order_id, invoice_id, or payment_link_id it belongs to. A replaced session carries superseding_checkout_session_id, the session that took over.

  • checkout_session.created
    A session was created from any origin: your API call, a payment link, an invoice, or a subscription signup. It is open and has no terminal_reason. It carries platform_fee_rule when the request set it or when Flint copied it from a payment link or a replaced session. Buyer payloads leave it out.
  • checkout_session.updated
    The session changed without a new status: for example, the buyer saved their contact, you changed metadata, or a relaunch changed its return URL or page origin. A session that only reaches a new status sends that status event instead.
  • checkout_session.paid
    The session collected its full amount due. Sessions that share an order each send their own.
    payment_succeeded
  • checkout_session.partially_paid
    A payment collected part of the amount due and left a balance. This includes deposits paid with a checkout credential or an API key while the session is open. The session can't collect again.
    payment_partially_succeeded
  • checkout_session.closed
    You closed the session with your API key before payment.
    closed_by_merchant
  • checkout_session.expired
    The session passed expires_at without payment.
    expired
  • checkout_session.invalidated
    A replacement superseded the session, an order edit closed the order or left nothing to pay, a payment outside the session paid the order, or the session's invoice changed. Other order edits keep the session open and send order.updated.
    order_mutatedorder_paid_elsewheresupersededinvoice_paid_elsewhereinvoice_voidedinvoice_uncollectibleinvoice_balance_changed

When Flint clears a buyer's contact under its retention policy, it sends checkout_session.updated without previous_attributes.

A session shows customer_id, subscription_plan_id, custom_field_answers, and payment_intent_ids from its order and the order's payment intents, so a change to them alone sends order.* or payment_intent.created, not a checkout session event.

If you fulfill from order.paid, use checkout_session.paid for checkout-specific work such as analytics or post-purchase messages, not as a second fulfillment trigger. When an invalidated session carries superseding_checkout_session_id, the buyer has a newer session: send them to it instead of treating the sale as lost. See Checkout sessions.

Object: the payment link. Its status, version, and sales counts are recorded when the change is saved. Item names and the hosted url are read when the event is prepared, moments later, so they can reflect a change made in between.

  • payment_link.created
    A payment link was created.
  • payment_link.updated
    A saved change to the link, including activating or deactivating it, or Flint changing its image after moderation. Every change increases version.

payment_link.created carries platform_fee_rule when set. Setting, replacing, removing, or ending a rule after a revoke advances the link's version. The update includes the prior value in previous_attributes.platform_fee_rule, or null when the link had no rule.

Sales through a link don't send payment_link.updated, even though they change completed_count and total_quantity_sold. Each sale sends order.paid with the order's payment_link_id.

Tickets#

Object: the ticket, one for each ticket an event payment link sold. Every ticket event is a snapshot of the ticket as GET /v1/tickets/{ticket_id} returns it. None carries the admission code.

  • ticket.created
    Flint issued a ticket after the buyer paid. An order of three tickets sends three events.
  • ticket.checked_in
    A ticket was checked in. status is checked_in, and checked_in_at and check_in_method are set.
  • ticket.voided
    You voided a ticket, or a refund voided a ticket that was still valid: a full refund of its order, or a refund of its ticket line. status is voided and voided_at is set. A ticket Flint issues for an order a full refund already reached is issued voided, so ticket.created and ticket.voided arrive together.
  • ticket.updated
    A ticket changed without a status event: its attendee name was set or cleared, its check-in was undone, or its admission code was replaced. A replaced code changes admission_code_last4 and version.

License keys#

Object: the license key, activation, or pool named in the event type, as its GET returns it. License key snapshots show key_last4, never the full key.

Sales change a pool's quantities without advancing its version. A disabled key keeps its activations, so license_key.disabled sends no activation events.

Refunds#

Object: the refund. status is pending, succeeded, partially_succeeded, or failed, and summarizes the per-payment payment_refunds and tender_allocations, which each have their own status. A refund raised by a Return resolution carries return_id and return_resolution_id, and one raised by a credit note carries credit_note_id and invoice_id.

  • refund.created
    An API request, Return, order edit, or credit note created a refund, or Flint created one to return a payment it couldn't accept (initiated_by: "flint"). A refund created already succeeded also sends refund.succeeded in the same event set. A credit-note refund recorded as paid outside Flint (processed_by: "merchant") is always created succeeded.
  • refund.succeeded
    The refund's status became succeeded. No processor is involved when processed_by is merchant: Flint sends this event together with refund.created, with the same snapshot and version.
  • refund.partially_succeeded
    The refund's status became partially_succeeded: some payment refunds succeeded and others failed.
  • refund.failed
    The refund's status became failed. failure_reason says why, including refund_abandoned when Flint stopped trying to send a refund for a payment it couldn't accept. The money is in your balance. Flint hasn't repaid the buyer. Repay them another way if you haven't already.
  • refund.updated
    Any other public change while status stays the same, such as a PATCH, a payment refund needing more information, a pending_reason change, or another payment refund failing on a partially_succeeded refund. It also covers a Flint-initiated refund going back to pending after a bank reversed it, since there's no refund.pending event.

Abandoning a payment_returned refund sends one refund.failed with failure_reason: refund_abandoned. Its data.object matches the Refund returned by GET; previous_attributes contains the changed status, pending_reason, and failure_reason. It sends no refund.updated or order event.

Creation sends refund.created. If the refund starts in succeeded, partially_succeeded, or failed, creation also sends that status event. Each later change of status sends exactly one lifecycle event, with no refund.updated beside it. A replay with no public change sends nothing. Only failed is final: a bank can reject a credit after the refund succeeded, which sends refund.partially_succeeded or refund.failed. Fetch the refund and act on its current status. The order's order.partially_refunded and order.refunded report its aggregate refund_status, not each refund. See Refunds.

Returns#

Object: the Return, receipt, inspection, disposition, or resolution named in the event type. Return, disposition, and resolution snapshots include the merchant resource's supported_actions when Flint records the event.

  • return.* reports the Return itself, including return.decision_recorded, return.completed, and return.reopened. return_receipt.*, return_inspection.*, and return_disposition.* report physical facts about the merchandise, and return_resolution.* reports value for the buyer.
  • Flint publishes one event per resource version, so a retried transition produces one event, and every version that changes a Return gets its own. A request that changes nothing, such as a PATCH that repeats the current values, sends no event and keeps the version.
  • Each request sends at most one event per resource. POST /v1/returns/{return_id}/process sends one event for the Return and one for each receipt, inspection, disposition, and resolution it creates or changes. A Return it creates and decides sends return.created and return.decision_recorded.
  • Verifying receipt lines while creating an inspection sends return_receipt.verified beside return_inspection.created.
  • A resolution's supported_actions can change as its effects progress between events. Read the resolution before taking an action.
  • A receipt's or inspection's available_disposition_quantity is read from its dispositions when the event is recorded, so a disposition changes it without a receipt or inspection event. Follow return_disposition.*.
  • A superseded receipt or inspection is a recorded correction, not a deletion. The old observation stays readable and the correction arrives as a new one, so treat .superseded as a signal to read the Return again rather than to discard what you stored.
  • Resolutions settle through other families. A refund resolution sends ordinary refund.* events, plus order.partially_refunded or order.refunded when it changes the order's refund_status. A resolution the buyer pays sends ordinary payment_intent.* events.

Returns maps these events to buyer portal, point of sale, warehouse, and finance integrations.

Disputes#

Object: the dispute, with its payment_intent_id, order_id, amount_money, status, reason, case_type, and evidence state such as evidence_due_at and is_action_required.

Dispute event identities follow the commit that changed the public dispute, so two changes recorded in the same second remain distinct. Reobserving the same dispute sends nothing. Event created_at is when Flint records the event.

A dispute that opens needing a response sends dispute.created and dispute.needs_response together. After that, one change sends only one of dispute.updated, dispute.needs_response, or an outcome event. A dispute is final after exactly one of dispute.won, dispute.lost, dispute.prevented, or dispute.inquiry_closed. Disputes covers the response queue.

The computed is_action_required, is_evidence_deadline_passed, and supported_actions fields are as of when Flint recorded the snapshot. Once evidence_due_at has passed, reads return is_action_required: false, is_evidence_deadline_passed: true, and no accept action, with no event. Schedule reminders from evidence_due_at. In test mode, dispute.updated with has_evidence: true can follow dispute.needs_response when Flint saves an unsubmitted draft; it doesn't mean someone started or submitted a response.

Subscriptions#

Object: the subscription. An event for a change to the subscription records it at the version the change wrote. That covers its creation, status changes, billing periods and payments, schedule and plan changes, delivery and line item edits, promotion changes, retry dates, and refused resume requests. subscription.created, and subscription.activated for a subscription created active, record the version the creation wrote. subscription.dunning_exhausted records the version of the cancellation or pause that ends the retries. A notice sent ahead of a date, such as subscription.trial_ending or subscription.renewal_upcoming, and a subscription.dunning_exhausted that leaves the subscription past_due change nothing, so they record the version current when Flint sends them. When Flint prepares those events, usually seconds later, it adds the fields it reads from other resources: last_payment_error, outstanding_money, open_renewal_order_id, billing_interval_options, and the delivery's delivery_method and shipping_money. For the subscription.updated sent when Flint detects an upcoming delivery hold or an inventory wait, Flint reads the subscription when it prepares the event, so it can include a change made in between. Events don't record who acted or why: read cancellation_reason, pause_reason, and delivery.updated_by on the subscription.

  • subscription.created
    The subscription was created. It carries platform_fee_rule when a partner app set one, or when Flint copied it from the checkout session that started the subscription.
    statusnext_billing_at
  • subscription.activated
    The first paid period was collected, or the subscription was created already paid or imported. Sent once per subscription.
    status
  • subscription.updated
    A change no more specific subscription event describes: metadata, external_reference_id, next_retry_at, billing interval, payment method, line items, billing schedule fields, a partner app's platform_fee_rule set, replaced, or removed, or ended when the install is revoked (previous_attributes.platform_fee_rule holds the whole previous value, or null for a first rule), a delivery_hold cleared without a charge, a resume request accepted (resume_requested_at set) or refused (it clears and the subscription stays paused). A trial ending sends nothing by itself. Flint sends it at most once per change. When a write triggers a more specific subscription event, that event carries any rule change in previous_attributes.platform_fee_rule.
    the changed fields
  • subscription.trial_ending
    A trial is approaching its end.
    trial_end_at
  • subscription.renewal_upcoming
    A scheduled renewal is approaching. delivery is the preference the renewal will ship with. In the final cycle of a subscription with end_after, subscription.end_upcoming is sent instead.
    next_billing_atdelivery
  • subscription.end_upcoming
    The subscription ends at the close of its current period because of end_after. It takes the place of subscription.renewal_upcoming in the final cycle.
    expires_at
  • subscription.payment_succeeded
    A billing cycle was charged. The cycle's order sends order.paid.
    current_period_start_atcurrent_period_end_at
  • subscription.past_due
    A renewal charge failed and the subscription entered dunning. Each failed automatic retry that changes next_retry_at advances version and sends subscription.updated with the new date. Clearing it after a permanent decline does the same. A final retry that cancels or pauses sends its specific events without a separate subscription.updated.
    statusnext_retry_at
  • subscription.dunning_exhausted
    Automatic retries ran out, or a permanent decline stopped them. status shows the configured outcome: paused, canceled, or still past_due. After a permanent decline, status stays past_due until the retry window closes, then subscription.canceled or subscription.paused follows if your end action cancels or pauses.
    status
  • subscription.cancellation_scheduled
    The buyer or you set the subscription to cancel at the end of its period or trial, or in place of its next payment retry. subscription.canceled follows at scheduled_cancel_at.
    cancel_at_period_endscheduled_cancel_atcancellation_reason
  • subscription.reactivated
    A scheduled cancellation was undone with cancel_at_period_end: false, so the subscription renews as usual.
    cancel_at_period_end
  • subscription.canceled
    The subscription was canceled by request, at period end, by its dunning settings, or because it reached its end_after (cancellation_reason is end_after_reached).
    canceled_atcancellation_reason
  • subscription.paused
    The subscription was paused by request, by its dunning settings, or because a delivery hold ran out.
    paused_atpause_reason
  • subscription.resumed
    Flint applied a resume request. resume_requested_at is null, and status is active, trialing for a trial paused before its first charge, or past_due while an overdue period is collected.
    statusnext_billing_at
  • subscription.cycle_skipped
    The buyer or you skipped a cycle. next_billing_at is the new billing date.
    next_billing_at
  • subscription.plan_change_scheduled
    A plan change was scheduled or replaced for the next charged renewal. The subscription snapshot keeps the current plan and includes the frozen target terms, requester, and nullable effective_at.
    scheduled_plan_change
  • subscription.plan_change_canceled
    A pending change was explicitly cleared with PATCH scheduled_plan_change: null. The subscription snapshot has scheduled_plan_change: null and keeps its current plan.
    scheduled_plan_change
  • subscription.plan_changed
    You moved the subscription to another plan, applied its plan's current lines and prices, or billed a prorated quantity change. When present, data.previous_attributes.subscription_plan_id identifies the previous plan; data.previous_attributes.line_items carries the whole previous line-items array when it changed. previous_attributes can be absent when Flint did not record the prior state.
    subscription_plan_idline_itemsrecurring_subtotal_money
  • subscription.delivery_updated
    The delivery preference of a subscription that ships changed. open_renewal_order_id names a paid renewal order that hasn't shipped and still goes to the previous address; it is absent when there is none, and the signup order never counts.
    deliveryopen_renewal_order_id
  • subscription.delivery_action_required
    A renewal is held because delivery can't be quoted, and nothing was charged.
    delivery_hold
  • subscription.delivery_pause_upcoming
    A held subscription pauses at delivery_hold.ends_at unless delivery is fixed: in three days, or sooner on short intervals.
    delivery_hold

When subscription.activated fires. A subscription created through the API without a trial sends it with the first subscription.payment_succeeded. One created already paid (from a checkout session, a payment link, or an order with subscribed lines) or imported sends it right after subscription.created. A trial that converts sends it with the first charge's subscription.payment_succeeded; the subscription stays trialing until that charge succeeds. If the charge is declined, the subscription goes straight from trialing to past_due and sends subscription.past_due, and subscription.activated follows when a later payment succeeds.

Cancellation and pause reasons. cancellation_reason is buyer or merchant when that side asked, payment_failed when no one asked, and other for a scheduled cancellation with no recorded requester. pause_reason is delivery_action_required when a delivery hold ran out.

Plan changes. period_end keeps the current plan until the next charged renewal. Scheduling or replacement sends the snapshot event subscription.plan_change_scheduled; explicit PATCH null clear sends the snapshot event subscription.plan_change_canceled. Clearing an already empty field sends nothing. At the charged boundary, Flint records subscription.plan_changed before the payment outcome. Delivery remains at least once and unordered, so deduplicate by webhook_event_id and re-read current state.

next_renewal changes the plan immediately and sends subscription.plan_changed. A successful now sends it with subscription.payment_succeeded for the new period. A successful prorated_now plan change or billed quantity change sends the same events while keeping the period and billing date. A zero net prorated change sends only subscription.plan_changed, with no order or payment attempt. A declined immediate change sends no subscription event. Applying or superseding a pending change, or canceling the subscription, clears it without an extra subscription.plan_change_canceled; the existing specific event shows scheduled_plan_change: null. A change to effective_at alone sends no replacement event. A skip sends only subscription.cycle_skipped. Flint sends no plan change email.

Renewal orders. Each successful cycle creates an order, which sends order.paid and carries subscription_id and subscription_cycle. On a plan that ships, the renewal order also gets a fulfillment and sends fulfillment.*, shipment.*, and package.* events; subscription_cycle lets you spot first shipments. An Order now renewal sends the same events as a scheduled one.

Delivery holds. delivery_hold carries reason (method_unavailable, destination_not_served, or rate_unavailable), fixable_by (buyer or merchant), started_at, and ends_at. During a hold Flint creates no renewal order, and cancels an unpaid renewal order already open for that billing date. A new one is created when the hold clears. When a renewal can't get stock, its invoice sends invoice.collection_blocked, and invoice.collection_block_resolved when stock returns. See Ship physical products.

subscription_delivery_migration.completed carries a delivery method migration, not a subscription, with its status and its moved_count, failed_count, pending_count, and failure_reason_counts. List the subscriptions that failed to move from the migration's failures route.

last_payment_error is linked to the renewal order and its payment intent. It is outside the subscription's version and changes without its own subscription event. Refetch after the renewal order's order.* events, which carry subscription_id, or payment_intent.payment_failed.

Payment retries. A payment retry charges a past-due subscription, started by the buyer from their account or by you through the API. Its events carry the retry, with status, order_id, payment_intent_id, and, once it fails, last_payment_error.

Retry payloads use the same object as the merchant GET. payment_intent_id names the payment the command started; it is omitted before charging starts or when no payment intent was created. Read the payment intent for the payment's status and history.

Use the retry events to report how a retry went, for example in your own dunning email, and keep granting and revoking access from the subscription events. See Subscription billing and Recover a past-due subscription.

Invoices#

Object: the invoice for invoice.* events, the payment attempt for invoice_payment_attempt.*, the manual payment for invoice_manual_payment.*, and the delivery attempt for invoice_delivery_attempt.*. A payment attempt, manual payment, or delivery attempt carries invoice_id; fetch the invoice when you need its state. Every invoice event is in the catalog.

Balance events. invoice.issued means the invoice has its number and billing snapshot and is collectible. invoice_payment_attempt.succeeded means one attempt succeeded, and invoice_payment_attempt.failed leaves the invoice collectible. An ACH debit attempt stays processing until the debit settles or fails. Then the invoice reports its balance:

  • invoice.partially_paid fires for each collection that leaves a balance: online, gift card, or manual.
  • invoice.paid fires when the balance reaches zero with collected payments applied, whether the last step was a payment, a credit note allocation, or a late fee waiver.
  • invoice.credited fires when credit note allocations close the invoice with no collected payments remaining.
  • invoice.marked_uncollectible fires when you write the balance off, and invoice.voided when you void the invoice.
  • invoice.reopened fires when reversing a payment or allocation reopens a closed balance, or removes the last collected payment from a partially paid invoice. The invoice is then open or partially_paid.

One change can send several of these events, in no guaranteed order.

Invoice updates. An invoice status or condition event has no companion invoice.updated for the same change. In particular, a scheduled issue failure sends only invoice.issue_failed, and writing off the balance sends only invoice.marked_uncollectible. Applying or reversing a credit note allocation changes the invoice's credit and outstanding amounts and sends invoice.updated unless the invoice sends a status event such as invoice.credited, invoice.paid, or invoice.reopened.

Pausing or resuming reminders and recording the first view send invoice.updated. Repeating the same setting or viewing the invoice again sends no new invoice event.

Platform fee rules. invoice.created carries the rule when set. Setting, replacing, or removing a rule, or ending it after a revoke, advances the version. The event includes the whole previous rule in data.previous_attributes.platform_fee_rule, or null when first set. Flint sends invoice.updated unless the same write triggers a more specific invoice event, which then carries the rule change. Sending the same displayed rule keeps the version and sends no event.

Refunds. Refund status events fire only when refund_status changes to the named value, without invoice.updated. For two partial refunds followed by a final refund, the first sends invoice.partially_refunded, the second sends invoice.updated because refund_status stays partially_refunded, and the final refund sends invoice.refunded. A correction back to none sends invoice.updated too. Refund amount changes behind an unchanged status include later card settlements of a mixed gift card and card refund. Replays that leave the invoice unchanged send no new invoice event. Follow refund.* for each refund's own progress.

Manual payments. invoice_manual_payment.created means you recorded an offline payment, and invoice_manual_payment.reversed means you reversed one in full and its amount returned to the balance. Recording also sends invoice.partially_paid or invoice.paid, and a reversal that changes the invoice's status also sends invoice.reopened.

Reminders and late fees. invoice.reminder_due, invoice.overdue, and invoice.late_fee_due are scheduled from the due date when the invoice is issued, and fire only while a balance remains. invoice.reminder_due is for sending the reminder yourself; the invoice's delivery_mode says whether Flint sends it. invoice.late_fee_assessed and invoice.late_fee_waived follow your calls to the late fee routes, and the fee is in the invoice's late_fees.

Invoice email. Each invoice email, initial send or reminder, is a delivery attempt, as GET /v1/invoices/{invoice_id}/delivery-attempts lists it, with its delivery_type (send or reminder) and the addresses used.

  • invoice_delivery_attempt.sent
    The email service accepted the email. Each successful send also sends invoice.sent; a reminder sends only this event. Retrying the same delivery outcome sends no new invoice event.
  • invoice_delivery_attempt.failed
    The email wasn't delivered. failure_reason says why. A customer deletion that cancels a pending email sends it with failure_reason: "canceled" and the recipient already erased. Its data.previous_attributes lists only status and failure_reason, never the erased to_email or cc_emails.
  • invoice_delivery_attempt.suppressed
    Flint didn't send the email, for example because you send invoice email yourself. suppression_reason says why.

Delivery outcomes lists each reason and what to do. See Invoicing.

Credit notes#

Object: the credit note for credit_note.* events, and the allocation for credit_note_allocation.* events, with its credit_note_id, invoice_id, amount_money, and reversed_at once reversed.

credit_note.issued assigns the credit note number and freezes the lines. Its object is the credit note alone; the invoice and any refund the issue creates send their own events. Issuing without allocation doesn't change the invoice. An allocation does, whether you request it on issue or afterward: credit_note_allocation.created applies credit to the invoice, and credit_note_allocation.reversed returns it to the balance. Both also change the credit note's allocated_money and available_money and send credit_note.updated, except on issue, where credit_note.issued covers the change.

A credit note refund doesn't send a credit note event. The note reads pending_refund_money, refunded_money, latest_refund_status, and the refunded part of available_money from its refunds when you retrieve it, so requesting a refund and each refund outcome change those fields without moving its version. Follow the refund's refund.* events, which carry credit_note_id, and retrieve the note for its current amounts. previous_attributes on credit_note.updated leaves out available_money for the same reason; allocated_money shows the allocation's change.

Issuing with allocation sends credit_note.issued without credit_note.updated, credit_note_allocation.created, and the invoice's status event when its status changes, in no guaranteed order. To know the invoice closed, pair credit_note_allocation.created with invoice.credited or invoice.paid. To know it reopened, pair credit_note_allocation.reversed with invoice.reopened. See Credit notes.

Customers and saved payment methods#

Object: the customer for customer.* events, whether you created it or Flint created it from a buyer's email at checkout, and the payment method for payment_method.* events.

  • payment_method.activated fires when the payment method becomes active and can be charged, which can be after the buyer left your page. Treat it as the signal that a card on file is usable.
  • payment_method.failed reports a save that didn't complete, so no card on file is usable. It also fires when a buyer who saved a card with a mobile number in checkout doesn't confirm it within 24 hours.
  • payment_method.updated fires when a card's details change without a status change, such as new last4 or expiry from the card network after the bank reissued the card. A card whose expiry date passes reads as expired with no event, and one the network renews reads as active again with payment_method.updated, not payment_method.activated.
  • A payment method's is_default follows its customer's default_payment_method_id, so choosing or clearing a default sends customer.updated and no payment method event.

A confirmed staff-started customer email change emits customer.updated with previous_attributes.email.

  • payment_method.archived fires when you or the buyer delete a saved payment method, and when Flint archives one itself, such as a card saved with a phone number the customer replaced or a card detached at the processor. Its object has status: "archived"; it stays readable by ID and can't be charged again.
  • customer.updated fires for each change to the customer's own fields, including a new default address or default payment method, and its data.previous_attributes holds the values that changed. A write that changes nothing, such as the same PATCH sent again, sends no event and keeps the customer's version. An email change sends customer.updated and customer_email_preferences.updated, one for each resource. customer.updated also fires when you approve a deletion request, with status: "deletion_processing". customer.deleted fires when deletion completes: the customer has status: "deleted", the name "Deleted customer", and no personal data.
  • customer_email_preferences.updated
    A customer's preference version advanced because a category or the customer's email changed. data.object is the full CustomerEmailPreferences returned by GET /v1/customers/{customer_id}/email-preferences: customer_id, email, both category booleans, and version.

The preference version is separate from the customer's version. An unchanged preference sends no event, and neither do guest preference changes, removing the customer's email, or customer deletion. When a customer without an email gets one, the event has no data.previous_attributes. If you send your own shipping updates or checkout reminders, honor false in the corresponding category. Look up guest preferences before each send with POST /v1/email-preferences/lookup; both it and the customer read need customers.read. See Honor unsubscribes in email you send.

See Save a card and charge it later.

Customer deletion#

Object: the deletion request, with its customer_id, status, retention_policy, requested_at, and resolved_at once resolved.

A buyer raises the request from their account, and someone on your side approves or rejects it. Subscribe to customer_deletion_request.created if that decision needs to reach a person or a ticket queue. These events go only to the merchant's own endpoints; partner apps receive customer.deleted when a deletion completes.

Deletion anonymizes the customer but keeps the commerce records Flint must retain, which retention_policy: "retain_required_commerce_records" reports: orders, invoices, credit notes, payments, and refunds stay for accounting, tax, and disputes. If you hold your own copy of the buyer's data, customer.deleted is your signal to delete it. See Customer deletion requests for what each record keeps.

Payouts#

Object: the payout, with its amount_money, status, method, initiated_by, fee fields, and payout_destination_id when set.

  • payout.created
    A payout was created. It is scheduled, not arrived.
  • payout.updated
    Any other change, such as the payout going in_transit.
  • payout.succeeded
    The payout transfer succeeded.
  • payout.failed
    The transfer failed. Outbound funds return to your balance; inbound funds leave it again. A succeeded payout can still fail if the bank returns the transfer.
  • payout.canceled
    A manual payout was canceled while pending.
  • payout.reversed
    Flint pulled a paid payout back from your bank. reversal_status becomes reversed and status stays succeeded.

A status transition sends its specific event without payout.updated alongside it. A public change without a specific event sends payout.updated. Re-observing the same state sends no new event. A payout created already succeeded, failed, or canceled sends payout.created and that status event.

For the payout lifecycle and how to handle a failure, see Payouts.

Payout destinations and settings#

Object: the payout destination or payout settings that changed.

payout_destination.archived fires when DELETE /v1/payout-destinations/{payout_destination_id} removes a destination, which stays readable by ID with status: archived. payout_destination.disabled fires when your processor disables a destination, never for a DELETE. Reconciliation that restores a stored destination to active sends payout_destination.updated. payout_settings.updated fires when your payout schedule or settings change. See every payout destination event.

Balances#

Object: balance.updated carries the balance as GET /v1/balances returns it, including observed_at, the time Flint observed the amounts. balance_transaction.* carries the balance transaction.

balance_transaction.created is the backbone of reconciliation: one event per ledger entry, and each entry links to its source in related_resource (resource_type and resource_id) when it has one. balance_transaction.updated fires when an entry changes, including becoming available, receiving corrected resource links, or acquiring its payout_id. On a pending entry, available_at is the expected date.

fee_money is the fee on the movement: positive for charges and negative for returned fees. On a payment it matches the payment's processing_fee_money plus its add_on_fees (Processing fees). On a dispute or reversal it includes a processor dispute fee deducted from or returned to your balance. A won dispute alone doesn't return that fee. net_money is amount_money minus fee_money. Refunds, standard payouts, and merchant billing collections have a zero fee.

payout_id names the payout that carried the entry, once that payout's contents are prepared. Assigning it sends balance_transaction.updated for each assigned entry. To read a payout's contents, use GET /v1/balance-transactions?payout_id=...; see What's in a payout.

The first time Flint stores a balance, it sends balance.updated without previous_attributes. Later changes to the balance amounts send balance.updated; changes only to observed_at send no event.

A payout you create moves its amount from available_money to held_money, which balance.updated reports. It adds no balance transaction until the payout debits your balance.

Merchant billing#

Merchant billing is what you owe Flint, not what your customers owe you.

Object: merchant_billing_balance.updated carries the billing balance, with outstanding_money, available_credit_money, and observed_at. The payload is the balance when Flint sends the event. Events carry no previous_attributes, because changes can commit concurrently. merchant_billing_invoice.issued and merchant_billing_invoice.updated carry the invoice Flint issued to you, as GET /v1/merchant-billing-invoices/{merchant_billing_invoice_id} returns it, with its invoice_number, status, money fields, billing period, and line_items. merchant_billing_invoice.issued fires once for each invoice, including one that credit pays in full when Flint issues it. merchant_billing_invoice.updated fires when a collection, a reversed collection, or a write-off changes the invoice, and its previous_attributes holds the values the change replaced.

When Flint collects what you owe from your Flint balance, the collection sends balance_transaction.created with type merchant_billing_collection. A reversed collection sends one with type merchant_billing_collection_reversal, whose related_balance_transaction_ids holds the collection it reverses.

merchant_billing_balance.updated doesn't carry the entries behind the change, and no event fires per entry. List GET /v1/merchant-billing-entries?created_after=... and deduplicate by merchant_billing_entry_id. An entry can be recorded after entries that occurred later, so filter on created_after, not occurred_after. See Merchant billing.

Reports#

Object: the report as GET /v1/reports/{report_id} returns it, with either a download or a failure_reason.

Use report.succeeded and report.failed instead of polling. failure_reason is generation_failed, data_unavailable, or limit_exceeded. The download URL in a report.succeeded event expires 24 hours later, so download on receipt rather than storing the URL. Report events go only to the merchant's own endpoints, because report routes refuse partner app tokens. See Reports.

Merchant profile#

Object: the merchant, as GET /v1/merchant returns it in the event's mode, including readiness.

  • merchant.updated
    The merchant profile, business name, status, API version, logo, or icon changed.

The profile is shared by every environment, so one change sends merchant.updated to each active environment. The event carries data.previous_attributes with the profile fields the change replaced. Readiness changes alone send merchant.readiness_updated instead, and readiness never appears in previous_attributes. When one change updates the profile and publishes readiness, you get both events. Compare version with the merchant you stored and keep the higher one.

Merchant readiness#

Object: the merchant, as GET /v1/merchant returns it in the event's mode, with its readiness: the payments and payouts axes, every entry of capabilities, the requirements lists, and observed_at.

merchant.readiness_updated fires when published payment, payout, or onboarding readiness changes in that environment, for example after a verification or account change, newly scheduled requirements (requirements.upcoming_due or upcoming_due_at changed), a payment or payout capability activation or loss, or a processing pause or resumption. Scheduling, canceling, or starting a review pause each triggers a readiness update, even if the published readiness is unchanged. Use the scheduled review pause fields to tell when the pause will take effect. While Flint's review pauses the account, readiness.payments.status_reason is platform_review. While a past-due Flint balance holds payouts, readiness.payouts.status_reason is billing_suspended and payments stay ready. Sandbox processor transitions follow the same rule, so you can rehearse the flow before going live.

The event includes blocked_since on blocked payments, payouts, and capabilities when Flint knows when the current block began. The timestamp stays the same when the reason changes during that block.

Use the event as a prompt to read readiness again. A review-pause event carries the current readiness when Flint publishes it, so a delayed schedule event can carry readiness from after cancellation or start. A timestamp change alone sends no event. The first publication after this change sends an event even if readiness is unchanged, and unchanged readiness can arrive again during rollout. Deliveries can repeat. On receipt, read GET /v1/merchant and act on that response; compare readiness.observed_at to order two reads. It includes the time a review pause was scheduled, canceled, or started early. During onboarding, the event speeds up the polling described in After the owner exits.

Custom domains#

Object: the custom domain after the change, as GET /v1/custom-domains/{custom_domain_id} returns it.

  • custom_domain.updated
    A checkout or customer account domain changed, other than by being archived: its status, status_reason, dns_records, or payment_method_domain_id.
  • custom_domain.archived
    The domain was archived. Archiving it again sends nothing.

A new last_checked_at alone sends no event, and neither does a new active_payment_attempt_count, which counts payment intents you already receive events for. When the status isn't active, status_reason says what to fix, such as dns_record_missing or caa_record_blocks_certificate. On archived, status_reason is null, redirect_expires_at says when the hostname's redirects end, and dns_records lists the records you can delete. active_payment_attempt_count is null for a customer account domain. status and status_reason can gain values, so treat a value you don't recognize as needing attention. Match events by custom_domain_id: a replacement hostname is a new domain with its own ID. See Custom domains.

Delivery configuration#

Object: the delivery profile, zone, location set, method, or rate callback named in the event type, as its GET returns it, or the delivery revocation.

Each write sends at most one event for each resource it changed, and only when it advances the resource's version:

  • created follows a create, and archived follows an archive. Methods and rate callbacks also send activated and deactivated when their status changes. A status change never also sends updated.
  • updated follows any other change, with the earlier values in data.previous_attributes. A PATCH that carries a revision field always publishes a new revision and sends updated, even when the values are unchanged.
  • Changing a rate callback's signing_methods, alone or with other fields in the same PATCH, or rotate-secret issuing its first secret (which adds hmac), sends one delivery_rate_callback.updated with the earlier values, including signing_methods, in data.previous_attributes. Rotating a secret that already exists changes nothing the callback shows and sends no event.
  • Making a profile the catalog default sends delivery_profile.updated for it and for the profile that stops being the default, which changes their is_default.
  • Revoking a method's or rate callback's current revision sends delivery_revocation.created and that resource's updated, because its delivery_revocation_id and version change. Revoking an older revision, a signing key, or a Location geography sends only delivery_revocation.created.
  • A PATCH whose values match the stored ones, including a signing_methods set equal to the current one, or a status change to the current status, changes nothing. It keeps the version and sends no event.

A method's subscription_counts is read from its subscriptions, so a subscription change sends subscription.*, not delivery_method.updated. A rate callback's circuit_state and circuit_failure_count follow Flint's recent calls to it and send no event; read the callback when you need them.

Tax connection#

Object: the tax connection after the change, as GET /v1/tax-connection returns it.

tax_connection.updated fires on every committed change to the connection's public state or its registrations: when the connection starts, when the first registration is added or the last is deleted, when a connect succeeds or ends in attention_required, when a disconnect finishes, and when Flint support disables the connection. A registration create, edit, activation, or deletion counts as a change. A write that records only Flint's internal provisioning progress leaves version as it was and sends nothing, so every new version arrives as an event. Compare version with the connection you stored and keep the higher one.

The read-time states business_details_changed and temporarily_unavailable send no event. A registration's status can also change without an event, when a start or end date passes. Read GET /v1/tax-connection when automatic tax fails. Registrations have no events of their own: list tax registrations again after a connection event.

Partner apps#

Object: the partner app after the change, as GET /v1/partner-apps/{partner_app_id} returns it, including platform.

  • partner_app.updated
    An app you own changed without reaching a new platform status: an edit, a client secret change, its platform fee cap, its payment splits declaration, its platform profile, a terms acceptance, the write that moves it to pending_review, new limits or reserve, or deleting it.
  • partner_app.platform_approved
    platform.status became approved.
  • partner_app.platform_limited
    platform.status became limited, including when Flint paused the platform or the app requested a capability Flint hasn't approved, such as by declaring payment_splits.
  • partner_app.platform_rejected
    platform.status became rejected.

These events go to the owning merchant's own live endpoints, not to the app's partner endpoints, and never include a client secret. platform.limits.usage and the owning merchant's readiness change without an event; the merchant receives merchant.readiness_updated for its readiness. Compare version with the app you stored and keep the higher one. See Become an approved platform.

Payment splits#

Source: merchant, collecting merchant only. Kind: snapshot.

Object: the payment split as GET /v1/payment-splits/{payment_split_id} returns it, including its reversals.

  • payment_split.created
    A split was created with a payment you collect. It starts pending.
  • payment_split.updated
    A split changed: capture set its amount, its pending reason or funds availability changed, it reached processing, or a reversal was added or changed.
  • payment_split.succeeded
    The split reached the seller's balance.
  • payment_split.failed
    The seller couldn't receive the split within seven days. Its remaining amount returns to the collecting merchant.
  • payment_split.canceled
    The split will never transfer. canceled_reason says why. Later reinstatements appear on its reversals.

These events go to the collecting merchant's endpoints in the payment's mode. Sellers learn of received funds through balance_transaction.created on their own ledger, with related_resource naming the split. A split change sends no payment_intent.updated event. Compare a split's version with the version you stored and keep the higher one.

Platform fees#

Object: the platform fee after the change, as GET /v1/platform-fees/{platform_fee_id} returns it.

  • platform_fee.created
    A partner app you own recorded a platform fee with a payment it created for an installed merchant, or Flint recorded one a platform_fee_rule priced. status is pending, or canceled when Flint can't collect the fee from the start.
  • platform_fee.updated
    A fee changed without a new status: Flint priced amount_money again at confirm or capture, held reserve_hold_money after collecting the fee, or added subscription_id to the fee of a sole subscription signup.
  • platform_fee.succeeded
    status became succeeded: Flint collected the fee with its payment.
  • platform_fee.canceled
    status became canceled: Flint collected no fee. canceled_reason says why.

These events go to the endpoints of the merchant that owns the partner app, in the fee's mode, not to the app's partner endpoints or to the installed merchant. A fee Flint records already canceled sends platform_fee.created and then platform_fee.canceled. Compare version with the fee you stored and keep the higher one.

Test clocks#

Object: the test clock after the change, as GET /v1/test-clocks/{test_clock_id} returns it.

Test clocks exist only in sandboxes, so these events come only from sandboxes. Flint records test_clock.ready after every event the advance caused, such as the renewals and notices of the clock's subscriptions, and those events carry test_clock_id. Deliveries can still arrive in any order, but once the clock is ready, GET /v1/webhook-events lists them all. Compare version with the clock you stored and keep the higher one. See Test clocks.

Event sequences by scenario#

These sequences show the order in which the events typically arrive. Delivery order isn't guaranteed, so handle each event on its own.

Hosted checkout payment#

A buyer pays on a checkout session or payment link. checkout_session.created arrived earlier, when the session was created.

  1. What happens: The buyer pays on the hosted page
  2. Flint sends: payment_intent.succeeded
    The charge settled.
  3. Flint sends: order.paid
    The order became fully paid. Check dispute_status before you fulfill.
  4. Flint sends: checkout_session.paid
    The session is paid. Carries order_id.
  5. Flint sends: balance_transaction.created
    The charge reached your balance.

To fulfill from an event other than order.paid, first confirm the order's payment_status is paid. A session can collect one installment of an order's balance, so fulfilling from checkout_session.paid can ship an order before it is paid.

Manual capture#

You place a hold now and capture later. See Manual capture.

  1. What happens: You confirm with manual capture
  2. Flint sends: payment_intent.requires_action
    Only if 3D Secure is required.
  3. Flint sends: payment_intent.requires_capture
    The hold is on. The order's authorization_amounts shows it.
  4. What happens: You capture
  5. Flint sends: payment_intent.succeeded
    The captured amount settled.
  6. Flint sends: order.paid
    Only when the capture covers the order. A partial capture sends order.partially_paid instead.
  7. What happens: You cancel the hold
  8. Flint sends: payment_intent.canceled
    The hold is released into released_money.
  9. What happens: The hold reaches authorization_expires_at
  10. Flint sends: payment_intent.expired
    The hold lapsed and is in released_money.

Refund#

  1. What happens: You call POST /v1/refunds
  2. Flint sends: refund.created
    The refund was recorded. If it starts in succeeded, the same commit also sends refund.succeeded.
  3. Flint sends: refund.updated
    A public field changed while the refund is still pending, such as a payment refund entering requires_action. Network acceptance alone sends no event when the public refund is unchanged.
  4. Flint sends: order.partially_refundedororder.refunded
    Only when the order's refund_status changes.
  5. What happens: The refund settles
  6. Flint sends: refund.succeeded
    Status succeeded.
  7. Flint sends: balance_transaction.created
    The debit on your balance.
  8. What happens: The refund fails
  9. Flint sends: refund.failed
    Status failed. failure_reason says why.

Check status on the create response. It reports the outcome when processing finishes during the request; otherwise it returns pending. Follow a pending refund with GET /v1/refunds/{refund_id} or refund.* events. Keep handling events after succeeded, because a bank rejection can still move the refund to partially_succeeded or failed. A refund with processed_by: "merchant" skips all of this: it sends refund.created and refund.succeeded in one step, moves no balance, sends no balance_transaction.created, and stays succeeded. Its invoice and order each send one event for the refund: invoice.partially_refunded or invoice.refunded when refund_status changes, otherwise invoice.updated, and the same pattern for order.*.

Return#

A buyer returns merchandise and is refunded for it. Steps vary by flow: an in-store return records receipt, decision, and resolution in one call, so its events arrive together.

  1. What happens: The buyer requests a return
  2. Flint sends: return.created
    A Return was created.
  3. What happens: You or policy automation decide
  4. Flint sends: return.decision_recorded
    The merchant or policy automation recorded line-level Return decisions.
  5. What happens: The warehouse records what arrived
  6. Flint sends: return_receipt.created
    A Return receipt observation was recorded.
  7. Flint sends: return_inspection.created
    A Return inspection observation was recorded.
  8. Flint sends: return_inspection.acceptance_decided
    Acceptance was decided for a Return inspection observation.
  9. Flint sends: return_disposition.created
    A merchandise disposition was recorded for a Return.
  10. Flint sends: return_disposition.updated
    A Return disposition changed execution state.
  11. What happens: The buyer's refund is proposed and confirmed
  12. Flint sends: return_resolution.created
    A proposed buyer-value resolution was created for a Return.
  13. Flint sends: return_resolution.updated
    A Return resolution changed proposal, gate, effect, or fulfillment state.
  14. Flint sends: refund.created
    A refund resolution settles as an ordinary refund.
  15. Flint sends: refund.succeeded
    A refund succeeded in full.
  16. Flint sends: order.partially_refundedororder.refunded
    When the order's refund_status changes.
  17. What happens: Every merchandise and value obligation clears
  18. Flint sends: return.completed
    A Return completed after every required merchandise and buyer-value obligation cleared.

When a job needs every obligation cleared, act on return.completed, not on the resolution: a resolution can settle while merchandise work is still open. return.updated fires throughout as line-level progress changes, so treat it as a prompt to read the Return again, not as a stage.

Dispute#

  1. What happens: The card network opens a chargeback
  2. Flint sends: dispute.createdordispute.needs_response
    Both fire together. The evidence deadline is running.
  3. What happens: You submit evidence
  4. Flint sends: dispute.updated
    The case is under review.
  5. What happens: The bank decides
  6. Flint sends: dispute.wonordispute.lost
    One of them fires. The dispute is final.
  7. What happens: The case ends before a chargeback
  8. Flint sends: dispute.preventedordispute.inquiry_closed
    One of them fires. The dispute is final.

Subscription billing#

  1. What happens: Signup completes
  2. Flint sends: subscription.created
    Hosted signup also sends customer.created and payment_method.activated. A subscription created already paid also sends subscription.activated here.
  3. What happens: The trial ends and the first charge succeeds
  4. Flint sends: subscription.payment_succeeded
    The subscription after the charge. It stays trialing while the charge is pending, and the trial ending sends no subscription.updated.
  5. Flint sends: order.paid
    The cycle's order.
  6. Flint sends: subscription.activated
    Sent once for the subscription's lifetime, with the first paid period.
  7. What happens: The first charge after a trial is declined
  8. Flint sends: subscription.past_due
    The status goes directly from trialing to past_due, never through active. A later successful retry sends subscription.payment_succeeded and the one subscription.activated.
  9. What happens: An immediate or scheduled start is paid
  10. Flint sends: subscription.payment_succeeded
    The subscription after the charge.
  11. Flint sends: order.paid
    The cycle's order.
  12. Flint sends: subscription.activated
    Sent once for the subscription's lifetime, with the first paid period.
  13. What happens: Each later successful cycle
  14. Flint sends: subscription.payment_succeeded
    A subscription billing attempt succeeded.
  15. Flint sends: order.paid
    An order became fully paid, including by a manual payment on its invoice. Use payment_intent.succeeded for each successful online payment.
  16. What happens: You change the plan with billing_starts: "now"
  17. Flint sends: subscription.payment_succeeded
    The subscription with the new plan and a new period.
  18. Flint sends: subscription.plan_changed
    Sent with the charge.
  19. Flint sends: order.paid
    The new period's order, with the unused-time credit as a plan_change_credit discount.
  20. What happens: A renewal fails
  21. Flint sends: subscription.past_due
    Dunning started. Each failed automatic retry that changes next_retry_at advances version and sends subscription.updated with the new date. Clearing it after a permanent decline does the same. A final retry that cancels or pauses sends its specific events without a separate subscription.updated.
  22. What happens: A retry succeeds
  23. Flint sends: subscription.payment_succeeded
    A subscription billing attempt succeeded.
  24. What happens: Retries run out
  25. Flint sends: subscription.dunning_exhausted
    status shows the outcome your dunning settings chose.
  26. What happens: A charge is declined permanently
  27. Flint sends: subscription.dunning_exhausted
    Sent right away with status still past_due. When the retry window closes, the end action follows with subscription.canceled or subscription.paused, or the subscription stays past_due under notify_only.
  28. What happens: The buyer or you cancel at period end
  29. Flint sends: subscription.cancellation_scheduled
    cancel_at_period_end is true, with scheduled_cancel_at and cancellation_reason.
  30. Flint sends: subscription.reactivated
    Only if the cancellation is undone before then.
  31. Flint sends: subscription.canceled
    At scheduled_cancel_at.

Provision access on subscription.activated, warn on subscription.past_due, and revoke on subscription.canceled. If access depends on the plan, read subscription_plan_id again on subscription.plan_changed.

Catalog sync#

A product with two variants is created, repriced, and retired. Promotions and their codes follow the same pattern.

  1. What happens: You call POST /v1/products with options and two variants
  2. Flint sends: product.created
    The product, with variant_count 2.
  3. Flint sends: product_variant.created
    Once for each variant, so twice. The default variant is one of them.
  4. What happens: You change one variant's price
  5. Flint sends: product_variant.updated
    The variant after the change.
  6. Flint sends: product.updated
    The product with its new price_range.
  7. What happens: You rename the product
  8. Flint sends: product.updated
    The product. Its variants don't show its name and send nothing; a bundle containing them would send bundle.updated.
  9. What happens: You archive the product
  10. Flint sends: product.archived
    The product with status: archived.
  11. Flint sends: product_variant.archived
    Once for each variant the archive retired, so twice, in the same request.

Payout cycle#

  1. What happens: Flint schedules funds to your bank
  2. Flint sends: payout.created
    A payout was created. Its direction identifies a bank deposit or a debit to cover a negative balance.
  3. Flint sends: payout.updated
    The payout is in_transit.
  4. Flint sends: payout.succeededorpayout.failed
    Paid, or failed with the funds returned to your balance.
  5. What happens: The bank returns the deposit
  6. Flint sends: payout.failed
    A paid payout failed, and its funds returned to your balance.

How event types are named#

Every event type is <resource_type>.<event>, with exactly one dot. The part before the dot is the public resource_type of data.object, the same value resource references, timelines, and the resource_type filter on GET /v1/webhook-events use. The part after the dot is one of these:

  • A generic verb. created, updated, archived when a DELETE leaves the resource readable with status: archived (payout_destination.archived), or deleted when it can no longer be read (category.deleted).
  • A status the resource declares. payout.succeeded, dispute.won, refund.failed. The name can use the status's verb form (active becomes activated, inactive becomes deactivated, open becomes opened or reopened) or the past tense of the action that enters the status (invoice.issued enters open, invoice.marked_uncollectible enters uncollectible).
  • A condition about the resource. payment_intent.payment_failed, invoice.late_fee_assessed, subscription.renewal_upcoming.

Names never use a synonym for a status, such as completed for paid: checkout_session.paid reports the session's paid status, and payment_method.activated reports active. Names never use status_changed. Renaming an event is a breaking change that Flint announces in the changelog, and stored events keep reading under the new name (see Previous names).

One change, one event per resource#

Each change belongs to the resource that changed. A child resource with its own resource_type sends its own events, and its object carries its parent's ID: a new shipment sends shipment.created with fulfillment_id and order_id. When the same change also moves the parent's own fields, the parent sends its own event too. A refund changes a payment intent's refunded_money and refund_status, so it sends payment_intent.updated beside the refund.* event.

Contents that have no routes of their own belong to the parent and send the parent's events. An invoice's late fees, a product's options, a package's items, and a tax connection's registrations work this way. Adding an item to a package sends package.updated.

A new version always arrives as an event. A change sends one event for each status the resource entered and each condition that occurred, and otherwise one <resource_type>.updated. It never sends updated beside another event for the same resource. Flint confirming a state it already recorded, such as a processor confirming a payment that already succeeded, sends nothing.

A few cases differ:

  • A condition can repeat without a public change. A second payment_intent.payment_failed for a different payment attempt can leave the payment intent looking the same as after the first. Each occurrence still sends its own event.
  • A resource can be born in a status. A refund that succeeds in the request that creates it sends refund.created and refund.succeeded. A resource created in its normal starting status sends only .created.
  • No event carries previous_attributes when the change creates the resource, because there is no earlier value to compare. This includes a status event sent beside .created.
  • Merchant readiness is its own observation. merchant.readiness_updated reports what Flint learned from the payment provider. It doesn't replace merchant.updated: a change that updates the profile and publishes readiness sends both.
  • Billing balance events omit previous_attributes. merchant_billing_balance.updated carries the balance when Flint sends the event, because changes to what you owe can commit at the same time.

A few fields change without an event because the resource doesn't record them: values that show another resource's current state when you read it, values computed from the clock, and times when Flint last checked something. Fields that change without an event lists them with the events that tell you to read again.

Payments follow the same rule. A hold, capture, cancellation, or expiry is a payment intent event, and the payment intent carries order_id; the order sends no event for it. A refund's lifecycle is refund.*, and the refund carries order_id and payment_intent_id. The order reports only its own aggregate statuses.

Aggregate status events#

Orders and invoices report their own aggregate status fields:

EventReports
order.partially_paid, order.paidThe order's payment_status
order.partially_refunded, order.refundedThe order's refund_status
invoice.partially_paid, invoice.paidThe invoice's status
invoice.partially_refunded, invoice.refundedThe invoice's refund_status

The order events fire when the field changes, rather than once for each payment or refund behind it. invoice.partially_paid also fires for each new collection while the invoice stays partially paid.

Status coverage#

Each status of a resource with events is reported in one of three ways: its own status event, the state a created event reports, or an updated event. These statuses are the exceptions. A change into one sends no event:

  • Statuses a resource starts in, when it has no created event. Payment methods start pending. Invoice delivery attempts start pending, and invoice payment attempts start open. Reports start pending. Subscription delivery migrations start pending. Inventory counts and transfers start draft. Delivery selections start selected. Read the resource by ID when you need to know one exists.
  • Working states that last seconds to minutes. Payment reviews and subscription payment retries use resolving and processing while Flint works, and subscription delivery migrations use processing. A canceled inventory count sends nothing, and a delivery selection locked for payment, replaced, expired, or released sends nothing. The next status that sends an event tells you how the work ended. A change into one of these states sends no updated either.
  • States computed when you read. A saved payment method's expired status comes from the card's dates, so nothing is written when the card expires.

Some resources send no updated event at all. Immutable records capture the whole fact when they are created: fulfillment events, gift card transactions, inventory receipts, and delivery revocations. Return receipts and inspections change only through their named events. Test clocks change only through their status events.

These resources send events for their statuses and named conditions without a generic updated event: credit note allocations, customer deletion requests, delivery selections, environment grants, invoice delivery attempts, invoice manual payments, invoice payment attempts, payment reviews, platform fee payouts, reports, subscription delivery migrations, subscription payment retries, and test clocks. Completed order edits, delivery revocations, fulfillment events, gift card transactions, and inventory receipts keep their captured facts and have no generic updated event. Return receipts and return inspections publish their named decisions and supersession. Their status events report the result. Working states such as processing on subscription delivery migrations and payment retries send no event (FLI-1639). Later checkout states on delivery selections send no event; the order reports the outcome (FLI-1704).

When a status or change you need has no event, read the resource. Fields that change without an event lists the computed fields.

Fields that change without an event#

These fields can change while the resource sends no event, because the resource doesn't record the change. A copy built only from webhooks can hold an old value for them. Read the resource when you need the current value. For a field that shows another resource's state, the events in the last column tell you to read it again.

<!-- BEGIN GENERATED FIELDS WITHOUT EVENTS -->

ResourceFieldKind of valueWhy it changesRead again after
API key (api_key)last_used_atFlint's latest observationWhen the key was last used to authenticate a request.None
API key (api_key)statusComputed from the clockA non-revoked key reads expired once expires_at passes; passing the deadline sends no event.None
Balance (balance)observed_atFlint's latest observationWhen Flint last read the balance.None
Checkout session (checkout_session)can_apply_promotion_codeAnother resource's current state, computed from the clockEntry follows current merchant promotion policy and active code promotions in the session's environment. Entry follows promotion schedules and session expiry at read time.promotion.created, promotion.updated, promotion.archived
Checkout session (checkout_session)custom_field_answersAnother resource's current stateRead from the session's order, which records the answers when the payment link is resolved.order.created
Checkout session (checkout_session)customer_idAnother resource's current stateRead from the session's order.order.created, order.updated
Checkout session (checkout_session)subscription_plan_idAnother resource's current stateRead from the session's order.order.created, order.updated
Checkout session (checkout_session)delivery_selection_requiredAnother resource's current stateWhether the order still needs a delivery selection follows the order's line items and fulfillment.order.updated, fulfillment.created, fulfillment.updated
Checkout session (checkout_session)payment_intent_idsAnother resource's current stateRead from the payment intents of the session's order.payment_intent.created
Credit note (credit_note)supported_actionsAnother resource's current stateIssue eligibility depends on whether the parent invoice is draft or voided. Void eligibility follows the totals of the credit note's refunds.invoice.issued, invoice.voided, refund.created, refund.updated, refund.partially_succeeded, refund.succeeded, refund.failed
Credit note (credit_note)pending_refund_moneyAnother resource's current stateRefund progress follows the credit note's refunds.refund.created, refund.updated, refund.partially_succeeded, refund.succeeded, refund.failed
Credit note (credit_note)refunded_moneyAnother resource's current stateRefund progress follows the credit note's refunds.refund.created, refund.updated, refund.partially_succeeded, refund.succeeded, refund.failed
Credit note (credit_note)latest_refund_statusAnother resource's current stateRefund progress follows the credit note's refunds.refund.created, refund.updated, refund.partially_succeeded, refund.succeeded, refund.failed
Credit note (credit_note)available_moneyAnother resource's current stateRefund progress follows the credit note's refunds.refund.created, refund.updated, refund.partially_succeeded, refund.succeeded, refund.failed
Custom domain (custom_domain)last_checked_atFlint's latest observationWhen Flint last checked the domain.None
Custom domain (custom_domain)active_payment_attempt_countAnother resource's current stateThe number of payments in progress on the domain. Payment intent events report those payments.payment_intent.created, payment_intent.requires_action, payment_intent.requires_capture, payment_intent.processing, payment_intent.succeeded, payment_intent.payment_failed, payment_intent.canceled, payment_intent.expired, payment_intent.updated
Customer deletion request (customer_deletion_request)blocking_resourcesAnother resource's current stateThese fields read the customer's current subscriptions and saved payment methods. Read the pending request again after those resources change.subscription.created, subscription.canceled, payment_method.activated, payment_method.archived, payment_method.failed, payment_method.updated
Customer deletion request (customer_deletion_request)blocking_resource_countAnother resource's current stateThese fields read the customer's current subscriptions and saved payment methods. Read the pending request again after those resources change.subscription.created, subscription.canceled, payment_method.activated, payment_method.archived, payment_method.failed, payment_method.updated
Customer deletion request (customer_deletion_request)canceled_subscription_idsFlint's latest observationFlint records completed cancellations and card removals as deletion progresses. Poll the request with GET; customer_deletion_request.completed or customer_deletion_request.failed includes the completed IDs.None
Customer deletion request (customer_deletion_request)removed_payment_method_idsFlint's latest observationFlint records completed cancellations and card removals as deletion progresses. Poll the request with GET; customer_deletion_request.completed or customer_deletion_request.failed includes the completed IDs.None
Delivery method (delivery_method)subscription_countsAnother resource's current stateCounts the subscriptions that use the method when you read it.subscription.created, subscription.activated, subscription.paused, subscription.resumed, subscription.past_due, subscription.canceled, subscription.delivery_updated
Delivery profile (delivery_profile)unconfigured_assignmentFlint's latest observationFlint's own progress through the profile's latest bulk assignment.None
Delivery rate callback (delivery_rate_callback)circuit_stateFlint's latest observation, computed from the clockFlint's own recent callback outcomes for the current revision. An open circuit reads half_open once its probe delay passes.None
Delivery rate callback (delivery_rate_callback)circuit_failure_countFlint's latest observationFlint's own recent callback outcomes for the current revision.None
Dispute (dispute)is_action_requiredComputed from the clockComputed from the evidence deadline and the current time.None
Dispute (dispute)supported_actionsComputed from the clockComputed from the evidence deadline and the current time.None
Dispute (dispute)is_evidence_deadline_passedComputed from the clockComputed from the evidence deadline and the current time.None
Fulfillment (fulfillment)supported_actionsAnother resource's current stateAction availability follows the order's payment status and payment fulfillment holds, the fulfillment's active shipments, and the merchant's approval setting.order.paid, payment_intent.fulfillment_hold_updated, shipment.created, shipment.updated
Gift card redemption (gift_card_redemption)supported_actionsComputed from the clockCapture eligibility compares a manual reservation's expires_at with the current time.None
Inventory count (inventory_count)lines.*.physical_versionAnother resource's current stateA draft count shows the level's current quantities as its expected quantities.inventory_level.updated
Inventory count (inventory_count)lines.*.expected_on_hand_quantityAnother resource's current stateA draft count shows the level's current quantities as its expected quantities.inventory_level.updated
Inventory count (inventory_count)lines.*.expected_quality_control_quantityAnother resource's current stateA draft count shows the level's current quantities as its expected quantities.inventory_level.updated
Inventory count (inventory_count)lines.*.expected_damaged_quantityAnother resource's current stateA draft count shows the level's current quantities as its expected quantities.inventory_level.updated
Inventory count (inventory_count)lines.*.expected_quarantined_quantityAnother resource's current stateA draft count shows the level's current quantities as its expected quantities.inventory_level.updated
Inventory reservation (inventory_reservation)lines.*.at_risk_held_quantityAnother resource's current stateFlint recomputes protection from the level's sellable stock and the claims ahead of this one when stock moves.inventory_level.updated, inventory_level.shortage_detected, inventory_reservation.at_risk
Inventory reservation (inventory_reservation)lines.*.at_risk_committed_quantityAnother resource's current stateFlint recomputes protection from the level's sellable stock and the claims ahead of this one when stock moves.inventory_level.updated, inventory_level.shortage_detected, inventory_reservation.at_risk
Inventory reservation (inventory_reservation)supported_actionsAnother resource's current state, computed from the clockFlint recomputes protection from the level's sellable stock and the claims ahead of this one when stock moves. Commit availability compares the hold deadline with the current time.inventory_level.updated, inventory_level.shortage_detected, inventory_reservation.at_risk
Invoice (invoice)supported_actionsAnother resource's current state, computed from the clockVoid eligibility depends on whether another credit note is issued, including unallocated notes. Collect eligibility follows currently_due_money, which comes from the schedule's due dates and timezone. Reaching the start of a due window sends no event.credit_note.issued, credit_note.voided
Invoice (invoice)late_fees.*.supported_actionsAnother resource's current stateA late fee's waive eligibility follows the invoice's status. Late fees have no events of their own.invoice.issued, invoice.partially_paid, invoice.paid, invoice.credited, invoice.marked_uncollectible, invoice.voided, invoice.reopened
Invoice manual payment (invoice_manual_payment)supported_actionsAnother resource's current stateAction eligibility follows the parent invoice's status.invoice.issued, invoice.partially_paid, invoice.paid, invoice.credited, invoice.marked_uncollectible, invoice.voided, invoice.reopened
License key (license_key)active_activation_countFlint's latest observationThe number of active installations changes as the key is activated and released.None
License key (license_key)customer_idAnother resource's current stateFollows the customer of the order or subscription.order.updated, subscription.updated
License key activation (license_key_activation)last_validated_atFlint's latest observationValidation checks update last_validated_at without an activation event.None
Merchant (merchant)readinessFlint's latest observationReflects the payment provider's account checks and Flint's capability checks, which change without an update to the merchant.merchant.readiness_updated
Merchant (merchant)api_version_previousComputed from the clockThe previous API version and its rollback deadline are shown only until the 72-hour rollback window ends.None
Merchant (merchant)api_version_rollback_expires_atComputed from the clockThe previous API version and its rollback deadline are shown only until the 72-hour rollback window ends.None
Merchant billing balance (merchant_billing_balance)observed_atFlint's latest observationWhen Flint last read the balance.None
Order (order)gift_card_tender_enabledAnother resource's current stateGift card entry follows whether the merchant has any card that is not closed in this environment.gift_card.created, gift_card.updated
Order (order)supported_actionsAnother resource's current state, computed from the clockAction availability follows the order's payment intents, its open payment attempt, and its collection authority. Action availability compares each payment intent's authorization expiry with the current time.payment_intent.created, payment_intent.requires_action, payment_intent.requires_capture, payment_intent.processing, payment_intent.succeeded, payment_intent.payment_failed, payment_intent.canceled, payment_intent.expired, payment_intent.updated
Order (order)authorization_amountsAnother resource's current state, computed from the clockSums the order's payment intents that are waiting for capture. An authorization drops out once its authorization_expires_at passes.payment_intent.requires_capture, payment_intent.succeeded, payment_intent.canceled, payment_intent.expired, payment_intent.updated
Order (order)active_payment_attemptAnother resource's current stateThe active attempt's legs follow their payment intents. Changes to them, such as a blocked leg becoming payment_returned, are reported by payment_intent.updated, not order.updated.payment_intent.created, payment_intent.requires_action, payment_intent.requires_capture, payment_intent.processing, payment_intent.succeeded, payment_intent.payment_failed, payment_intent.canceled, payment_intent.expired, payment_intent.updated
Order (order)line_items.*.purchased_gift_cardsAnother resource's current stateAn invoice manual payment or its reversal can issue or take back purchased gift cards without changing the order.gift_card.created, gift_card.updated
Order (order)return_credit_settlementsAnother resource's current stateA return credit settles on the replacement order through the return, without changing the order.return_resolution.updated
Order (order)gift_cardsAnother resource's current stateGift card selections show each card's current available balance.gift_card.updated, gift_card_redemption.created, gift_card_redemption.updated
Order (order)gift_card_estimateAnother resource's current stateGift card selections show each card's current available balance.gift_card.updated, gift_card_redemption.created, gift_card_redemption.updated
Order (order)governing_delivery_selection_idAnother resource's current state, computed from the clockAn open unpaid order shows the checkout delivery selection that currently governs it. A delivery selection stops governing the order when its quote expires.delivery_selection.committed
Order (order)fulfillments.*.supported_actionsAnother resource's current stateEach fulfillment's action availability follows its active shipments, payment fulfillment holds, and the merchant's approval setting.shipment.created, shipment.updated, payment_intent.fulfillment_hold_updated
Order edit (order_edit)refund_idsAnother resource's current stateRefund IDs, unrefunded money, and retry availability follow the edit's refunds as Flint creates and processes them.refund.created, refund.succeeded, refund.failed, payment_intent.updated, payment_intent.succeeded
Order edit (order_edit)unrefunded_moneyAnother resource's current stateRefund IDs, unrefunded money, and retry availability follow the edit's refunds as Flint creates and processes them.refund.created, refund.succeeded, refund.failed, payment_intent.updated, payment_intent.succeeded
Order edit (order_edit)supported_actionsAnother resource's current stateRefund IDs, unrefunded money, and retry availability follow the edit's refunds as Flint creates and processes them.refund.created, refund.succeeded, refund.failed, payment_intent.updated, payment_intent.succeeded
Package (package)supported_actionsAnother resource's current stateAction availability follows the parent fulfillment's status and the shipment's status.shipment.updated, fulfillment.updated, fulfillment.completed, fulfillment.canceled, fulfillment.failed
Partner app (partner_app)platform.limits.usageFlint's latest observationPayments and onboarding calls update usage without changing the app.None
Partner app (partner_app)client_secret_last_used_atFlint's latest observationWhen Flint last saw the client secret used.None
Partner app (partner_app)api_version_previousComputed from the clockThe rollback offer and the previous secret show only until their windows end.None
Partner app (partner_app)api_version_rollback_expires_atComputed from the clockThe rollback offer and the previous secret show only until their windows end.None
Partner app (partner_app)previous_secret_expires_atComputed from the clockThe rollback offer and the previous secret show only until their windows end.None
Partner app (partner_app)platform.requirementsAnother resource's current stateFollows the owner merchant's current readiness. A readiness change alone sends merchant.readiness_updated.merchant.readiness_updated
Payment intent (payment_intent)failed_attempt_countFlint's latest observationFlint reads retained failed attempts when it prepares the delivery. They can include attempts recorded after the event's payment intent version.None
Payment intent (payment_intent)failed_attemptsFlint's latest observationFlint reads retained failed attempts when it prepares the delivery. They can include attempts recorded after the event's payment intent version.None
Payment intent (payment_intent)supported_actionsAnother resource's current stateSupported actions follow stored order facts and holding attempts without advancing the payment intent version.order.updated, order.paid, order.partially_paid, payment_intent.created, payment_intent.updated, payment_intent.succeeded, payment_intent.canceled, payment_intent.expired
Payment intent (payment_intent)splitsAnother resource's current stateCurrent split children are read independently of the payment snapshot; their state never advances the payment version.payment_split.created, payment_split.succeeded, payment_split.failed, payment_split.canceled, payment_split.updated
Payment intent (payment_intent)riskAnother resource's current stateFlint reads the current risk from the payment's reviews and fraud warnings.payment_review.opened, payment_review.closed, payment_review.reopened, fraud_warning.created, fraud_warning.updated
Payment intent (payment_intent)refund_expires_atAnother resource's current stateRead from the settlement time the refund refusal uses. The capture that starts the window sends payment_intent.succeeded.payment_intent.succeeded
Payment intent (payment_intent)platform_feeAnother resource's current stateRead from the payment's platform fee record. Flint can lower the fee at confirm and capture, and settles it in the commit that sends payment_intent.succeeded or payment_intent.canceled.payment_intent.succeeded, payment_intent.canceled, payment_intent.expired
Payment link (payment_link)urlAnother resource's current stateThe payment link address follows the merchant's current checkout hostname.custom_domain.updated, custom_domain.archived
Payment link (payment_link)line_items.*.product_idAnother resource's current stateLine item display follows the current products, variants, and bundles.product.updated, product_variant.updated, product_variant.archived, bundle.updated, bundle.archived
Payment link (payment_link)line_items.*.resolved_nameAnother resource's current stateLine item display follows the current products, variants, and bundles.product.updated, product_variant.updated, product_variant.archived, bundle.updated, bundle.archived
Payment link (payment_link)line_items.*.resolved_unit_price_moneyAnother resource's current stateLine item display follows the current products, variants, and bundles.product.updated, product_variant.updated, product_variant.archived, bundle.updated, bundle.archived
Payment link (payment_link)line_items.*.resolved_price_rangeAnother resource's current stateLine item display follows the current products, variants, and bundles.product.updated, product_variant.updated, product_variant.archived, bundle.updated, bundle.archived
Payment link (payment_link)line_items.*.is_catalog_item_unavailableAnother resource's current stateLine item display follows the current products, variants, and bundles.product.updated, product_variant.updated, product_variant.archived, bundle.updated, bundle.archived
Payment link (payment_link)completed_countFlint's latest observationSales through the link update the count without changing the link.None
Payment link (payment_link)total_quantity_soldFlint's latest observationSales through the link update the count without changing the link.None
Payment method (payment_method)statusComputed from the clockA card's status reads expired once its expiry date passes.None
Payment method (payment_method)is_defaultAnother resource's current stateFollows the customer's default_payment_method_id.customer.updated
Platform fee payout (platform_fee_payout)balance_transaction_idAnother resource's current stateThe credit is linked once Flint observes it on your merchant ledger.balance_transaction.created
Product variant (product_variant)inventory_availabilityAnother resource's current stateFlint checks current inventory levels and holds using the merchant's default routing source or the active Location in the current environment that has had inventory allocation enabled the longest when no default is set. Webhooks omit this field.inventory_level.updated
Promotion (promotion)availableComputed from the clockFlint works out availability when you read it, from the status, schedule, and use limits.None
Promotion (promotion)unavailable_reasonComputed from the clockFlint works out availability when you read it, from the status, schedule, and use limits.None
Promotion (promotion)uses_countFlint's latest observationRedemptions update the count without changing the resource.None
Promotion code (promotion_code)availableComputed from the clockFlint works out availability when you read it, from the status, schedule, and use limits.None
Promotion code (promotion_code)unavailable_reasonComputed from the clockFlint works out availability when you read it, from the status, schedule, and use limits.None
Promotion code (promotion_code)uses_countFlint's latest observationRedemptions update the count without changing the resource.None
Reader (reader)connectivityFlint's latest observationWhat Flint last observed of the reader's connection to Stripe.None
Reader (reader)active_payment_intent_idAnother resource's current stateFollows the payment presented on the reader. The payment intent's events report its changes.payment_intent.processing, payment_intent.requires_action, payment_intent.requires_capture, payment_intent.succeeded, payment_intent.payment_failed, payment_intent.canceled
Return inspection (return_inspection)line_items.*.available_disposition_quantityAnother resource's current stateDisposition capacity follows the dispositions recorded against the receipt or inspection.return_disposition.created, return_disposition.updated
Return receipt (return_receipt)line_items.*.available_disposition_quantityAnother resource's current stateDisposition capacity follows the dispositions recorded against the receipt or inspection.return_disposition.created, return_disposition.updated
Return resolution (return_resolution)supported_actionsAnother resource's current stateActions follow the parent Return's status and the progress of the resolution's effects.return.updated, return.completed, return.canceled, return.reopened
Shipment (shipment)supported_actionsAnother resource's current stateAction availability follows the parent fulfillment's status and the shipment's packages.package.created, package.updated, fulfillment.updated, fulfillment.completed, fulfillment.canceled, fulfillment.failed
Shop (shop)urlAnother resource's current stateThe shop address follows the merchant's current checkout hostname.custom_domain.updated, custom_domain.archived
Subscription (subscription)upcoming_delivery_holdFlint's latest observationFlint checks delivery availability before renewal. Read the subscription again for the latest forecast; a delivery hold sends subscription.delivery_action_required.None
Subscription (subscription)inventory_waitFlint's latest observationFlint records the latest inventory wait while preparing a renewal. Read the subscription again for current details; a change to the subscription's status still sends an event.None
Subscription (subscription)scheduled_plan_change.effective_atComputed from the clockThe new plan takes effect at the next charged renewal, so this date follows the renewal schedule.None
Subscription (subscription)last_payment_errorAnother resource's current stateRead from the renewal's order and payment intent.order.updated, order.paid, order.partially_paid, payment_intent.payment_failed, payment_intent.succeeded
Subscription (subscription)outstanding_moneyAnother resource's current stateRead from the renewal's order and payment intent.order.updated, order.paid, order.partially_paid, payment_intent.payment_failed, payment_intent.succeeded
Subscription (subscription)open_renewal_order_idAnother resource's current stateRead from the paid renewal order that hasn't shipped yet.order.paid, order.updated, fulfillment.completed, fulfillment.canceled
Subscription (subscription)billing_interval_optionsAnother resource's current stateFlint reads these from the current plan. Plan edits send no event.subscription.plan_changed
Subscription (subscription)delivery.delivery_methodAnother resource's current stateFlint quotes the method summary and shipping estimate from the current delivery settings.delivery_method.updated, delivery_method.deactivated, delivery_zone.updated, delivery_profile.updated, order.paid
Subscription (subscription)delivery.shipping_moneyAnother resource's current stateFlint quotes the method summary and shipping estimate from the current delivery settings.delivery_method.updated, delivery_method.deactivated, delivery_zone.updated, delivery_profile.updated, order.paid
Subscription (subscription)promotions.*.remaining_cyclesAnother resource's current stateCounted when Flint records the renewal payment, just before the change that completes the cycle.order.paid
Subscription delivery migration (subscription_delivery_migration)moved_countFlint's latest observationFlint records progress as subscriptions are checked and moved. Poll the migration with GET for current counts and failures; subscription_delivery_migration.completed reports the final result.None
Subscription delivery migration (subscription_delivery_migration)failed_countFlint's latest observationFlint records progress as subscriptions are checked and moved. Poll the migration with GET for current counts and failures; subscription_delivery_migration.completed reports the final result.None
Subscription delivery migration (subscription_delivery_migration)pending_countFlint's latest observationFlint records progress as subscriptions are checked and moved. Poll the migration with GET for current counts and failures; subscription_delivery_migration.completed reports the final result.None
Subscription delivery migration (subscription_delivery_migration)failure_reason_countsFlint's latest observationFlint records progress as subscriptions are checked and moved. Poll the migration with GET for current counts and failures; subscription_delivery_migration.completed reports the final result.None
Subscription payment retry (subscription_payment_retry)started_atFlint's latest observationFlint records these details as the retry progresses. Poll the retry with GET; subscription_payment_retry.succeeded or subscription_payment_retry.failed reports the result.None
Subscription payment retry (subscription_payment_retry)order_idFlint's latest observationFlint records these details as the retry progresses. Poll the retry with GET; subscription_payment_retry.succeeded or subscription_payment_retry.failed reports the result.None
Subscription payment retry (subscription_payment_retry)payment_intent_idFlint's latest observationFlint records these details as the retry progresses. Poll the retry with GET; subscription_payment_retry.succeeded or subscription_payment_retry.failed reports the result.None
Tax calculation callback (tax_calculation_callback)circuit_stateFlint's latest observationThe results of Flint's recent requests to your callback. They change without an update to the callback.None
Tax calculation callback (tax_calculation_callback)circuit_failure_countFlint's latest observationThe results of Flint's recent requests to your callback. They change without an update to the callback.None

<!-- END GENERATED FIELDS WITHOUT EVENTS -->

updated_at and version change only with a change that sends an event, so they aren't listed.

Snapshot and notification events#

Every event type has a kind. The catalog endpoint returns it as kind, each OpenAPI webhooks entry publishes it as x-flint-event-kind, and the event catalog shows it on every event.

KindWhat data.object means
snapshotThe resource state recorded for the event. Every retry and resend delivers the same snapshot, rendered at each attempt's API version.
notificationA reminder that a condition came due, such as a due date. The object is the resource when the condition came due, so read the resource before acting.

These event types are notifications. Every other type is a snapshot.

Discovering events at runtime#

GET /v1/webhook-event-types returns every merchant and partner event type, ordered by event_type. Use it to validate your endpoint configuration in CI, or to build tooling that stays current as Flint adds events.

cURL
curl "https://api.withflintpay.com/v1/webhook-event-types" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "data": [
    {
      "event_type": "invoice.overdue",
      "resource_type": "invoice",
      "kind": "notification",
      "previous_names": [],
      "description": "An invoice passed its payment due date with an outstanding balance.",
      "event_sources": ["merchant", "installed_merchants"]
    },
    {
      "event_type": "payment_review.closed",
      "resource_type": "payment_review",
      "kind": "snapshot",
      "previous_names": ["review.closed"],
      "description": "A payment review was resolved or closed by a payment lifecycle change.",
      "event_sources": ["merchant", "installed_merchants"]
    }
  ],
  "next_page_token": "eyJ2IjoxfQ",
  "request_id": "req_01KWM6CV8HCQ8FGRPMSN416WB7"
}
FieldMeaning
event_typeThe current name, exactly what enabled_events, test-event requests, and the event_type filter on GET /v1/webhook-events accept.
resource_typeThe resource type of data.object, the part of the name before the dot.
kindsnapshot or notification; see Snapshot and notification events.
previous_namesNames the type had before a rename. Always an array, empty when the type was never renamed.
descriptionWhat the event reports.
event_sourcesWhich endpoint sources can receive it: merchant, partner_app, or installed_merchants.

page_size defaults to 100, which is also the maximum, and the catalog has 308 types, so follow next_page_token until a response arrives without one.

To send your endpoint a synthetic event of a type it can receive, use the test-events endpoint described in Send a test event. Its data.object is the catalog's example resource, with placeholder IDs that don't exist in your account, so use sandbox activity to exercise your business logic.

OpenAPI webhook schemas#

Each typed entry in OpenAPI's webhooks map fixes event_type with a string const, without x-flint-enum-kind. Each envelope branch also fixes event_source with a const. When an event can come from two sources, its oneOf uses event_source as the discriminator, with an explicit mapping to the source branches. Shared envelope components keep the full extensible event_type enum.

Each entry publishes x-flint-previous-names, the same array as the catalog's previous_names, or [] when the event was never renamed. Tools can use it to suggest the current name without calling the catalog API.

Previous names#

Inputs accept only current names. enabled_events, test-event requests, and the event_type filter on GET /v1/webhook-events reject a previous name with 400 INVALID_REQUEST, whose detail has code INVALID_VALUE and a param naming the input. Replace it with the current event_type from the catalog.

payout.succeeded lists payout.paid in previous_names. Use payout.succeeded in subscriptions, test-event requests, event filters, and handlers.

Reads map previous names permanently:

  • An endpoint subscribed under a previous name reads back with the current name in enabled_events and receives events under the current name.
  • Stored events recorded under a previous name read back with the current event_type, and filtering by a current name also matches events recorded under its previous names.
  • Deliveries send the current name, including retries and resends of events recorded before the rename.

Some types were removed with no replacement. A stored subscription to a removed type is dropped when the endpoint is read, and pending deliveries of a removed type stop. If every entry was removed, the endpoint reads back with "enabled_events": [] and receives nothing until you PATCH it with current names. A stored delivery_rate.created subscription is the exception: it reads back as delivery_method.created plus delivery_method.updated.

Removed typeSubscribe to instead
subscription.payment_failedsubscription.past_due and subscription_payment_retry.failed
invoice.delivery_succeeded, invoice.delivery_failedinvoice_delivery_attempt.sent, invoice_delivery_attempt.failed, and invoice_delivery_attempt.suppressed
fulfillment.status_changedfulfillment.updated and the terminal fulfillment events
order.payment_authorized, order.payment_captured, order.payment_authorization_canceled, order.payment_authorization_expiredpayment_intent.requires_capture, payment_intent.succeeded, payment_intent.canceled, and payment_intent.expired
delivery_profile.activated, delivery_profile.deactivated, delivery_zone.activated, delivery_zone.deactivated, delivery_location_set.activated, delivery_location_set.deactivatedNothing: these resources are only active or archived, so no write sent these types. Use created, updated, and archived.

Stored subscriptions to these types are dropped, not converted, so add the replacements yourself. See the changelog entry.

Partner app events#

Partner app endpoints receive events in a partner envelope. It has partner_app_id instead of mode, merchant_id, and request, and a source object that says which merchant and install the event concerns. The required top-level event_source is partner_app or installed_merchants. data.object is identical to what a merchant endpoint receives.

JSON
{
  "webhook_event_id": "whev_1kmn0aExample",
  "event_type": "partner_app_install.created",
  "event_source": "partner_app",
  "payload_version": 2,
  "api_version": "2026-09-07",
  "partner_app_id": "papp_1kmn0aExample",
  "created_at": "2026-07-03T14:00:00Z",
  "test": false,
  "source": {
    "merchant_id": "mer_1kmn0aExample",
    "partner_app_install_id": "pinst_1kmn0aExample"
  },
  "data": {
    "object": {
      "partner_app_install_id": "pinst_1kmn0aExample",
      "partner_app_id": "papp_1kmn0aExample",
      "merchant_id": "mer_1kmn0aExample",
      "status": "active",
      "environment_grants": [
        {
          "environment_grant_id": "egrt_1kmn0aExample",
          "mode": "live",
          "status": "active",
          "granted_scopes": ["commerce.orders.read"],
          "created_at": "2026-07-03T14:00:00Z",
          "updated_at": "2026-07-03T14:00:00Z"
        }
      ],
      "created_at": "2026-07-03T14:00:00Z",
      "updated_at": "2026-07-03T14:00:00Z"
    }
  }
}

Your app's own lifecycle events, partner_app_install.* and environment_grant.*, come from the partner_app source and carry top-level "event_source": "partner_app". Events about the app itself, partner_app.*, go instead to the owning merchant's own endpoints with "event_source": "merchant". Initial authorization and adding a mode send no event: the code exchange creates the install and grant, sending partner_app_install.created and environment_grant.created (a second mode's exchange sends partner_app_install.updated with its environment_grant.created). environment_grant.updated reports changes to a grant's permissions, approved platform fee cap, or split approval, with data.previous_attributes for changed fields. Re-authorizing a pending grant sends it when the requested permissions or cap change. Lowering or removing a cap also reports changes to revoked grants. Revoking an install before its exchange sends none; revoking a pending grant on an active install sends no grant event, and the install sends partner_app_install.updated.

Resource events from merchants that installed your app come from the installed_merchants source. They carry top-level "event_source": "installed_merchants", with source.mode and source.environment_grant_id identifying the environment and grant that authorize the delivery, and source.sandbox_id in test mode. Flint forwards an event only while the install's grant for that mode is active and holds the event's read scope, such as commerce.orders.read for order, fulfillment, shipment, and package events. merchant.readiness_updated and merchant.updated require merchants.profile.read. Dispute events require payments.disputes.read, payout events money_movement.payouts.read, payout destination and payout settings events money_movement.payout_settings.read, balance.updated money_movement.balances.read, and balance transaction events money_movement.balance_transactions.read. Flint forwards an event type only when a route that reads the event's resource accepts the partner app token with the event's scope, and data.object is what that route returns to the install.

Some families go only to the merchant's own endpoints: merchant billing balances and invoices, reports, customer deletion requests, custom domains, tax connection, tax calculation callbacks, test clocks, and partner apps. The catalog's event_sources says which types an installed-merchant endpoint can receive.

Receive webhooks covers creating partner endpoints, what each lifecycle event means, and the scope every installed-merchant event requires.

Common mistakes#

  • Fulfilling from the wrong event, or from two. payment_intent.succeeded, order.paid, and checkout_session.paid all fire for one hosted payment, but only order.paid means the whole order is paid. The other two can fire for one installment of a larger balance. Fulfill from order.paid, check dispute_status first, and deduplicate on webhook_event_id.
  • Assuming arrival order. Deliveries fan out and retry independently, so a later event can arrive first. Handle each event on its own.
  • Waiting for events that don't exist. There is no payment_intent.captured: a capture arrives as payment_intent.succeeded. There are no product.deleted, product_variant.deleted, option, component, or modifier events. An archived product's variants and an archived promotion's codes each send their own archived event.
  • Reading an outcome from updated. refund.updated never reports a refund's outcome; that is refund.succeeded, refund.partially_succeeded, or refund.failed. An expired hold is payment_intent.expired, not a cancellation.
  • Treating the payload as current state. data.object is a snapshot from when the event was prepared, and a retry can deliver it days later. Fetch the resource before acting on fields that may have moved.
  • Rejecting unknown event types. Flint adds event types over time, and endpoints subscribed with ["*"] receive them right away. Return a 2xx for types you don't handle; an error response uses up retries on events you never wanted.

Next steps#

WebhooksRegister endpoints, verify signatures, and process retries safely.Event catalogEvery event type with its schema and an example payload.TestingTest events, resends, and real sandbox flows.Statuses and supported actionsThe status values these events report.

Platform fee payouts#

Payout events go to the partner app owner's merchant endpoints in the payout's mode. Their object matches GET /v1/platform-fee-payouts/{platform_fee_payout_id}. Linking the observed merchant credit changes no payout version and sends no payout event.

Was this helpful?