Skip to content

Webhooks

Flint sends signed webhook events when payments, orders, subscriptions, refunds, and invoices change. New endpoints default to signing_methods: ["jwt"]: verify each delivery's JWT with Flint's public JWKS and your endpoint ID as the audience, with no shared secret to store.

The Webhooks API registers the URLs Flint delivers to and keeps a record of every event and delivery attempt. Use it to send test events, find and redeliver what your server missed, and stream events to a process that has no public URL. To build a receiver, start with the Webhooks guide. Webhook delivery is the contract for each request Flint sends, and the event catalog lists every event type and its payload.

How the objects fit together#

ObjectIDWhat it records
Endpointwhep_...A URL, the event types it receives, how its deliveries are signed, and the API version its payloads use. A merchant endpoint belongs to the creating key's environment; a partner-source endpoint is global app configuration.
Eventwhev_...One thing that happened, recorded once with the affected resource in data.object. Its ID is the webhook-id header and your deduplication key.
Deliverywdel_...One event on its way to one endpoint, with its status and retry state. An event has at most one delivery per endpoint.
Attemptwatt_...One request Flint sent for a delivery: what your server answered, how long it took, and why it failed.
Event typeorder.paidA catalog entry: the resource it's about, whether it's a snapshot or a notification, and which endpoints can receive it.

Reads need the webhooks.read scope, and everything that changes an endpoint or sends a request to it needs webhooks.write. An event's data and an attempt's response details also require read access to the resource the event is about. Flint keeps event payloads and attempt response details for 14 days, and the records themselves for 90 days; Retention lists what each record keeps after that.

Webhook endpoints#

Create an endpoint with an HTTPS url and enabled_events. Sandbox endpoints may point at a host that isn't live yet; live endpoints must resolve to public addresses when you register or change them. HTTPS, localhost, and private IP checks still apply in sandboxes. Flint checks DNS and rejects private addresses before every delivery attempt.

  • enabled_events needs at least one current event type name. ["*"] subscribes to every type the endpoint's sources deliver, including types added later; * must be the only entry. A PATCH replaces the whole list, so send the merged list, guarded by expected_version. When an event type is renamed, stored subscriptions follow the new name; see Previous names.
  • api_version is default, which follows the merchant's default version at each attempt, or a dated version that pins the endpoint. Omission on create pins the version the request is served at: Flint-Version, or the merchant default when the header is absent. Send "default" explicitly to follow later default changes. A delivery never uses a newer version than the one its event was recorded at. Upgrade with two endpoints moves a handler to a new version with a rollback path.
  • status starts as active unless you create the endpoint inactive.
  • partner_app_install_id optionally links a merchant endpoint to a connected app's install at creation. The field is immutable. Every endpoint resource includes it, with null for an unlinked endpoint. Omit it on create to leave the endpoint unlinked; sending null returns 400 INVALID_REQUEST with detail INVALID_VALUE.
status on webhook endpoint
Final values do not change again
  • active
    Every new event the endpoint subscribes to gets a delivery.
  • inactive
    Nothing is delivered. Setting it suppresses the endpoint's pending deliveries in the same update, with suppression_reason endpoint_inactive, and events that happen meanwhile create no deliveries. Setting active again resumes with new events only; recover the rest.
  • deletedFinal
    Returned only in the DELETE response. Pending deliveries are suppressed with endpoint_deleted, the endpoint can't be read afterward, and its past deliveries keep its webhook_endpoint_id.

Set partner_app_install_id on POST /v1/webhook-endpoints with a live credential or a Dashboard session. The install must belong to your merchant, be active, and have an active grant for the endpoint's environment: live, or the same sandbox as its test grant. Test credentials can't explicitly set the field and get 403 FORBIDDEN with reason live_mode_required. An endpoint created by a linked key inherits the key's install when you omit the field. A linked live key may repeat its own install ID, but can't name another install; a linked test key must omit it.

Only merchant event endpoints can be linked. Combining the field with partner_app_id, or with event_sources containing partner_app or installed_merchants, returns 400 INVALID_REQUEST with detail NOT_ALLOWED.

An install can have up to 25 linked endpoints per environment, separately from its API key limit. Another endpoint returns 409 LIMIT_REACHED with reason partner_app_install_links and limit 25. Delete an unused endpoint before creating another. The link errors for API keys also apply to an endpoint's install reference and grant.

Filter GET /v1/webhook-endpoints with a single partner_app_install_id for an exact match, within the caller's environment. A malformed ID returns 400 INVALID_REQUEST; a well-formed unknown ID returns an empty list. Combining it with a partner event source also returns an empty list. Keep the filter unchanged when following next_page_token.

Revoking the install deletes its linked endpoints in every environment; revoking one grant deletes only that environment's linked endpoints. Sandbox endpoints stop receiving events immediately and are normally deleted within seconds. Before deletion, a stopped delivery records suppression_reason partner_app_install_revoked; after deletion it records endpoint_deleted. An attempt already in flight may still arrive. Moving the test grant to another sandbox during code exchange or archiving the sandbox also ends the old sandbox's links. Resetting the sandbox keeps links, and reinstalling the app doesn't restore deleted endpoints.

Updating an endpoint or rotating its signing secret keeps the link. PATCH doesn't accept partner_app_install_id and returns 400 INVALID_REQUEST with detail UNKNOWN_FIELD if you send it. Unlinked endpoints keep working until separately deleted. What revoking an install ends describes the revoke result and platform cleanup.

Event sources#

event_sources decides whose events an endpoint receives. Merchant endpoints use the default; partner apps add partner_app_id and choose their sources:

event_sourcesReceives
merchant (default)The events of the merchant and environment the API key belongs to
partner_appYour partner app's lifecycle events, such as partner_app_install.created
installed_merchantsEvents from merchants that installed your app, in the modes you list in installed_merchant_modes, which this source requires. ["*"] isn't available with it.

Endpoints with either partner source are global configuration for the named app. They don't belong to a sandbox, even when installed_merchant_modes is only ["test"]. The modes select which installed-merchant events the endpoint receives; they don't grant configuration access.

Partner-source authorization#

Use the app owner's live-mode credential with webhooks.write, or an authorized Dashboard session, to create, update, or delete a partner-source endpoint, rotate its secret, or send a test event. The same authority is required to resend one of its deliveries or create a delivery from a partner-source event. Partner app tokens can't perform these mutations. Authorization is checked on idempotent replays too.

Sandbox endpoint, event, and delivery lists omit all partner-source records. A filter selecting only partner sources returns an empty collection. A direct read of a partner-source endpoint, event, delivery, or its attempts returns 404 RESOURCE_NOT_FOUND, as does a list filter naming one of these records by ID. Use live context for these reads, with the required read scopes. Merchant sandbox webhooks remain scoped to their own sandbox.

  • HTTP 403
    Reason live_mode_required: a test-mode credential tried to mutate partner-source configuration, events, or deliveries. Use a live-mode credential from the app owner's account or an authorized Dashboard session, even for a test event or an endpoint subscribed only to test-mode events
  • HTTP 404
    The referenced endpoint, event, or delivery isn't visible in the caller's context. Sandbox reads can't access partner-source records

Each entry in GET /v1/webhook-event-types lists the event_sources that can receive it. Partner app events covers the partner envelope and install permissions.

Signing methods#

signing_methods is always present on an endpoint and holds jwt, hmac, or both:

signing_methodsEach delivery carriesYou keep
["jwt"] (default)Authorization: Bearer <JWT>, signed with Flint's private keyYour endpoint IDs. No secret exists.
["hmac"]A Standard Webhooks webhook-signature headerThe endpoint's whsec_... secret
["jwt", "hmac"]Both headersBoth, while you migrate a receiver

Rules that span create, update, and rotation:

  • A secret is returned once. The create response includes secret only when the request includes hmac, and rotate-secret returns the new one. A PATCH that first enables hmac also returns the first secret once. Later updates, reads, and lists omit it.
  • PATCH replaces the set, and needs expected_version. Adding hmac when no secret exists issues the first secret and returns it once in data.secret. POST /v1/webhook-endpoints/{webhook_endpoint_id}/rotate-secret only rotates an existing secret.
  • Removing hmac deletes the current and previous secrets. To move an HMAC endpoint to JWT, enable both, deploy JWT verification, then remove hmac, as Change signing methods shows.
  • Rotation overlaps. The replaced secret keeps signing alongside the new one until previous_secret_expires_at: 24 hours by default, or the expire_previous_secret_at you send, up to 7 days ahead. A time at or before now ends it immediately. Rotating again during an overlap ends the older secret at once. See Rotate your signing secret.
  • The URL can't contain a username or password while jwt is enabled.
  • Changes apply to the next attempt, including retries already scheduled. An attempt Flint had already started signing can still carry the earlier signatures.

The JWT claims and verification steps are in JWT signing.

Change an endpoint safely#

Every endpoint has a version that increases with each change to its configuration: an update, a secret rotation, or a status change. Deliveries, attempts, test events, and resends leave it unchanged, so a busy endpoint doesn't conflict with your edits. Send the version you read as expected_version, and Flint refuses the write if someone changed the endpoint since:

Requestexpected_version
PATCH that sends enabled_events, event_sources, installed_merchant_modes, or signing_methods, even as an empty arrayRequired
PATCH that changes only url, description, status, or api_versionOptional
POST .../rotate-secretOptional, in the body
DELETEOptional, as a query parameter

expected_api_version is a separate guard on api_version for a PATCH that also sends api_version. When you send both guards, both must match.

To add refund.failed to an endpoint at version 3, send the full list:

cURL
curl -X PATCH https://api.withflintpay.com/v1/webhook-endpoints/whep_1kmn0aExample \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: webhook-add-refund-failed-v3" \
  -d '{
    "expected_version": 3,
    "enabled_events": ["order.paid", "refund.succeeded", "refund.failed"]
  }'
Response
{
  "data": {
    "webhook_endpoint_id": "whep_1kmn0aExample",
    "url": "https://example.com/webhooks/flint",
    "description": "Fulfillment and refund sync",
    "enabled_events": ["order.paid", "refund.succeeded", "refund.failed"],
    "event_sources": ["merchant"],
    "partner_app_install_id": null,
    "signing_methods": ["jwt"],
    "api_version": "2026-09-07",
    "status": "active",
    "version": 4,
    "created_at": "2026-10-01T14:53:12Z",
    "updated_at": "2026-10-28T17:02:40Z"
  },
  "request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4D"
}
  • HTTP 409
    VERSION_CONFLICTRefresh, then retry
    The endpoint changed after you read it, and nothing was updated. param is expected_version and details[0].current_version is the current version, or param is expected_api_version when api_version changed. Read the endpoint again, rebuild the change from its current state, and send it with a new Idempotency-Key
  • HTTP 400
    Detail REQUIRED with param: "expected_version": a list field was sent without it. Detail REQUIRED with param: "body": the body has only expected_version or expected_api_version, and nothing to change. Detail INVALID_VALUE: signing_methods is empty or has an unknown or repeated value
  • HTTP 409
    Reason secret_not_issued: rotate-secret was called on an endpoint without hmac. PATCH signing_methods to include hmac; the response returns the first secret

Events and event types#

GET /v1/webhook-events and GET /v1/webhook-events/{webhook_event_id} return the events Flint recorded, with the same field names as the delivery envelope, plus event_source, resource_type, resource_id, and api_request_log_id. Merchant events have mode, merchant_id, and request; partner app events have partner_app_id and source instead.

  • created_at is when Flint first recorded the event, which can be later than the resource change. Retries and resends keep it. The resource's own timestamps describe its business times. Older events may carry the resource change or observation time.
  • data comes only from the detail read, while the payload is retained and when your key can read the event's resource. List items never include it. The detail read also adds the originating request's idempotency_key under the same conditions.
  • After 14 days an event keeps its metadata and drops data, payload_version, source, and request.idempotency_key. An event without payload_version can no longer be delivered.
  • Synthetic test events are included by default. Use test=false to exclude them or test=true to return only synthetic events, on both the event list and stream. The delivery list includes their deliveries.
  • Filters answer common questions. delivery_status=failed finds events that exhausted their retries, which is worth an alert. resource_id shows everything that happened to one resource, and request_id the events one API request caused.

