General
All Tesser webhook events share a common envelope structure. The envelope wraps event-specific data in a consistent format so your handler can route and process events uniformly.
Envelope Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique event identifier |
type | string | Event type in scope.action format (e.g. payment.quote_created) |
created_at | string | ISO 8601 timestamp of when the event was created |
data | object | Contains the event-specific payload under data.object |
Event Type Format
Event types follow the pattern scope.action. Current scopes are payment, deposit, withdrawal, rebalance, and step. See Payment Updates and Treasury Updates for event details.
Delivery and Ordering
- One resource's events are delivered one at a time. Events about one payment, deposit, withdrawal or rebalance, including its steps' events, reach each webhook URL one at a time, in the order Tesser queued them. Tesser sends the next one only after your endpoint has answered the previous one with a
2xx. Events about different resources have no order between them. - Queue order isn't always the order things happened. Some events are produced independently and can be queued in either order, such as
payment.risk_updatedandstep.completedon an inbound payment. When a payment finishes, its last step's event is sent before thepayment.updatedthat finishes it. When Travel Rule data links funds to an inbound payment,step.confirmedis sent before itspayment.updated. - A step's own events can arrive out of order. A step always moves through its statuses in order, but when it moves quickly, its
step.submittedorstep.confirmedcan arrive after itsstep.completed, and after the*.updatedevent that finishes the resource. Eachstep.*event carries thestatusit reports. If an event reports an earlier status than one you already hold for that step, such asstep.confirmedafterstep.completed, ignore it. - Respond within 5 seconds. A response that isn't a
2xx, or that takes longer than 5 seconds, counts as a failure. Tesser retries that event, and the resource's later events wait for it. If it keeps failing for a few minutes, Tesser stops retrying it and sends the resource's next events. - Expect repeats. The same event can arrive more than once, for example when your
2xxdidn't reach Tesser; it then carries the same envelopeid, so ignore anidyou already handled. Tesser can also send a new event that repeats a state you already hold, so compare the payload with what you have. - Keep processing in order. If your endpoint processes each event before it responds, it processes a resource's events in the order they were delivered. If it responds first and processes later, for example from your own queue, keep that processing in order per resource. To act on a resource's current state, read it from the API (for example,
GET /v1/payments/{id}) rather than relying on the order events arrived in.
Example Payloads
The data.object carries the full resource for top-level events (payment.*, deposit.*, withdrawal.*, rebalance.*) and the individual step resource for step.* events. The top-level examples below use the terminal-state *.updated event, which carries the fullest payload — desired, estimated, and actual overlays all populated, and each step in a terminal status with its timestamps and actual.* filled in. The step example uses step.completed.
The compliance arrays on the Payment example — risk_status_reasons[], participants[], and provider_metadata[] — are shown empty to keep the envelope readable. For populated examples of each, see Outcome Examples and Participants Examples.
Example terminal-state payment.updated webhook (USDC payout on Ethereum, complete):
Code
Inbound variant. The example above is an outbound payout. Inbound payments use the same envelope and the same Payment resource, with these differences:
| Field | Outbound | Inbound |
|---|---|---|
direction | outbound | inbound |
funding_account_id | the account funding the payout | the originator's generic account when Travel Rule data sent an account number, otherwise null |
desired.* | echoes what you requested | all null — you never requested the payment |
estimated.* | populated at planning (payment.quote_created) | populated when Tesser records the on-chain transaction (payment.created) |
expires_at | end of the quote and funding window | null |
steps[] | one entry per planned leg | exactly one, created in confirmed status |
steps[].provider_key | capa, circle_mint, kraken, openfx, turnkey, or zuba | null — the external sender signed and broadcast the transaction |
Exception: when an on-chain deposit that Tesser did not start lands in your OpenFX ledger, Tesser records it as an inbound payment whose one step has provider_key openfx and is created in completed status.
In a workspace with Travel Rule enabled, an inbound payment on an EVM network (such as Ethereum, Base or Polygon) and its payment.created usually arrive about 5 minutes after Tesser detects the transaction on-chain, or sooner when Travel Rule data names the transaction. In rare cases the wait can stretch to about 12 minutes. The wallet is credited at the same moment. See Travel Rule Workspaces Wait for Travel Rule Data.
For an organization with early payment records turned on, a payment that begins with a Travel Rule authorization request on an EVM network gets its payment.created when the originator VASP opens the transfer, before Tesser decides; the decision follows on the same payment.
On an inbound payment, participants[] is an empty array until payment.participants_updated publishes it: when its first screening resolves, or right after payment.created for a payment created from a Travel Rule authorization request or one Tesser never screens. See Participants.
Travel Rule data can arrive after payment.created: when the funds land first, the wait ends before the data arrives, and the data names the funds' transaction, Tesser creates the payment from the on-chain transfer, and the originator's funding_account_id arrives later in a payment.updated. Travel Rule data that does not name the transaction becomes its own payment record; if it names the transaction later, its data moves onto the payment that received the funds, as step.updated on both payments shows. When that data names the originator VASP, wallet screening runs again and its payment.risk_updated delivers it instead, unless a risk review decision is already recorded, in which case payment.updated delivers it. Travel Rule participants that Tesser has before the participants are published are part of payment.participants_updated; those that arrive after are appended, as _UPDATED entries for a role already there, in another payment.participants_updated. See The Originator's Funding Account.
For full inbound payloads at each stage, see Receive an Inbound Payment to a Wallet.