GET /v1/webhook-event-types is the catalog of every event type, ordered by event_type. Its page_size defaults to 100, which is also the maximum, and the catalog has more than 100 types, so follow next_page_token until a page arrives without one. Each entry has event_type, description, and event_sources, plus:

FieldMeaning
resource_typeThe public type of the event's data.object: the part of event_type before the dot.
kindsnapshot: data.object is the resource as recorded for the event, the same recorded snapshot on every retry and resend, rendered at each attempt's API version. notification: the event reports a condition, such as a due date arriving, and you fetch the resource for its current state. The OpenAPI webhooks entries publish the same value as x-flint-event-kind.
previous_namesNames the type had before a rename, kept permanently so stored events and subscriptions read back with the current name. Always an array, empty for a type that was never renamed. enabled_events, test events, and event filters accept only the current event_type.

Snapshot and notification events explains how to handle each kind.

Deliveries, resends, and test events#

Each event gets one delivery for each active endpoint subscribed to its type, and the delivery moves through pending, delivered, failed, or suppressed as described in Delivery status. GET /v1/webhook-deliveries/{webhook_delivery_id}/attempts lists every request Flint made for it, oldest first, with your server's response and a recommended_action when one failed.

Attempts use pending (scheduled or in flight), delivered (the endpoint answered 2xx), or failed (a non-2xx response, timeout, or connection failure). These values belong to the extensible message_attempt_status vocabulary; handle unknown values. The same vocabulary applies to attempt_status in action responses and status in webhook attempt timeline entries. WebhookDelivery.status uses the closed message_status vocabulary. The delivery_status in action responses uses the same closed message_status vocabulary and the same values.

Three calls send a request to your endpoint on demand. Each runs the attempt before it responds and requires the endpoint to be active:

ToCallAlso requires
Send an existing delivery againPOST /v1/webhook-deliveries/{webhook_delivery_id}/resendThe event's payload is retained. Any delivery status works, including pending.
Deliver an event to an endpoint that has no delivery for it, such as one published while the endpoint was inactivePOST /v1/webhook-deliveriesThe payload is retained, and the endpoint subscribes to the event's type now
Check your receiver end to endPOST /v1/webhook-endpoints/{webhook_endpoint_id}/test-eventsA type the endpoint's sources can receive. The event is synthetic, with "test": true, and gets one attempt with no retries.

Manual attempts don't use up the automatic schedule. A resend of a pending delivery leaves next_retry_at as it was, and a created delivery whose first attempt fails starts the schedule; Retry schedule has the details. Resend and create accept an optional reason_message to record why you sent it: the resend response and its attempt echo it, and a created delivery records it on its first attempt. Monitor, debug, and resend walks through a recovery with each call's errors.

Stream events without an endpoint#

GET /v1/webhook-events/stream sends a merchant's events as server-sent events over one long-lived connection, so a process with no public URL can follow them. The Flint CLI's flint listen uses it to forward events to localhost. Without a cursor, the stream starts after the newest event at the moment you connect. To resume, send the last frame id you received as the Last-Event-ID header, or as after_event_id; when you send both, they must match. Filter with event_type.

Text
event: ready
data: {"cursor":"whev_1kmn0aExample"}

id: whev_1kmn0bExample
event: webhook.event
data: {"webhook_event_id":"whev_1kmn0bExample","event_type":"order.paid","api_version":"2026-09-07","test":false,"created_at":"2026-10-28T17:05:11Z","data":{"object":{"order_id":"ord_1kmn0aExample"}}}

: heartbeat 1793207126
FrameSent when
readyThe stream connects. cursor is the position it starts from.
webhook.eventAn event, in the same shape as GET /v1/webhook-events/{webhook_event_id}.
withheldAn event whose payload your key can't read. The frame names the event, and reason and required_scopes say why.
gapEvents can't be replayed. cursor_unavailable: the cursor you sent isn't available, because it's older than 90 days or belongs to another environment. The stream restarts from resume_cursor, the newest event, so every event between your cursor and that one is skipped; read current state to fill the gap. payload_expired: this event's payload is past the 14-day retention, and the stream moves on to the next event.
disconnectFlint is closing the stream, for reason ttl after 30 minutes, authorization_changed, server_error, backpressure, or sandbox_reset when the sandbox is reset. After backpressure, resume from resume_cursor; after sandbox_reset, reconnect without a cursor; otherwise, resume from the last id you received.

A partner app token streams the events of the merchant named in Flint-Merchant-Id, in the environment its grant for the token's mode covers, with payloads only for events Flint forwards to installed-merchant endpoints; see Catch up on missed installed-merchant events.

Flint sends a heartbeat comment every 15 seconds. An environment can have up to five streams open at once, and each partner app install up to five more of its own. A sixth connection returns 409 LIMIT_REACHED with reason webhook_event_streams and limit 5, and no resets_at, because a stream ending frees the slot, not the clock. Close another stream, or wait for one to end, then connect again as a new request. If a Flint server is at its own connection capacity, the connection returns 503 SERVICE_UNAVAILABLE with a short Retry-After; send the same request again after it. The stream doesn't create deliveries or retry, so production processing belongs on an endpoint.

Webhooks guideRegister an endpoint, verify deliveries, send a test event, and recover missed events.Webhook deliveryHeaders, JWT and HMAC signing, the envelope, retries, diagnostics, and retention.Event catalogEvery event type Flint sends, with its payload.

Monitor API keys#

Subscribe to api_key.created, api_key.updated, and api_key.revoked to monitor credential changes. The payload is the API key's GET representation and never includes its secret. Test-key events go to that sandbox's endpoints, and live-key events go to live endpoints. Passing expires_at and updates to last_used_at send no event. This family is unavailable to partner apps. See API key events.

The Webhook endpoint object#

A merchant webhook endpoint belongs to the live mode or sandbox of the credential that created it and receives only that environment's events. Partner endpoints select sources with event_sources and installed_merchant_modes.

Returned by GET /v1/webhook-endpoints/{webhook_endpoint_id} and carried by the endpoints below.

Attributes

api_versionstringRequired

A dated API version pins this endpoint. The value default follows the endpoint owner's merchant default at delivery time, including retries. Deliveries never use a newer version than the event's recorded version.

api_version_changed_atstring

When api_version last changed.

api_version_previousstring

Version this endpoint used before its last upgrade. Present while a rollback is available. To roll back, send it as api_version.

api_version_rollback_expires_atstring

When the rollback offer for api_version_previous ends. You can still set any supported version afterward.

created_atstringRequired

RFC3339 timestamp.

created_byobject

The API key, user, partner app, or workload identity that created this endpoint. An API key creator can belong to another mode, such as a live key that creates a sandbox endpoint. Absent when the creator is unavailable, including endpoints created before attribution was recorded.

descriptionstring

Your description of this endpoint. Omitted when none is set.

enabled_eventsarray of stringRequired

Subscribed event types. ["*"] includes every type the endpoint's event_sources deliver, including types added later; * is not available with installed_merchants. Stored subscriptions map previous names permanently and drop removed names on read. Empty when no current subscriptions remain. See the [changelog](/changelog).

event_sourcesarray of enum

Event sources this endpoint receives. Defaults to merchant. Use partner_app for app lifecycle events and installed_merchants for events from merchants that installed the partner app.

  • merchant
  • partner_app
  • installed_merchants
installed_merchant_modesarray of enum

Modes of installed-merchant events this endpoint receives. Required when event_sources includes installed_merchants and omitted otherwise. Partner app lifecycle events are delivered regardless of these modes.

  • test
  • live
partner_app_idstring

Partner app that owns partner_app or installed_merchants event sources.

partner_app_install_idstring or nullRequired

The connected app install this endpoint is linked to. The endpoint is deleted when that install is revoked or loses its grant for this endpoint's environment. Null when the endpoint is not linked to a connected app. Never changes.

previous_secret_expires_atstring

When the replaced signing secret stops signing deliveries. Present only during a rotation overlap. Until then each delivery carries a signature from both secrets.

signing_methodsarray of enumRequired

Methods Flint uses to sign deliveries to this endpoint.

  • jwt
  • hmac
statusenumRequired

Availability of this endpoint. Deleted is returned only by DELETE.

  • active
  • inactive
  • deleted
updated_atstringRequired

RFC3339 timestamp.

urlstringRequired

Public HTTPS URL that receives webhook deliveries.

versionintegerRequired

Current version of this resource's owned state. Send it as `expected_version` when changing the resource to reject a stale write.

webhook_endpoint_idstringRequired

Unique identifier for this webhook endpoint, prefixed `whep_`.

JSON
{
  "api_version": "2026-09-07",
  "created_at": "2026-03-17T14:30:00Z",
  "description": "Primary production endpoint",
  "enabled_events": [
    "order.paid",
    "payment_intent.succeeded"
  ],
  "event_sources": [
    "merchant"
  ],
  "partner_app_install_id": null,
  "signing_methods": [
    "jwt"
  ],
  "status": "active",
  "updated_at": "2026-03-17T14:30:00Z",
  "url": "https://example.com/webhooks/flint",
  "version": 1,
  "webhook_endpoint_id": "whep_01KEZF7C00940MBDY86SCZ1NW9"
}

The Webhook delivery object#

An attempt to deliver an event to a webhook endpoint.

Returned by GET /v1/webhook-deliveries/{webhook_delivery_id} and carried by the endpoints below.

Attributes

automatic_attempt_countintegerRequired

Attempts made by Flint's automatic schedule. Manual resends and the first attempt of a delivery you create don't count.

created_atstringRequired

When the delivery was created: when Flint prepared the event, or when you created it.

delivered_atstring

RFC3339 timestamp.

error_categoryenum

The kind of failure on the most recent failed attempt. Absent before any attempt, and when delivered or suppressed.

  • webhook_timeout
  • webhook_dns
  • webhook_tls
  • webhook_connection
  • webhook_blocked_target
  • webhook_request
  • webhook_redirect
  • webhook_http_4xx
  • webhook_http_5xx
  • webhook_payload_render
  • webhook_delivery
error_summarystring

A concise explanation of the failed attempt. Absent before any attempt, and when delivered or suppressed.

last_response_codeinteger

HTTP status returned by the receiver on the latest recorded attempt. Omitted when no HTTP response was received.

max_attemptsintegerRequired

Maximum automatic attempts.

next_retry_atstring

RFC3339 timestamp.

recommended_actionstring

The next step to resolve the failed delivery attempt.

retryableboolean

Whether sending this delivery again without changing your endpoint is likely to succeed. While the delivery is pending, Flint retries automatically either way.

statusenumRequired

Current state of this endpoint delivery and its automatic retry schedule.

  • pending
  • delivered
  • failed
  • suppressed
suppression_reasonenum

Why this delivery was suppressed. Present exactly when status is suppressed. Suppressed deliveries have no failure explanation.

  • endpoint_inactive
  • endpoint_deleted
  • authorization_revoked
  • scope_missing
  • event_not_allowed
  • partner_app_install_revoked
  • sandbox_reset
updated_atstringRequired

RFC3339 timestamp.

webhook_delivery_idstringRequired

Unique identifier for this webhook delivery, prefixed `wdel_`.

webhook_endpoint_idstringRequired

ID of the receiving endpoint, retained even after the endpoint is deleted.

webhook_event_idstringRequired

ID of the event this delivery sends.

JSON
{
  "automatic_attempt_count": 1,
  "created_at": "2026-03-17T14:30:00Z",
  "delivered_at": "2026-03-17T14:30:02Z",
  "last_response_code": 200,
  "max_attempts": 9,
  "status": "delivered",
  "updated_at": "2026-03-17T14:30:02Z",
  "webhook_delivery_id": "wdel_01KEZF7C009Q5YXV9EMB35BQ13",
  "webhook_endpoint_id": "whep_01KEZF7C00940MBDY86SCZ1NW9",
  "webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
}

The Webhook event object#

An event prepared for delivery to webhook endpoints.

Returned by GET /v1/webhook-events/{webhook_event_id} and carried by the endpoints below.

Attributes

api_request_log_idstring

ID of the API request log associated with the event. Omitted when none is associated.

api_versionstringRequired

API version of the event data. Stored data follows the same versioning rules as webhook deliveries.

created_atstringRequired

RFC3339 timestamp.

dataobject

The delivered envelope's data, including its payload-version-specific shape. Omitted from list responses and from detail responses when the caller lacks read access to the attributed resource or the payload has expired after 14 days.

event_sourceenum

Envelope discriminator identifying merchant events, partner app lifecycle events, or events forwarded from installed merchants.

  • merchant
  • partner_app
  • installed_merchants
event_typeenumRequired

Type of event Flint recorded, using the current event type name.

  • api_key.created
  • api_key.revoked
  • api_key.updated
  • balance.updated
  • balance_transaction.created
  • balance_transaction.updated
  • bundle.archived
  • bundle.created
  • bundle.updated
  • category.created
  • category.deleted
  • category.updated
  • checkout_session.closed
  • checkout_session.created
  • checkout_session.expired
  • checkout_session.invalidated
  • checkout_session.paid
  • checkout_session.partially_paid
  • checkout_session.updated
  • credit_note.created
  • credit_note.issued
  • credit_note.updated
  • credit_note.voided
  • credit_note_allocation.created
  • credit_note_allocation.reversed
  • custom_domain.archived
  • custom_domain.updated
  • customer.created
  • customer.deleted
  • customer.updated
  • customer_deletion_request.completed
  • customer_deletion_request.created
  • customer_deletion_request.failed
  • customer_deletion_request.processing
  • customer_deletion_request.rejected
  • customer_email_preferences.updated
  • delivery_location_set.archived
  • delivery_location_set.created
  • delivery_location_set.updated
  • delivery_method.activated
  • delivery_method.archived
  • delivery_method.created
  • delivery_method.deactivated
  • delivery_method.updated
  • delivery_profile.archived
  • delivery_profile.created
  • delivery_profile.updated
  • delivery_rate_callback.activated
  • delivery_rate_callback.archived
  • delivery_rate_callback.created
  • delivery_rate_callback.deactivated
  • delivery_rate_callback.updated
  • delivery_revocation.created
  • delivery_selection.committed
  • delivery_zone.archived
  • delivery_zone.created
  • delivery_zone.updated
  • dispute.created
  • dispute.inquiry_closed
  • dispute.lost
  • dispute.needs_response
  • dispute.prevented
  • dispute.updated
  • dispute.won
  • environment_grant.created
  • environment_grant.revoked
  • environment_grant.updated
  • fraud_warning.created
  • fraud_warning.updated
  • fulfillment.canceled
  • fulfillment.completed
  • fulfillment.created
  • fulfillment.failed
  • fulfillment.updated
  • fulfillment_event.created
  • gift_card.created
  • gift_card.updated
  • gift_card_load.created
  • gift_card_load.updated
  • gift_card_notification.created
  • gift_card_notification.updated
  • gift_card_redemption.created
  • gift_card_redemption.updated
  • gift_card_transaction.created
  • inventory_count.applied
  • inventory_count.updated
  • inventory_level.shortage_detected
  • inventory_level.updated
  • inventory_receipt.created
  • inventory_reservation.action_required
  • inventory_reservation.at_risk
  • inventory_reservation.closed
  • inventory_reservation.committed
  • inventory_reservation.consumed
  • inventory_reservation.created
  • inventory_reservation.hold_expired
  • inventory_reservation.released
  • inventory_reservation.updated
  • inventory_transfer.closed
  • inventory_transfer.departed
  • inventory_transfer.lost
  • inventory_transfer.received
  • inventory_transfer.returned
  • inventory_transfer.updated
  • invoice.collection_block_resolved
  • invoice.collection_blocked
  • invoice.created
  • invoice.credited
  • invoice.issue_failed
  • invoice.issued
  • invoice.late_fee_assessed
  • invoice.late_fee_due
  • invoice.late_fee_waived
  • invoice.marked_uncollectible
  • invoice.overdue
  • invoice.paid
  • invoice.partially_paid
  • invoice.partially_refunded
  • invoice.refunded
  • invoice.reminder_due
  • invoice.reopened
  • invoice.sent
  • invoice.updated
  • invoice.voided
  • invoice_delivery_attempt.failed
  • invoice_delivery_attempt.sent
  • invoice_delivery_attempt.suppressed
  • invoice_manual_payment.created
  • invoice_manual_payment.reversed
  • invoice_payment_attempt.canceled
  • invoice_payment_attempt.expired
  • invoice_payment_attempt.failed
  • invoice_payment_attempt.processing
  • invoice_payment_attempt.succeeded
  • license_key.created
  • license_key.disabled
  • license_key.expired
  • license_key.updated
  • license_key_activation.created
  • license_key_activation.released
  • license_key_pool.archived
  • license_key_pool.created
  • license_key_pool.low_stock
  • license_key_pool.out_of_stock
  • license_key_pool.updated
  • merchant.readiness_updated
  • merchant.updated
  • merchant_billing_balance.updated
  • merchant_billing_invoice.issued
  • merchant_billing_invoice.updated
  • modifier_group.archived
  • modifier_group.created
  • modifier_group.updated
  • modifier_set.archived
  • modifier_set.created
  • modifier_set.updated
  • order.closed
  • order.created
  • order.inventory_exception_created
  • order.inventory_exception_resolved
  • order.paid
  • order.partially_paid
  • order.partially_refunded
  • order.refunded
  • order.updated
  • order_edit.canceled
  • order_edit.completed
  • order_edit.created
  • order_edit.updated
  • package.created
  • package.updated
  • partner_app.platform_approved
  • partner_app.platform_limited
  • partner_app.platform_rejected
  • partner_app.updated
  • partner_app_install.created
  • partner_app_install.permissions_updated
  • partner_app_install.revoked
  • partner_app_install.updated
  • payment_intent.authorization_expiring
  • payment_intent.canceled
  • payment_intent.created
  • payment_intent.expired
  • payment_intent.fulfillment_hold_updated
  • payment_intent.payment_failed
  • payment_intent.processing
  • payment_intent.requires_action
  • payment_intent.requires_capture
  • payment_intent.succeeded
  • payment_intent.updated
  • payment_link.created
  • payment_link.updated
  • payment_method.activated
  • payment_method.archived
  • payment_method.failed
  • payment_method.updated
  • payment_review.closed
  • payment_review.opened
  • payment_review.reopened
  • payment_split.canceled
  • payment_split.created
  • payment_split.failed
  • payment_split.succeeded
  • payment_split.updated
  • payout.canceled
  • payout.created
  • payout.failed
  • payout.reversed
  • payout.succeeded
  • payout.updated
  • payout_destination.archived
  • payout_destination.created
  • payout_destination.disabled
  • payout_destination.updated
  • payout_settings.updated
  • platform_fee.canceled
  • platform_fee.created
  • platform_fee.succeeded
  • platform_fee.updated
  • platform_fee_payout.created
  • platform_fee_payout.failed
  • platform_fee_payout.succeeded
  • price_list.archived
  • price_list.created
  • price_list.updated
  • product.archived
  • product.created
  • product.updated
  • product_variant.archived
  • product_variant.created
  • product_variant.updated
  • promotion.archived
  • promotion.created
  • promotion.updated
  • promotion_code.archived
  • promotion_code.created
  • promotion_code.updated
  • reader.archived
  • reader.created
  • reader.updated
  • refund.created
  • refund.failed
  • refund.partially_succeeded
  • refund.succeeded
  • refund.updated
  • report.failed
  • report.succeeded
  • return.canceled
  • return.completed
  • return.created
  • return.decision_recorded
  • return.reopened
  • return.updated
  • return_disposition.created
  • return_disposition.updated
  • return_inspection.acceptance_decided
  • return_inspection.created
  • return_inspection.superseded
  • return_receipt.created
  • return_receipt.superseded
  • return_receipt.verified
  • return_resolution.created
  • return_resolution.updated
  • shipment.created
  • shipment.updated
  • shop.archived
  • shop.created
  • shop.updated
  • subscription.activated
  • subscription.canceled
  • subscription.cancellation_scheduled
  • subscription.created
  • subscription.cycle_skipped
  • subscription.delivery_action_required
  • subscription.delivery_pause_upcoming
  • subscription.delivery_updated
  • subscription.dunning_exhausted
  • subscription.end_upcoming
  • subscription.past_due
  • subscription.paused
  • subscription.payment_succeeded
  • subscription.plan_change_canceled
  • subscription.plan_change_scheduled
  • subscription.plan_changed
  • subscription.reactivated
  • subscription.renewal_upcoming
  • subscription.resumed
  • subscription.trial_ending
  • subscription.updated
  • subscription_delivery_migration.completed
  • subscription_payment_retry.created
  • subscription_payment_retry.failed
  • subscription_payment_retry.succeeded
  • tax_calculation_callback.activated
  • tax_calculation_callback.archived
  • tax_calculation_callback.created
  • tax_calculation_callback.deactivated
  • tax_calculation_callback.updated
  • tax_connection.updated
  • test_clock.advancing
  • test_clock.archived
  • test_clock.created
  • test_clock.failed
  • test_clock.ready
  • ticket.checked_in
  • ticket.created
  • ticket.updated
  • ticket.voided
merchant_idstring

ID of the merchant this resource belongs to.

modeenum

Environment used for this resource or request.

  • test
  • live
partner_app_idstring

ID of the partner app that owns this partner event. Omitted for merchant events.

payload_versionenum

Envelope payload version. Present only while the stored payload is retained.

  • 1
  • 2
requestobject or null

Originating request. `null` when the event is synthetic or no originating request ID is recorded. The idempotency key is included only on an authorized detail read while the payload is retained. Omitted for partner events.

resource_idstring

ID of the resource affected by the event. Omitted when no resource ID is attributed.

resource_typeenum

Public resource type affected by the event. Omitted when no public resource type is attributed.

  • api_key
  • api_request_log
  • balance
  • balance_transaction
  • bundle
  • bundle_component
  • category
  • checkout_session
  • checkout_session_customer_verification
  • credit_note
  • credit_note_allocation
  • custom_domain
  • customer
  • customer_address
  • customer_deletion_request
  • customer_email_preferences
  • customer_session
  • customer_tax_exemption
  • customer_verification
  • delivery_choice_group
  • delivery_location_set
  • delivery_method
  • delivery_profile
  • delivery_quote
  • delivery_rate
  • delivery_rate_callback
  • delivery_revocation
  • delivery_selection
  • delivery_zone
  • demo_session
  • device
  • discount
  • dispute
  • email_change_request
  • environment_grant
  • file
  • flint_wallet
  • flint_wallet_card
  • fraud_warning
  • fulfillment
  • fulfillment_event
  • fulfillment_notification
  • gift_card
  • gift_card_funding_disposition
  • gift_card_load
  • gift_card_notification
  • gift_card_redemption
  • gift_card_transaction
  • image
  • inventory_adjustment
  • inventory_allocation_policy
  • inventory_allocation_policy_revision
  • inventory_count
  • inventory_item
  • inventory_level
  • inventory_movement
  • inventory_receipt
  • inventory_reservation
  • inventory_reservation_line
  • inventory_transfer
  • inventory_transfer_line
  • invoice
  • invoice_delivery_attempt
  • invoice_late_fee
  • invoice_line_item
  • invoice_manual_payment
  • invoice_payment_attempt
  • invoice_payment_term
  • license_key
  • license_key_activation
  • license_key_pool
  • license_key_pool_key
  • location
  • merchant
  • merchant_billing_balance
  • merchant_billing_entry
  • merchant_billing_invoice
  • merchant_signup
  • modifier
  • modifier_group
  • modifier_set
  • order
  • order_charge
  • order_edit
  • order_line_item
  • order_line_item_modifier
  • order_payment_attempt
  • package
  • package_item
  • partner_app
  • partner_app_credential
  • partner_app_install
  • payment_attempt
  • payment_intent
  • payment_link
  • payment_link_custom_field
  • payment_link_line_item
  • payment_method
  • payment_method_domain
  • payment_review
  • payment_split
  • payout
  • payout_destination
  • payout_settings
  • platform_fee
  • platform_fee_balance_transaction
  • platform_fee_payout
  • price_list
  • price_list_price
  • product
  • product_option
  • product_option_value
  • product_variant
  • promotion
  • promotion_code
  • purchase_refund_allocation
  • reader
  • refund
  • refund_allocation
  • refund_line_item_adjustment
  • remembered_buyer
  • report
  • report_download
  • return
  • return_activity
  • return_disposition
  • return_inspection
  • return_inspection_line_item
  • return_line_item
  • return_policy
  • return_policy_revision
  • return_reason
  • return_receipt
  • return_receipt_line_item
  • return_resolution
  • risk_list
  • risk_list_item
  • risk_rule
  • sandbox
  • settings
  • shipment
  • shop
  • shop_listing
  • subscription
  • subscription_delivery_migration
  • subscription_line_item
  • subscription_offer
  • subscription_payment_retry
  • subscription_plan
  • subscription_plan_line_item
  • tax_calculation_callback
  • tax_connection
  • tax_registration
  • test_clock
  • ticket
  • user
  • webhook_delivery
  • webhook_endpoint
  • webhook_event
  • workload_identity
sandbox_idstring

Public sandbox ID for this event. Present exactly when mode is test; omitted in live mode.

sourceobject

Partner envelope source. Present only for partner events while the stored payload is retained.

testbooleanRequired

Whether this is a synthetic event created to test an endpoint; independent of live or test mode.

webhook_event_idstringRequired

Unique identifier for this webhook event, prefixed `whev_`.

JSON
{
  "api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
  "api_version": "2026-09-07",
  "created_at": "2026-03-17T14:30:00Z",
  "data": {
    "object": {
      "order_id": "ord_01KEZF7C00JBKMARG3P06Z224B",
      "payment_status": "paid",
      "status": "closed"
    }
  },
  "event_source": "merchant",
  "event_type": "order.paid",
  "merchant_id": "mer_01KEZF7C00MPP0T9S0KH5BB4CC",
  "mode": "live",
  "payload_version": 2,
  "request": {
    "id": "req_01KWM6ACYNETFVATDT9F46D2XA"
  },
  "resource_id": "ord_01KEZF7C00JBKMARG3P06Z224B",
  "resource_type": "order",
  "test": false,
  "webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
}

List webhook deliveries#

GET/v1/webhook-deliveries

Requires scope webhooks.read or webhooks.write

Rate limit: read

Returns webhook deliveries, newest first (`created_at` descending, then `webhook_delivery_id`). Includes deliveries of synthetic test events. Sandbox reads omit global partner-source records. Default order: created_at descending, then webhook_delivery_id descending.

Query parameters

webhook_event_idstring

Filter by an exact webhook event ID. Returns an empty page when no visible deliveries match.

webhook_endpoint_idstring

Filter by an exact webhook endpoint ID, including deleted endpoints. Returns an empty page when no visible deliveries match.

statusarray of enum

Filter by delivery status. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.

  • pending
  • delivered
  • failed
  • suppressed
created_afterstring

Inclusive lower bound on created_at.

created_beforestring

Exclusive upper bound on created_at.

page_sizeinteger

Maximum number of results to return, from 1 to 100. Defaults to 20.

page_tokenstring

Opaque, signed next_page_token from the previous response, bound to the list and caller. Omit on the first request. You may change `page_size` between pages. Reuse it with the same endpoint, filters, sort, and request context. Do not parse or construct tokens. An altered, invalid, expired, or mismatched token returns a validation error.

Response · 200

Webhook deliveries matching the filters.

dataarray of objectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

next_page_tokenstring

Opaque token to send as `page_token` to retrieve the next page. Omitted when there is no next page.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl https://api.withflintpay.com/v1/webhook-deliveries \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

Webhook deliveries matching the filters.

JSON
{
  "data": [
    {
      "automatic_attempt_count": 1,
      "created_at": "2026-03-17T14:30:00Z",
      "delivered_at": "2026-03-17T14:30:02Z",
      "last_response_code": 200,
      "max_attempts": 9,
      "status": "delivered",
      "updated_at": "2026-03-17T14:30:02Z",
      "webhook_delivery_id": "wdel_01KEZF7C009Q5YXV9EMB35BQ13",
      "webhook_endpoint_id": "whep_01KEZF7C00940MBDY86SCZ1NW9",
      "webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
    }
  ],
  "meta": {
    "api_version": "2026-09-07"
  },
  "next_page_token": "example",
  "request_id": "req_01KWM6BG8ZT3QNJNJ304H55X4N"
}

Create webhook delivery#

POST/v1/webhook-deliveriesIdempotent

Requires scope webhooks.write

Rate limit: write

Creates a delivery for a retained event and an outbound endpoint that currently subscribes to it, then attempts delivery now. The CLI-managed sandbox listener endpoint receives events only through the stream. A failed attempt starts the automatic retry schedule. Each event and endpoint pair can have only one delivery. Partner-source endpoints are global configuration. Changes to them or their events and deliveries require a live-mode credential or a Dashboard session, including test events and endpoints subscribed only to test installed-merchant events. Test credentials fail with `FORBIDDEN` and reason `live_mode_required`, including on idempotent replay.

Request body

reason_messagestring

Your note explaining this action.

webhook_endpoint_idstringRequired

Active endpoint that currently subscribes to the event.

webhook_event_idstringRequired

Retained webhook event to deliver.

Response · 201

The created webhook delivery.

dataobjectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl -X POST https://api.withflintpay.com/v1/webhook-deliveries \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: a-unique-key" \
  -d '{
    "reason_message": "Recovering after an endpoint outage",
    "webhook_endpoint_id": "whep_01KEZF7C00940MBDY86SCZ1NW9",
    "webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
  }'

Get webhook delivery#

GET/v1/webhook-deliveries/{webhook_delivery_id}

Requires scope webhooks.read or webhooks.write

Rate limit: read

Returns one endpoint delivery and its current retry state. Global partner-source records are invisible in sandbox mode; a direct reference returns 404 RESOURCE_NOT_FOUND.

Path parameters

webhook_delivery_idstringRequired

Flint webhook delivery ID. Must be a valid ID with prefix wdel_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Response · 200

The selected webhook delivery.

Same response as Create webhook delivery.

curl https://api.withflintpay.com/v1/webhook-deliveries/wdel_01KEZF7C001DWSNDCDZHCTBN0A \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

The selected webhook delivery.

JSON
{
  "data": {
    "automatic_attempt_count": 1,
    "created_at": "2026-03-17T14:30:00Z",
    "delivered_at": "2026-03-17T14:30:02Z",
    "last_response_code": 200,
    "max_attempts": 9,
    "status": "delivered",
    "updated_at": "2026-03-17T14:30:02Z",
    "webhook_delivery_id": "wdel_01KEZF7C009Q5YXV9EMB35BQ13",
    "webhook_endpoint_id": "whep_01KEZF7C00940MBDY86SCZ1NW9",
    "webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
  },
  "meta": {
    "api_version": "2026-09-07"
  },
  "request_id": "req_01KWM62AH8KXGN79DHFGGVQKD2"
}

List webhook delivery attempts#

GET/v1/webhook-deliveries/{webhook_delivery_id}/attempts

Requires scope webhooks.read or webhooks.write

Rate limit: read

Returns the attempts recorded for a specific webhook delivery. Global partner-source records are invisible in sandbox mode; a direct reference returns 404 RESOURCE_NOT_FOUND. Default order: attempt_number ascending; this key uniquely orders the results.

Path parameters

webhook_delivery_idstringRequired

Flint webhook delivery ID. Must be a valid ID with prefix wdel_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Query parameters

page_sizeinteger

Maximum number of results to return, from 1 to 100. Defaults to 20.

page_tokenstring

Opaque, signed next_page_token from the previous response, bound to the list and caller. Omit on the first request. You may change `page_size` between pages. Reuse it with the same endpoint, filters, sort, and request context. Do not parse or construct tokens. An altered, invalid, expired, or mismatched token returns a validation error.

Response · 200

Attempts for the selected delivery.

dataarray of objectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

next_page_tokenstring

Opaque token to send as `page_token` to retrieve the next page. Omitted when there is no next page.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl https://api.withflintpay.com/v1/webhook-deliveries/wdel_01KEZF7C001DWSNDCDZHCTBN0A/attempts \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

Attempts for the selected delivery.

JSON
{
  "data": [
    {
      "api_version": "2026-09-07",
      "attempt_number": 1,
      "completed_at": "2026-03-17T14:30:02Z",
      "delivery_trigger": "automatic_delivery",
      "duration_milliseconds": 982,
      "error_category": "webhook_http_5xx",
      "error_summary": "The webhook endpoint returned a server error.",
      "recommended_action": "Inspect the endpoint logs for this delivery, fix the handler, then resend the webhook event.",
      "response_body_excerpt": "{\"error\":\"bad gateway\",\"api_token\":\"[REDACTED]\"}",
      "response_content_type": "application/json",
      "response_headers": {
        "content-type": "application/json",
        "x-api-token": "[REDACTED]"
      },
      "retryable": true,
      "started_at": "2026-03-17T14:30:01Z",
      "status": "failed",
      "status_code": 502,
      "webhook_delivery_attempt_id": "watt_01KEZF7C00DT9B86AS1BFP23QQ",
      "webhook_delivery_id": "wdel_01KEZF7C009Q5YXV9EMB35BQ13",
      "webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
    }
  ],
  "meta": {
    "api_version": "2026-09-07"
  },
  "next_page_token": "example",
  "request_id": "req_01KWM62PDZ50FZJK9ZMA16BZBQ"
}

Resend webhook delivery#

POST/v1/webhook-deliveries/{webhook_delivery_id}/resendIdempotent

Requires scope webhooks.write

Rate limit: write

Sends the event to the delivery's endpoint now, including while automatic retries are pending. A failed resend doesn't change the automatic schedule. Partner-source endpoints are global configuration. Changes to them or their events and deliveries require a live-mode credential or a Dashboard session, including test events and endpoints subscribed only to test installed-merchant events. Test credentials fail with `FORBIDDEN` and reason `live_mode_required`, including on idempotent replay.

Path parameters

webhook_delivery_idstringRequired

Flint webhook delivery ID. Must be a valid ID with prefix wdel_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Request body

reason_messagestring

Your note explaining this action.

Response · 200

The manual webhook delivery action.

dataobjectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl -X POST https://api.withflintpay.com/v1/webhook-deliveries/wdel_01KEZF7C001DWSNDCDZHCTBN0A/resend \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: a-unique-key" \
  -d '{
    "reason_message": "Endpoint was fixed after returning 500s."
  }'

List webhook endpoints#

GET/v1/webhook-endpoints

Requires scope webhooks.read or webhooks.write

Rate limit: read

Returns a page of webhook endpoints for the authenticated merchant. Sandbox reads omit global partner-source records. Filters selecting only partner_app or installed_merchants return an empty collection. Direct resource reads of partner-source records return 404 RESOURCE_NOT_FOUND in sandbox mode; exact-ID list filters return an empty collection when no visible records match. Default order: created_at descending, then webhook_endpoint_id descending.

Query parameters

created_bystring

Filter by the exact ID of the API key, user, partner app, or workload identity that created the endpoint. Unknown IDs return an empty list.

page_sizeinteger

Maximum number of results to return, from 1 to 100. Defaults to 20.

page_tokenstring

Opaque, signed next_page_token from the previous response, bound to the list and caller. Omit on the first request. You may change `page_size` between pages. Reuse it with the same endpoint, filters, sort, and request context. Do not parse or construct tokens. An altered, invalid, expired, or mismatched token returns a validation error.

statusarray of enum

Filter by status. Omitted, the list leaves out deleted rows; name deleted to include them. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.

  • active
  • inactive
  • deleted
event_sourcesarray of enum

Filter by webhook endpoint event sources. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.

  • merchant
  • partner_app
  • installed_merchants
partner_app_idstring

Filter by partner app ID for partner-source webhook endpoints.

partner_app_install_idstring

Exact-match filter on partner_app_install_id.

Response · 200

A page of webhook endpoints for the authenticated merchant.

dataarray of objectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

next_page_tokenstring

Opaque token to send as `page_token` to retrieve the next page. Omitted when there is no next page.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl https://api.withflintpay.com/v1/webhook-endpoints \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

A page of webhook endpoints for the authenticated merchant.

JSON
{
  "data": [
    {
      "api_version": "2026-09-07",
      "created_at": "2026-03-17T14:30:00Z",
      "description": "Primary production endpoint",
      "enabled_events": [
        "order.paid",
        "payment_intent.succeeded"
      ],
      "event_sources": [
        "merchant"
      ],
      "partner_app_install_id": null,
      "signing_methods": [
        "jwt"
      ],
      "status": "active",
      "updated_at": "2026-03-17T14:30:00Z",
      "url": "https://example.com/webhooks/flint",
      "version": 1,
      "webhook_endpoint_id": "whep_01KEZF7C00940MBDY86SCZ1NW9"
    }
  ],
  "meta": {
    "api_version": "2026-09-07"
  },
  "next_page_token": "example",
  "request_id": "req_01KWM6JHJBP3R89PWB98RCWEMK"
}

Create webhook endpoint#

POST/v1/webhook-endpointsIdempotent

Requires scope webhooks.write

Rate limit: sensitive_write

Creates a webhook endpoint. signing_methods defaults to ["jwt"]. A shared secret is issued and returned once only when hmac is included. Partner-source endpoints are global configuration. Changes to them or their events and deliveries require a live-mode credential or a Dashboard session, including test events and endpoints subscribed only to test installed-merchant events. Test credentials fail with `FORBIDDEN` and reason `live_mode_required`, including on idempotent replay.

Request body

api_versionstring

Set default to follow the merchant default, or a supported YYYY-MM-DD version to pin this endpoint. Omission pins the API version this create request is served at (Flint-Version, or the merchant default when the header is absent). Null is not accepted.

descriptionstring

Your description of this endpoint. `null` is the same as omitting the field.

enabled_eventsarray of stringRequired

Event types to deliver. Send ["*"] for every type the endpoint's event_sources deliver, including types added later; * must be the only entry and is not available with installed_merchants. At least one entry is required. Use only current event type names; previous and removed names are rejected. Stored subscriptions map previous names permanently and drop removed names on read. See the [changelog](/changelog).

event_sourcesarray of enum

Event sources this endpoint receives. Defaults to merchant. Use partner_app for app lifecycle events and installed_merchants for events from merchants that installed the partner app.

  • merchant
  • partner_app
  • installed_merchants
installed_merchant_modesarray of enum

Modes of installed-merchant events this endpoint receives. Required when event_sources includes installed_merchants and omitted otherwise. Partner app lifecycle events are delivered regardless of these modes.

  • test
  • live
partner_app_idstring

Partner app that owns partner_app or installed_merchants event sources.

partner_app_install_idstring

Links this endpoint to a connected app's install. Revoking the install, or its grant for this endpoint's environment, deletes the endpoint. The install must be active and authorized for this environment. Set only at creation; it never changes. Omit for an endpoint not tied to an app. Endpoints created by a linked key are linked to the same install. At most 25 endpoints may link to one install in each environment.

signing_methodsarray of enum

Methods Flint uses to sign deliveries. Defaults to jwt. Including hmac issues a shared secret returned once.

  • jwt
  • hmac
statusenum

Whether this endpoint receives events. Defaults to active.

  • active
  • inactive
urlstringRequired

Public HTTPS URL to receive webhook deliveries.

Response · 201

The created webhook endpoint. secret is present only when hmac is enabled.

dataobjectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl -X POST https://api.withflintpay.com/v1/webhook-endpoints \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: a-unique-key" \
  -d '{
    "description": "Primary production endpoint",
    "enabled_events": [
      "order.paid",
      "payment_intent.succeeded"
    ],
    "event_sources": [
      "merchant"
    ],
    "status": "active",
    "url": "https://example.com/webhooks/flint"
  }'

Get webhook endpoint#

GET/v1/webhook-endpoints/{webhook_endpoint_id}

Requires scope webhooks.read or webhooks.write

Rate limit: read

Returns a single webhook endpoint by ID. The signing secret is omitted after creation. Global partner-source records are invisible in sandbox mode; a direct reference returns 404 RESOURCE_NOT_FOUND.

Path parameters

webhook_endpoint_idstringRequired

Flint webhook endpoint ID. Must be a valid ID with prefix whep_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Response · 200

The requested webhook endpoint.

dataobjectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl https://api.withflintpay.com/v1/webhook-endpoints/whep_01KEZF7C006FXYTAJRZCGCBJTN \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

The requested webhook endpoint.

JSON
{
  "data": {
    "api_version": "2026-09-07",
    "created_at": "2026-03-17T14:30:00Z",
    "description": "Primary production endpoint",
    "enabled_events": [
      "order.paid",
      "payment_intent.succeeded"
    ],
    "event_sources": [
      "merchant"
    ],
    "partner_app_install_id": null,
    "signing_methods": [
      "jwt"
    ],
    "status": "active",
    "updated_at": "2026-03-17T14:30:00Z",
    "url": "https://example.com/webhooks/flint",
    "version": 1,
    "webhook_endpoint_id": "whep_01KEZF7C00940MBDY86SCZ1NW9"
  },
  "meta": {
    "api_version": "2026-09-07"
  },
  "request_id": "req_01KWM63NWRCK7JDCNZEYA5JW4Y"
}

Update webhook endpoint#

PATCH/v1/webhook-endpoints/{webhook_endpoint_id}Idempotent

Requires scope webhooks.write

Rate limit: sensitive_write

Updates a webhook endpoint's URL, description, status, subscribed events, event sources, signing methods, or pinned API version. Only the fields you send change. Sending `enabled_events`, `event_sources`, `installed_merchant_modes`, or `signing_methods` replaces that whole list and requires `expected_version`; a stale version fails with `VERSION_CONFLICT`. Adding `hmac` when no secret exists issues the first secret and returns it once. Removing `hmac` deletes all shared secrets. Partner-source endpoints are global configuration. Changes to them or their events and deliveries require a live-mode credential or a Dashboard session, including test events and endpoints subscribed only to test installed-merchant events. Test credentials fail with `FORBIDDEN` and reason `live_mode_required`, including on idempotent replay.

Path parameters

webhook_endpoint_idstringRequired

Flint webhook endpoint ID. Must be a valid ID with prefix whep_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Request body

api_versionstring

Set default to follow the merchant default, or a supported YYYY-MM-DD version to pin this endpoint. Omit to leave unchanged. Null is not accepted. Switching between a pin and default clears the rollback offer.

descriptionstring or null

Endpoint description. Omit to leave unchanged; null clears it. Send null to clear it.

enabled_eventsarray of string

Event types to deliver. Send ["*"] for every type the endpoint's event_sources deliver, including types added later; * must be the only entry and is not available with installed_merchants. At least one entry is required. Use only current event type names; previous and removed names are rejected. Stored subscriptions map previous names permanently and drop removed names on read. See the [changelog](/changelog).

event_sourcesarray of enum

Event sources this endpoint receives. Defaults to merchant. Use partner_app for app lifecycle events and installed_merchants for events from merchants that installed the partner app.

  • merchant
  • partner_app
  • installed_merchants
expected_api_versionstring

Apply api_version only if this matches the resource's current api_version. A mismatch returns HTTP 409. Requires api_version; null is not accepted.

expected_versioninteger

Resource version last read by the caller. Required when enabled_events, event_sources, installed_merchant_modes, or signing_methods is present, including an empty array. Optional for scalar updates.

installed_merchant_modesarray of enum

Modes of installed-merchant events this endpoint receives. Required when event_sources includes installed_merchants and omitted otherwise. Partner app lifecycle events are delivered regardless of these modes.

  • test
  • live
partner_app_idstring

Partner app that owns partner_app or installed_merchants event sources.

signing_methodsarray of enum

Replaces the signing methods. Removing hmac deletes all shared secrets. Adding hmac when no secret exists issues the first secret and returns it once in this response. Omit to leave unchanged.

  • jwt
  • hmac
statusenum

Whether this endpoint receives events. Setting inactive suppresses pending deliveries. Omit to leave unchanged.

  • active
  • inactive
urlstring

Public HTTPS URL to receive webhook deliveries. Omit to leave unchanged.

Response · 200

The updated webhook endpoint. secret is present only when this update first enables hmac.

Same response as Create webhook endpoint.

curl -X PATCH https://api.withflintpay.com/v1/webhook-endpoints/whep_01KEZF7C006FXYTAJRZCGCBJTN \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: a-unique-key" \
  -d '{
    "description": "Updated production endpoint",
    "expected_version": 1,
    "status": "active"
  }'

Delete webhook endpoint#

DELETE/v1/webhook-endpoints/{webhook_endpoint_id}Idempotent

Requires scope webhooks.write

Rate limit: sensitive_write

Permanently deletes the webhook endpoint and returns it with status deleted. Its pending deliveries are suppressed. The endpoint cannot be retrieved afterward, and its past deliveries keep its webhook_endpoint_id. Partner-source endpoints are global configuration. Changes to them or their events and deliveries require a live-mode credential or a Dashboard session, including test events and endpoints subscribed only to test installed-merchant events. Test credentials fail with `FORBIDDEN` and reason `live_mode_required`, including on idempotent replay.

Path parameters

webhook_endpoint_idstringRequired

Flint webhook endpoint ID. Must be a valid ID with prefix whep_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Query parameters

expected_versioninteger

Optional configuration version last read by the caller.

Response · 200

The deleted webhook endpoint.

Same response as Get webhook endpoint.

curl -X DELETE https://api.withflintpay.com/v1/webhook-endpoints/whep_01KEZF7C006FXYTAJRZCGCBJTN \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

Rotate webhook secret#

POST/v1/webhook-endpoints/{webhook_endpoint_id}/rotate-secretIdempotent

Requires scope webhooks.write

Rate limit: sensitive_write

Rotates an existing shared secret. An endpoint without hmac returns ACTION_NOT_ALLOWED with reason secret_not_issued; PATCH signing_methods to include hmac to issue the first secret. The secret is returned once. The replaced secret keeps signing deliveries until previous_secret_expires_at: 24 hours by default, or expire_previous_secret_at, up to 7 days. Send a time at or before now to stop the replaced secret immediately, for example when it leaked. Rotating again during an overlap ends the older secret at once. Partner-source endpoints are global configuration. Changes to them or their events and deliveries require a live-mode credential or a Dashboard session, including test events and endpoints subscribed only to test installed-merchant events. Test credentials fail with `FORBIDDEN` and reason `live_mode_required`, including on idempotent replay.

Path parameters

webhook_endpoint_idstringRequired

Flint webhook endpoint ID. Must be a valid ID with prefix whep_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Request body

expected_versioninteger

Version last read from the resource returned in `data` (the primary resource for a result object). The write fails with `VERSION_CONFLICT` if it has changed. Requiredness depends on the operation and fields being changed.

expire_previous_secret_atstring

When the replaced secret stops signing. Omit for a 24-hour overlap; send a time at or before now to stop it immediately. Must be no later than 7 days from now. Null is not accepted.

Response · 200

The rotated webhook secret.

Same response as Create webhook endpoint.

curl -X POST https://api.withflintpay.com/v1/webhook-endpoints/whep_01KEZF7C006FXYTAJRZCGCBJTN/rotate-secret \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: a-unique-key" \
  -d '{
    "expire_previous_secret_at": "2026-03-18T14:30:00Z"
  }'

Sign a sandbox webhook delivery#

POST/v1/webhook-endpoints/{webhook_endpoint_id}/sign-delivery

Requires scope webhooks.write

Rate limit: webhook_signing

Sandbox only. Returns the exact delivery body and headers for an authorized sandbox endpoint without dispatching it. Requires webhooks.write and permission to read the event's resource. JWT signing must be enabled. Each call reauthorizes and creates a fresh five-minute bearer frame; receivers deduplicate webhook-id. Each endpoint can sign one delivery every 200 ms and 10,000 per UTC day. Requests also count against webhook-signing API quotas. Flint can wait up to 200 ms for the next signing slot. If the slot is still unavailable, the endpoint returns 429 with Retry-After-Ms for the remaining delay in milliseconds and a whole-second Retry-After fallback. Daily exhaustion returns 409 LIMIT_REACHED with limit and resets_at and no Retry-After. Signing fails closed if the shared quota store is unavailable. Responses are not cached or retained for idempotency. Previously issued JWTs remain usable until expiry after endpoint changes.

Path parameters

webhook_endpoint_idstringRequired

The caller's own merchant event-delivery endpoint in the selected sandbox. Must be a valid ID with prefix whep_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Request body

webhook_event_idstringRequired

Retained merchant event in the endpoint's sandbox. The endpoint must subscribe to its event type.

Response · 200

Exact signed delivery. Forward body bytes and application headers unchanged.

dataobjectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl -X POST https://api.withflintpay.com/v1/webhook-endpoints/whep_01KEZF7C006FXYTAJRZCGCBJTN/sign-delivery \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
  }'

Create webhook test event#

POST/v1/webhook-endpoints/{webhook_endpoint_id}/test-eventsIdempotent

Requires scope webhooks.write

Rate limit: external_provider_action

Creates a synthetic test webhook event for one active webhook endpoint. For an ordinary endpoint, returns the HTTP delivery attempt. For a flint listen endpoint, publishes to the webhook event stream and returns the event ID and delivery_method: listener_stream. Safe to retry with the same idempotency key. Partner-source endpoints are global configuration. Changes to them or their events and deliveries require a live-mode credential or a Dashboard session, including test events and endpoints subscribed only to test installed-merchant events. Test credentials fail with `FORBIDDEN` and reason `live_mode_required`, including on idempotent replay.

Path parameters

webhook_endpoint_idstringRequired

Flint webhook endpoint ID. Must be a valid ID with prefix whep_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Request body

event_typeenumRequired

Current event type to send. merchant delivers merchant events; partner_app delivers partner lifecycle events; installed_merchants delivers merchant events permitted by the install read scopes. The event catalog lists event_sources for each type.

  • api_key.created
  • api_key.revoked
  • api_key.updated
  • balance.updated
  • balance_transaction.created
  • balance_transaction.updated
  • bundle.archived
  • bundle.created
  • bundle.updated
  • category.created
  • category.deleted
  • category.updated
  • checkout_session.closed
  • checkout_session.created
  • checkout_session.expired
  • checkout_session.invalidated
  • checkout_session.paid
  • checkout_session.partially_paid
  • checkout_session.updated
  • credit_note.created
  • credit_note.issued
  • credit_note.updated
  • credit_note.voided
  • credit_note_allocation.created
  • credit_note_allocation.reversed
  • custom_domain.archived
  • custom_domain.updated
  • customer.created
  • customer.deleted
  • customer.updated
  • customer_deletion_request.completed
  • customer_deletion_request.created
  • customer_deletion_request.failed
  • customer_deletion_request.processing
  • customer_deletion_request.rejected
  • customer_email_preferences.updated
  • delivery_location_set.archived
  • delivery_location_set.created
  • delivery_location_set.updated
  • delivery_method.activated
  • delivery_method.archived
  • delivery_method.created
  • delivery_method.deactivated
  • delivery_method.updated
  • delivery_profile.archived
  • delivery_profile.created
  • delivery_profile.updated
  • delivery_rate_callback.activated
  • delivery_rate_callback.archived
  • delivery_rate_callback.created
  • delivery_rate_callback.deactivated
  • delivery_rate_callback.updated
  • delivery_revocation.created
  • delivery_selection.committed
  • delivery_zone.archived
  • delivery_zone.created
  • delivery_zone.updated
  • dispute.created
  • dispute.inquiry_closed
  • dispute.lost
  • dispute.needs_response
  • dispute.prevented
  • dispute.updated
  • dispute.won
  • environment_grant.created
  • environment_grant.revoked
  • environment_grant.updated
  • fraud_warning.created
  • fraud_warning.updated
  • fulfillment.canceled
  • fulfillment.completed
  • fulfillment.created
  • fulfillment.failed
  • fulfillment.updated
  • fulfillment_event.created
  • gift_card.created
  • gift_card.updated
  • gift_card_load.created
  • gift_card_load.updated
  • gift_card_notification.created
  • gift_card_notification.updated
  • gift_card_redemption.created
  • gift_card_redemption.updated
  • gift_card_transaction.created
  • inventory_count.applied
  • inventory_count.updated
  • inventory_level.shortage_detected
  • inventory_level.updated
  • inventory_receipt.created
  • inventory_reservation.action_required
  • inventory_reservation.at_risk
  • inventory_reservation.closed
  • inventory_reservation.committed
  • inventory_reservation.consumed
  • inventory_reservation.created
  • inventory_reservation.hold_expired
  • inventory_reservation.released
  • inventory_reservation.updated
  • inventory_transfer.closed
  • inventory_transfer.departed
  • inventory_transfer.lost
  • inventory_transfer.received
  • inventory_transfer.returned
  • inventory_transfer.updated
  • invoice.collection_block_resolved
  • invoice.collection_blocked
  • invoice.created
  • invoice.credited
  • invoice.issue_failed
  • invoice.issued
  • invoice.late_fee_assessed
  • invoice.late_fee_due
  • invoice.late_fee_waived
  • invoice.marked_uncollectible
  • invoice.overdue
  • invoice.paid
  • invoice.partially_paid
  • invoice.partially_refunded
  • invoice.refunded
  • invoice.reminder_due
  • invoice.reopened
  • invoice.sent
  • invoice.updated
  • invoice.voided
  • invoice_delivery_attempt.failed
  • invoice_delivery_attempt.sent
  • invoice_delivery_attempt.suppressed
  • invoice_manual_payment.created
  • invoice_manual_payment.reversed
  • invoice_payment_attempt.canceled
  • invoice_payment_attempt.expired
  • invoice_payment_attempt.failed
  • invoice_payment_attempt.processing
  • invoice_payment_attempt.succeeded
  • license_key.created
  • license_key.disabled
  • license_key.expired
  • license_key.updated
  • license_key_activation.created
  • license_key_activation.released
  • license_key_pool.archived
  • license_key_pool.created
  • license_key_pool.low_stock
  • license_key_pool.out_of_stock
  • license_key_pool.updated
  • merchant.readiness_updated
  • merchant.updated
  • merchant_billing_balance.updated
  • merchant_billing_invoice.issued
  • merchant_billing_invoice.updated
  • modifier_group.archived
  • modifier_group.created
  • modifier_group.updated
  • modifier_set.archived
  • modifier_set.created
  • modifier_set.updated
  • order.closed
  • order.created
  • order.inventory_exception_created
  • order.inventory_exception_resolved
  • order.paid
  • order.partially_paid
  • order.partially_refunded
  • order.refunded
  • order.updated
  • order_edit.canceled
  • order_edit.completed
  • order_edit.created
  • order_edit.updated
  • package.created
  • package.updated
  • partner_app.platform_approved
  • partner_app.platform_limited
  • partner_app.platform_rejected
  • partner_app.updated
  • partner_app_install.created
  • partner_app_install.permissions_updated
  • partner_app_install.revoked
  • partner_app_install.updated
  • payment_intent.authorization_expiring
  • payment_intent.canceled
  • payment_intent.created
  • payment_intent.expired
  • payment_intent.fulfillment_hold_updated
  • payment_intent.payment_failed
  • payment_intent.processing
  • payment_intent.requires_action
  • payment_intent.requires_capture
  • payment_intent.succeeded
  • payment_intent.updated
  • payment_link.created
  • payment_link.updated
  • payment_method.activated
  • payment_method.archived
  • payment_method.failed
  • payment_method.updated
  • payment_review.closed
  • payment_review.opened
  • payment_review.reopened
  • payment_split.canceled
  • payment_split.created
  • payment_split.failed
  • payment_split.succeeded
  • payment_split.updated
  • payout.canceled
  • payout.created
  • payout.failed
  • payout.reversed
  • payout.succeeded
  • payout.updated
  • payout_destination.archived
  • payout_destination.created
  • payout_destination.disabled
  • payout_destination.updated
  • payout_settings.updated
  • platform_fee.canceled
  • platform_fee.created
  • platform_fee.succeeded
  • platform_fee.updated
  • platform_fee_payout.created
  • platform_fee_payout.failed
  • platform_fee_payout.succeeded
  • price_list.archived
  • price_list.created
  • price_list.updated
  • product.archived
  • product.created
  • product.updated
  • product_variant.archived
  • product_variant.created
  • product_variant.updated
  • promotion.archived
  • promotion.created
  • promotion.updated
  • promotion_code.archived
  • promotion_code.created
  • promotion_code.updated
  • reader.archived
  • reader.created
  • reader.updated
  • refund.created
  • refund.failed
  • refund.partially_succeeded
  • refund.succeeded
  • refund.updated
  • report.failed
  • report.succeeded
  • return.canceled
  • return.completed
  • return.created
  • return.decision_recorded
  • return.reopened
  • return.updated
  • return_disposition.created
  • return_disposition.updated
  • return_inspection.acceptance_decided
  • return_inspection.created
  • return_inspection.superseded
  • return_receipt.created
  • return_receipt.superseded
  • return_receipt.verified
  • return_resolution.created
  • return_resolution.updated
  • shipment.created
  • shipment.updated
  • shop.archived
  • shop.created
  • shop.updated
  • subscription.activated
  • subscription.canceled
  • subscription.cancellation_scheduled
  • subscription.created
  • subscription.cycle_skipped
  • subscription.delivery_action_required
  • subscription.delivery_pause_upcoming
  • subscription.delivery_updated
  • subscription.dunning_exhausted
  • subscription.end_upcoming
  • subscription.past_due
  • subscription.paused
  • subscription.payment_succeeded
  • subscription.plan_change_canceled
  • subscription.plan_change_scheduled
  • subscription.plan_changed
  • subscription.reactivated
  • subscription.renewal_upcoming
  • subscription.resumed
  • subscription.trial_ending
  • subscription.updated
  • subscription_delivery_migration.completed
  • subscription_payment_retry.created
  • subscription_payment_retry.failed
  • subscription_payment_retry.succeeded
  • tax_calculation_callback.activated
  • tax_calculation_callback.archived
  • tax_calculation_callback.created
  • tax_calculation_callback.deactivated
  • tax_calculation_callback.updated
  • tax_connection.updated
  • test_clock.advancing
  • test_clock.archived
  • test_clock.created
  • test_clock.failed
  • test_clock.ready
  • ticket.checked_in
  • ticket.created
  • ticket.updated
  • ticket.voided

Response · 201

The synthetic event publication or HTTP delivery attempt.

dataone ofRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl -X POST https://api.withflintpay.com/v1/webhook-endpoints/whep_01KEZF7C006FXYTAJRZCGCBJTN/test-events \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: a-unique-key" \
  -d '{
    "event_type": "payment_intent.succeeded"
  }'

List webhook event types#

GET/v1/webhook-event-types

Requires scope webhooks.read or webhooks.write

Rate limit: read

Returns every webhook event type you can use in enabled_events and event filters, with the event sources each type is valid for. Default order: event_type ascending; this key uniquely orders the results.

Query parameters

page_sizeinteger

Maximum number of results to return, from 1 to 100. Defaults to 100.

page_tokenstring

Opaque, signed next_page_token from the previous response, bound to the list and caller. Omit on the first request. You may change `page_size` between pages. Reuse it with the same endpoint, filters, sort, and request context. Do not parse or construct tokens. An altered, invalid, expired, or mismatched token returns a validation error.

Response · 200

Webhook event types supported by the public API.

dataarray of objectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

next_page_tokenstring

Opaque token to send as `page_token` to retrieve the next page. Omitted when there is no next page.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl https://api.withflintpay.com/v1/webhook-event-types \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

Webhook event types supported by the public API.

JSON
{
  "data": [
    {
      "description": "An order became fully paid, including by a manual payment on its invoice. Use payment_intent.succeeded for each successful online payment.",
      "event_sources": [
        "merchant",
        "installed_merchants"
      ],
      "event_type": "order.paid",
      "kind": "snapshot",
      "previous_names": [],
      "resource_type": "order"
    },
    {
      "description": "A partner app install was created.",
      "event_sources": [
        "partner_app"
      ],
      "event_type": "partner_app_install.created",
      "kind": "snapshot",
      "previous_names": [],
      "resource_type": "partner_app_install"
    }
  ],
  "meta": {
    "api_version": "2026-09-07"
  },
  "next_page_token": "example",
  "request_id": "req_01KWM6NTGK772FXYVW71VTDACP"
}

List webhook events#

GET/v1/webhook-events

Requires scope webhooks.read or webhooks.write

Rate limit: read

Returns recent canonical webhook events for the authenticated merchant. Sandbox reads omit global partner-source records. Filters selecting only partner_app or installed_merchants return an empty collection. Direct resource reads of partner-source records return 404 RESOURCE_NOT_FOUND in sandbox mode; exact-ID list filters return an empty collection when no visible records match. Default order: created_at descending, then webhook_event_id descending.

Query parameters

page_sizeinteger

Maximum number of results to return, from 1 to 100. Defaults to 20.

page_tokenstring

Opaque, signed next_page_token from the previous response, bound to the list and caller. Omit on the first request. You may change `page_size` between pages. Reuse it with the same endpoint, filters, sort, and request context. Do not parse or construct tokens. An altered, invalid, expired, or mismatched token returns a validation error.

webhook_endpoint_idstring

Filter to events that have a delivery for this webhook endpoint.

delivery_statusarray of enum

Filter to events that have a delivery with this status. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.

  • pending
  • delivered
  • failed
  • suppressed
event_sourcearray of enum

Filter by webhook event source. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.

  • merchant
  • partner_app
  • installed_merchants
partner_app_idstring

Filter by partner app ID for partner-source webhook events.

event_typearray of enum

Filter by webhook event type. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.

  • api_key.created
  • api_key.revoked
  • api_key.updated
  • balance.updated
  • balance_transaction.created
  • balance_transaction.updated
  • bundle.archived
  • bundle.created
  • bundle.updated
  • category.created
  • category.deleted
  • category.updated
  • checkout_session.closed
  • checkout_session.created
  • checkout_session.expired
  • checkout_session.invalidated
  • checkout_session.paid
  • checkout_session.partially_paid
  • checkout_session.updated
  • credit_note.created
  • credit_note.issued
  • credit_note.updated
  • credit_note.voided
  • credit_note_allocation.created
  • credit_note_allocation.reversed
  • custom_domain.archived
  • custom_domain.updated
  • customer.created
  • customer.deleted
  • customer.updated
  • customer_deletion_request.completed
  • customer_deletion_request.created
  • customer_deletion_request.failed
  • customer_deletion_request.processing
  • customer_deletion_request.rejected
  • customer_email_preferences.updated
  • delivery_location_set.archived
  • delivery_location_set.created
  • delivery_location_set.updated
  • delivery_method.activated
  • delivery_method.archived
  • delivery_method.created
  • delivery_method.deactivated
  • delivery_method.updated
  • delivery_profile.archived
  • delivery_profile.created
  • delivery_profile.updated
  • delivery_rate_callback.activated
  • delivery_rate_callback.archived
  • delivery_rate_callback.created
  • delivery_rate_callback.deactivated
  • delivery_rate_callback.updated
  • delivery_revocation.created
  • delivery_selection.committed
  • delivery_zone.archived
  • delivery_zone.created
  • delivery_zone.updated
  • dispute.created
  • dispute.inquiry_closed
  • dispute.lost
  • dispute.needs_response
  • dispute.prevented
  • dispute.updated
  • dispute.won
  • environment_grant.created
  • environment_grant.revoked
  • environment_grant.updated
  • fraud_warning.created
  • fraud_warning.updated
  • fulfillment.canceled
  • fulfillment.completed
  • fulfillment.created
  • fulfillment.failed
  • fulfillment.updated
  • fulfillment_event.created
  • gift_card.created
  • gift_card.updated
  • gift_card_load.created
  • gift_card_load.updated
  • gift_card_notification.created
  • gift_card_notification.updated
  • gift_card_redemption.created
  • gift_card_redemption.updated
  • gift_card_transaction.created
  • inventory_count.applied
  • inventory_count.updated
  • inventory_level.shortage_detected
  • inventory_level.updated
  • inventory_receipt.created
  • inventory_reservation.action_required
  • inventory_reservation.at_risk
  • inventory_reservation.closed
  • inventory_reservation.committed
  • inventory_reservation.consumed
  • inventory_reservation.created
  • inventory_reservation.hold_expired
  • inventory_reservation.released
  • inventory_reservation.updated
  • inventory_transfer.closed
  • inventory_transfer.departed
  • inventory_transfer.lost
  • inventory_transfer.received
  • inventory_transfer.returned
  • inventory_transfer.updated
  • invoice.collection_block_resolved
  • invoice.collection_blocked
  • invoice.created
  • invoice.credited
  • invoice.issue_failed
  • invoice.issued
  • invoice.late_fee_assessed
  • invoice.late_fee_due
  • invoice.late_fee_waived
  • invoice.marked_uncollectible
  • invoice.overdue
  • invoice.paid
  • invoice.partially_paid
  • invoice.partially_refunded
  • invoice.refunded
  • invoice.reminder_due
  • invoice.reopened
  • invoice.sent
  • invoice.updated
  • invoice.voided
  • invoice_delivery_attempt.failed
  • invoice_delivery_attempt.sent
  • invoice_delivery_attempt.suppressed
  • invoice_manual_payment.created
  • invoice_manual_payment.reversed
  • invoice_payment_attempt.canceled
  • invoice_payment_attempt.expired
  • invoice_payment_attempt.failed
  • invoice_payment_attempt.processing
  • invoice_payment_attempt.succeeded
  • license_key.created
  • license_key.disabled
  • license_key.expired
  • license_key.updated
  • license_key_activation.created
  • license_key_activation.released
  • license_key_pool.archived
  • license_key_pool.created
  • license_key_pool.low_stock
  • license_key_pool.out_of_stock
  • license_key_pool.updated
  • merchant.readiness_updated
  • merchant.updated
  • merchant_billing_balance.updated
  • merchant_billing_invoice.issued
  • merchant_billing_invoice.updated
  • modifier_group.archived
  • modifier_group.created
  • modifier_group.updated
  • modifier_set.archived
  • modifier_set.created
  • modifier_set.updated
  • order.closed
  • order.created
  • order.inventory_exception_created
  • order.inventory_exception_resolved
  • order.paid
  • order.partially_paid
  • order.partially_refunded
  • order.refunded
  • order.updated
  • order_edit.canceled
  • order_edit.completed
  • order_edit.created
  • order_edit.updated
  • package.created
  • package.updated
  • partner_app.platform_approved
  • partner_app.platform_limited
  • partner_app.platform_rejected
  • partner_app.updated
  • partner_app_install.created
  • partner_app_install.permissions_updated
  • partner_app_install.revoked
  • partner_app_install.updated
  • payment_intent.authorization_expiring
  • payment_intent.canceled
  • payment_intent.created
  • payment_intent.expired
  • payment_intent.fulfillment_hold_updated
  • payment_intent.payment_failed
  • payment_intent.processing
  • payment_intent.requires_action
  • payment_intent.requires_capture
  • payment_intent.succeeded
  • payment_intent.updated
  • payment_link.created
  • payment_link.updated
  • payment_method.activated
  • payment_method.archived
  • payment_method.failed
  • payment_method.updated
  • payment_review.closed
  • payment_review.opened
  • payment_review.reopened
  • payment_split.canceled
  • payment_split.created
  • payment_split.failed
  • payment_split.succeeded
  • payment_split.updated
  • payout.canceled
  • payout.created
  • payout.failed
  • payout.reversed
  • payout.succeeded
  • payout.updated
  • payout_destination.archived
  • payout_destination.created
  • payout_destination.disabled
  • payout_destination.updated
  • payout_settings.updated
  • platform_fee.canceled
  • platform_fee.created
  • platform_fee.succeeded
  • platform_fee.updated
  • platform_fee_payout.created
  • platform_fee_payout.failed
  • platform_fee_payout.succeeded
  • price_list.archived
  • price_list.created
  • price_list.updated
  • product.archived
  • product.created
  • product.updated
  • product_variant.archived
  • product_variant.created
  • product_variant.updated
  • promotion.archived
  • promotion.created
  • promotion.updated
  • promotion_code.archived
  • promotion_code.created
  • promotion_code.updated
  • reader.archived
  • reader.created
  • reader.updated
  • refund.created
  • refund.failed
  • refund.partially_succeeded
  • refund.succeeded
  • refund.updated
  • report.failed
  • report.succeeded
  • return.canceled
  • return.completed
  • return.created
  • return.decision_recorded
  • return.reopened
  • return.updated
  • return_disposition.created
  • return_disposition.updated
  • return_inspection.acceptance_decided
  • return_inspection.created
  • return_inspection.superseded
  • return_receipt.created
  • return_receipt.superseded
  • return_receipt.verified
  • return_resolution.created
  • return_resolution.updated
  • shipment.created
  • shipment.updated
  • shop.archived
  • shop.created
  • shop.updated
  • subscription.activated
  • subscription.canceled
  • subscription.cancellation_scheduled
  • subscription.created
  • subscription.cycle_skipped
  • subscription.delivery_action_required
  • subscription.delivery_pause_upcoming
  • subscription.delivery_updated
  • subscription.dunning_exhausted
  • subscription.end_upcoming
  • subscription.past_due
  • subscription.paused
  • subscription.payment_succeeded
  • subscription.plan_change_canceled
  • subscription.plan_change_scheduled
  • subscription.plan_changed
  • subscription.reactivated
  • subscription.renewal_upcoming
  • subscription.resumed
  • subscription.trial_ending
  • subscription.updated
  • subscription_delivery_migration.completed
  • subscription_payment_retry.created
  • subscription_payment_retry.failed
  • subscription_payment_retry.succeeded
  • tax_calculation_callback.activated
  • tax_calculation_callback.archived
  • tax_calculation_callback.created
  • tax_calculation_callback.deactivated
  • tax_calculation_callback.updated
  • tax_connection.updated
  • test_clock.advancing
  • test_clock.archived
  • test_clock.created
  • test_clock.failed
  • test_clock.ready
  • ticket.checked_in
  • ticket.created
  • ticket.updated
  • ticket.voided
resource_typearray of enum

Filter by affected resource type. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.

  • api_key
  • balance
  • balance_transaction
  • bundle
  • category
  • checkout_session
  • credit_note
  • credit_note_allocation
  • custom_domain
  • customer
  • customer_deletion_request
  • customer_email_preferences
  • delivery_location_set
  • delivery_method
  • delivery_profile
  • delivery_rate_callback
  • delivery_revocation
  • delivery_selection
  • delivery_zone
  • dispute
  • environment_grant
  • fraud_warning
  • fulfillment
  • fulfillment_event
  • gift_card
  • gift_card_load
  • gift_card_notification
  • gift_card_redemption
  • gift_card_transaction
  • inventory_count
  • inventory_level
  • inventory_receipt
  • inventory_reservation
  • inventory_transfer
  • invoice
  • invoice_delivery_attempt
  • invoice_manual_payment
  • invoice_payment_attempt
  • license_key
  • license_key_activation
  • license_key_pool
  • merchant
  • merchant_billing_balance
  • merchant_billing_invoice
  • modifier_group
  • modifier_set
  • order
  • order_edit
  • package
  • partner_app
  • partner_app_install
  • payment_intent
  • payment_link
  • payment_method
  • payment_review
  • payment_split
  • payout
  • payout_destination
  • payout_settings
  • platform_fee
  • platform_fee_payout
  • price_list
  • product
  • product_variant
  • promotion
  • promotion_code
  • reader
  • refund
  • report
  • return
  • return_disposition
  • return_inspection
  • return_receipt
  • return_resolution
  • shipment
  • shop
  • subscription
  • subscription_delivery_migration
  • subscription_payment_retry
  • tax_calculation_callback
  • tax_connection
  • test_clock
  • ticket
resource_idstring

Filter by affected resource ID.

api_request_log_idstring

Filter by API request log ID associated with the event.

request_idstring

Filter by request ID associated with the event.

created_afterstring

Inclusive lower bound on created_at.

created_beforestring

Exclusive upper bound on created_at.

testboolean

Filter by whether the event is synthetic: true returns only synthetic test events, false excludes them. Omit to return all events.

Response · 200

A page of webhook events.

dataarray of objectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

next_page_tokenstring

Opaque token to send as `page_token` to retrieve the next page. Omitted when there is no next page.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl https://api.withflintpay.com/v1/webhook-events \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

A page of webhook events.

JSON
{
  "data": [
    {
      "api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
      "api_version": "2026-09-07",
      "created_at": "2026-03-17T14:30:00Z",
      "event_source": "merchant",
      "event_type": "order.paid",
      "merchant_id": "mer_01KEZF7C00MPP0T9S0KH5BB4CC",
      "mode": "live",
      "payload_version": 2,
      "request": {
        "id": "req_01KWM6ACYNETFVATDT9F46D2XA"
      },
      "resource_id": "ord_01KEZF7C00JBKMARG3P06Z224B",
      "resource_type": "order",
      "test": false,
      "webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
    }
  ],
  "meta": {
    "api_version": "2026-09-07"
  },
  "next_page_token": "example",
  "request_id": "req_01KWM6J4QCYWZ0R3N6DQSE8DNV"
}

Get webhook event#

GET/v1/webhook-events/{webhook_event_id}

Requires scope webhooks.read or webhooks.write

Rate limit: read

Returns a specific webhook event for the authenticated merchant. Global partner-source records are invisible in sandbox mode; a direct reference returns 404 RESOURCE_NOT_FOUND.

Path parameters

webhook_event_idstringRequired

Flint webhook event ID. Must be a valid ID with prefix whev_. Malformed IDs return 400 INVALID_REQUEST with detail INVALID_VALUE; well-formed IDs that do not exist return 404 RESOURCE_NOT_FOUND.

Response · 200

The selected webhook event.

dataobjectRequired

Resource, collection, or operation result returned by this request.

metaobject

Additional information about this response.

request_idstringRequired

Identifier of this API request, used to correlate logs and support requests.

curl https://api.withflintpay.com/v1/webhook-events/whev_01KEZF7C00362MS3HV970TRZGS \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

The selected webhook event.

JSON
{
  "data": {
    "api_request_log_id": "rlog_01KEZF7C00SMPBXVMJEG4SRRD2",
    "api_version": "2026-09-07",
    "created_at": "2026-03-17T14:30:00Z",
    "data": {
      "object": {
        "order_id": "ord_01KEZF7C00JBKMARG3P06Z224B",
        "payment_status": "paid",
        "status": "closed"
      }
    },
    "event_source": "merchant",
    "event_type": "order.paid",
    "merchant_id": "mer_01KEZF7C00MPP0T9S0KH5BB4CC",
    "mode": "live",
    "payload_version": 2,
    "request": {
      "id": "req_01KWM6ACYNETFVATDT9F46D2XA"
    },
    "resource_id": "ord_01KEZF7C00JBKMARG3P06Z224B",
    "resource_type": "order",
    "test": false,
    "webhook_event_id": "whev_01KEZF7C00BW7XQJ98PQ8EHA81"
  },
  "meta": {
    "api_version": "2026-09-07"
  },
  "request_id": "req_01KWM62M331M5W0YEKMCFQP22S"
}

Stream webhook events#

GET/v1/webhook-events/stream

Requires scope webhooks.read or webhooks.write

Rate limit: read

Streams canonical merchant webhook events created after the connection opens or after the supplied event ID. SSE event IDs are resumable webhook event IDs. Control records include ready, gap, withheld, and disconnect. Gap records indicate cursor_unavailable or payload_expired; withheld records hide payloads the caller cannot read. Backpressure emits disconnect with reason backpressure and resume_cursor identifying the last sent event, so clients can reconnect without losing events. A partner app token streams the installed merchant's events in the environment its grant covers, and sees a payload only for an event Flint forwards to installed-merchant endpoints whose read scope the grant holds; every other event is a withheld record.

Query parameters

event_typearray of enum

Filter by canonical merchant webhook event type. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.

  • api_key.created
  • api_key.revoked
  • api_key.updated
  • balance.updated
  • balance_transaction.created
  • balance_transaction.updated
  • bundle.archived
  • bundle.created
  • bundle.updated
  • category.created
  • category.deleted
  • category.updated
  • checkout_session.closed
  • checkout_session.created
  • checkout_session.expired
  • checkout_session.invalidated
  • checkout_session.paid
  • checkout_session.partially_paid
  • checkout_session.updated
  • credit_note.created
  • credit_note.issued
  • credit_note.updated
  • credit_note.voided
  • credit_note_allocation.created
  • credit_note_allocation.reversed
  • custom_domain.archived
  • custom_domain.updated
  • customer.created
  • customer.deleted
  • customer.updated
  • customer_deletion_request.completed
  • customer_deletion_request.created
  • customer_deletion_request.failed
  • customer_deletion_request.processing
  • customer_deletion_request.rejected
  • customer_email_preferences.updated
  • delivery_location_set.archived
  • delivery_location_set.created
  • delivery_location_set.updated
  • delivery_method.activated
  • delivery_method.archived
  • delivery_method.created
  • delivery_method.deactivated
  • delivery_method.updated
  • delivery_profile.archived
  • delivery_profile.created
  • delivery_profile.updated
  • delivery_rate_callback.activated
  • delivery_rate_callback.archived
  • delivery_rate_callback.created
  • delivery_rate_callback.deactivated
  • delivery_rate_callback.updated
  • delivery_revocation.created
  • delivery_selection.committed
  • delivery_zone.archived
  • delivery_zone.created
  • delivery_zone.updated
  • dispute.created
  • dispute.inquiry_closed
  • dispute.lost
  • dispute.needs_response
  • dispute.prevented
  • dispute.updated
  • dispute.won
  • fraud_warning.created
  • fraud_warning.updated
  • fulfillment.canceled
  • fulfillment.completed
  • fulfillment.created
  • fulfillment.failed
  • fulfillment.updated
  • fulfillment_event.created
  • gift_card.created
  • gift_card.updated
  • gift_card_load.created
  • gift_card_load.updated
  • gift_card_notification.created
  • gift_card_notification.updated
  • gift_card_redemption.created
  • gift_card_redemption.updated
  • gift_card_transaction.created
  • inventory_count.applied
  • inventory_count.updated
  • inventory_level.shortage_detected
  • inventory_level.updated
  • inventory_receipt.created
  • inventory_reservation.action_required
  • inventory_reservation.at_risk
  • inventory_reservation.closed
  • inventory_reservation.committed
  • inventory_reservation.consumed
  • inventory_reservation.created
  • inventory_reservation.hold_expired
  • inventory_reservation.released
  • inventory_reservation.updated
  • inventory_transfer.closed
  • inventory_transfer.departed
  • inventory_transfer.lost
  • inventory_transfer.received
  • inventory_transfer.returned
  • inventory_transfer.updated
  • invoice.collection_block_resolved
  • invoice.collection_blocked
  • invoice.created
  • invoice.credited
  • invoice.issue_failed
  • invoice.issued
  • invoice.late_fee_assessed
  • invoice.late_fee_due
  • invoice.late_fee_waived
  • invoice.marked_uncollectible
  • invoice.overdue
  • invoice.paid
  • invoice.partially_paid
  • invoice.partially_refunded
  • invoice.refunded
  • invoice.reminder_due
  • invoice.reopened
  • invoice.sent
  • invoice.updated
  • invoice.voided
  • invoice_delivery_attempt.failed
  • invoice_delivery_attempt.sent
  • invoice_delivery_attempt.suppressed
  • invoice_manual_payment.created
  • invoice_manual_payment.reversed
  • invoice_payment_attempt.canceled
  • invoice_payment_attempt.expired
  • invoice_payment_attempt.failed
  • invoice_payment_attempt.processing
  • invoice_payment_attempt.succeeded
  • license_key.created
  • license_key.disabled
  • license_key.expired
  • license_key.updated
  • license_key_activation.created
  • license_key_activation.released
  • license_key_pool.archived
  • license_key_pool.created
  • license_key_pool.low_stock
  • license_key_pool.out_of_stock
  • license_key_pool.updated
  • merchant.readiness_updated
  • merchant.updated
  • merchant_billing_balance.updated
  • merchant_billing_invoice.issued
  • merchant_billing_invoice.updated
  • modifier_group.archived
  • modifier_group.created
  • modifier_group.updated
  • modifier_set.archived
  • modifier_set.created
  • modifier_set.updated
  • order.closed
  • order.created
  • order.inventory_exception_created
  • order.inventory_exception_resolved
  • order.paid
  • order.partially_paid
  • order.partially_refunded
  • order.refunded
  • order.updated
  • order_edit.canceled
  • order_edit.completed
  • order_edit.created
  • order_edit.updated
  • package.created
  • package.updated
  • partner_app.platform_approved
  • partner_app.platform_limited
  • partner_app.platform_rejected
  • partner_app.updated
  • payment_intent.authorization_expiring
  • payment_intent.canceled
  • payment_intent.created
  • payment_intent.expired
  • payment_intent.fulfillment_hold_updated
  • payment_intent.payment_failed
  • payment_intent.processing
  • payment_intent.requires_action
  • payment_intent.requires_capture
  • payment_intent.succeeded
  • payment_intent.updated
  • payment_link.created
  • payment_link.updated
  • payment_method.activated
  • payment_method.archived
  • payment_method.failed
  • payment_method.updated
  • payment_review.closed
  • payment_review.opened
  • payment_review.reopened
  • payment_split.canceled
  • payment_split.created
  • payment_split.failed
  • payment_split.succeeded
  • payment_split.updated
  • payout.canceled
  • payout.created
  • payout.failed
  • payout.reversed
  • payout.succeeded
  • payout.updated
  • payout_destination.archived
  • payout_destination.created
  • payout_destination.disabled
  • payout_destination.updated
  • payout_settings.updated
  • platform_fee.canceled
  • platform_fee.created
  • platform_fee.succeeded
  • platform_fee.updated
  • platform_fee_payout.created
  • platform_fee_payout.failed
  • platform_fee_payout.succeeded
  • price_list.archived
  • price_list.created
  • price_list.updated
  • product.archived
  • product.created
  • product.updated
  • product_variant.archived
  • product_variant.created
  • product_variant.updated
  • promotion.archived
  • promotion.created
  • promotion.updated
  • promotion_code.archived
  • promotion_code.created
  • promotion_code.updated
  • reader.archived
  • reader.created
  • reader.updated
  • refund.created
  • refund.failed
  • refund.partially_succeeded
  • refund.succeeded
  • refund.updated
  • report.failed
  • report.succeeded
  • return.canceled
  • return.completed
  • return.created
  • return.decision_recorded
  • return.reopened
  • return.updated
  • return_disposition.created
  • return_disposition.updated
  • return_inspection.acceptance_decided
  • return_inspection.created
  • return_inspection.superseded
  • return_receipt.created
  • return_receipt.superseded
  • return_receipt.verified
  • return_resolution.created
  • return_resolution.updated
  • shipment.created
  • shipment.updated
  • shop.archived
  • shop.created
  • shop.updated
  • subscription.activated
  • subscription.canceled
  • subscription.cancellation_scheduled
  • subscription.created
  • subscription.cycle_skipped
  • subscription.delivery_action_required
  • subscription.delivery_pause_upcoming
  • subscription.delivery_updated
  • subscription.dunning_exhausted
  • subscription.end_upcoming
  • subscription.past_due
  • subscription.paused
  • subscription.payment_succeeded
  • subscription.plan_change_canceled
  • subscription.plan_change_scheduled
  • subscription.plan_changed
  • subscription.reactivated
  • subscription.renewal_upcoming
  • subscription.resumed
  • subscription.trial_ending
  • subscription.updated
  • subscription_delivery_migration.completed
  • subscription_payment_retry.created
  • subscription_payment_retry.failed
  • subscription_payment_retry.succeeded
  • tax_calculation_callback.activated
  • tax_calculation_callback.archived
  • tax_calculation_callback.created
  • tax_calculation_callback.deactivated
  • tax_calculation_callback.updated
  • tax_connection.updated
  • test_clock.advancing
  • test_clock.archived
  • test_clock.created
  • test_clock.failed
  • test_clock.ready
  • ticket.checked_in
  • ticket.created
  • ticket.updated
  • ticket.voided
testboolean

Filter by whether the event is synthetic: true returns only synthetic test events, false excludes them. Omit to return all events.

after_event_idstring

Webhook event ID to resume after. Last-Event-ID is preferred when reconnecting.

Response · 200

An SSE stream of webhook.event, ready, gap, withheld, and disconnect records. Every cursor-advancing webhook.event, gap, or withheld record includes an id field suitable for Last-Event-ID.

Content type text/event-stream

curl https://api.withflintpay.com/v1/webhook-events/stream \
  -H "Flint-Version: 2026-09-07" \
  -H "Authorization: Bearer YOUR_API_KEY"

An SSE stream of webhook.event, ready, gap, withheld, and disconnect records. Every cursor-advancing webhook.event, gap, or withheld record includes an id field suitable for Last-Event-ID.

Returns text/event-stream.

Was this helpful?