Skip to content

Payout events ​

Every payout.* event: the fields its data can carry, then each event with an example from the catalog.

Payout · payout
  1. queuedpayout.queued
  2. signingno event
  3. broadcastpayout.broadcastpayout.reorg_resolved
  4. confirmingpayout.confirmingpayout.reorg_resolved
  5. confirmedfinalpayout.confirmedpayout.reorg_resolved
  6. failedfinalpayout.failedpayout.reorg_resolved

Can return to queued from signing and broadcast.

After a reorg: reorged, sent as payout.reorg_detected.

Shared data ​

FieldTypeNote
payout_iduuidThe payout's id, as getPayout takes it; the same as aggregate_id.
external_idstringOptional. Your reference for the payout, as you sent it to createPayout; in every event of that payout.
network_iduuidThe network's id, as listNetworks reports it.
networkstringThe network's code, such as tron.
asset_iduuidThe asset's id, as listAssets reports it.
assetstringThe asset's code, such as usdt. Two assets of one network can share a code; asset_id names the one.
amountstringThe payout's amount, a decimal string in the asset's own units.
statusenumThe payout's status after this event. No event announces signing. One of queued, broadcast, confirming, confirmed, failed, reorged.
transaction_iduuidOptional. The id of the payout's transaction, once linked.
tx_hashstringOptional. The payout's transaction hash, once broadcast.
failureobjectOptional. Why the payout failed, while it is failed, and under reorged for a payout that had failed.
failure.codestringSuch as insufficient_balance, or attempts_exhausted when every attempt was spent.
failure.messagestringFor people; branch on code.

payout.queued ​

createPayout accepted the payout.

Example · from the catalog

json
{
  "id": "6b1e0c52-3f4a-4c8e-9a17-0d2b5e8f1a15",
  "type": "payout.queued",
  "aggregate_type": "withdrawal",
  "aggregate_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
  "schema_version": 1,
  "occurred_at": "2026-09-24T10:00:00.102936Z",
  "data": {
    "payout_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
    "external_id": "payout-48291",
    "network_id": "7845483d-e3b5-4754-bcec-cc6c2019ad89",
    "network": "tron",
    "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
    "asset": "usdt",
    "amount": "0.01",
    "status": "queued"
  }
}

payout.broadcast ​

A node accepted the signed transaction, which tx_hash names.

Example · from the catalog

json
{
  "id": "6b1e0c52-3f4a-4c8e-9a17-0d2b5e8f1a17",
  "type": "payout.broadcast",
  "aggregate_type": "withdrawal",
  "aggregate_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
  "schema_version": 1,
  "occurred_at": "2026-09-24T10:00:03.905512Z",
  "data": {
    "payout_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
    "external_id": "payout-48291",
    "network_id": "7845483d-e3b5-4754-bcec-cc6c2019ad89",
    "network": "tron",
    "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
    "asset": "usdt",
    "amount": "0.01",
    "status": "broadcast",
    "tx_hash": "7d2e4f6a8b0c1d3e5f7a9b0c2d4e6f8a0b1c3d5e7f9a0b2c4d6e8f0a1b3c5d7e"
  }
}

payout.confirming ​

The transaction is on chain and matched to the payout; payout.confirmed, or payout.failed if it moved nothing, reverted or an operator rules it undelivered, follows once it meets the network's confirmation policy and settles. A transfer the chain leaves unclear settles only once an operator rules on it.

Example · from the catalog

json
{
  "id": "6b1e0c52-3f4a-4c8e-9a17-0d2b5e8f1a18",
  "type": "payout.confirming",
  "aggregate_type": "withdrawal",
  "aggregate_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
  "schema_version": 1,
  "occurred_at": "2026-09-24T10:01:12.660048Z",
  "data": {
    "payout_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
    "external_id": "payout-48291",
    "network_id": "7845483d-e3b5-4754-bcec-cc6c2019ad89",
    "network": "tron",
    "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
    "asset": "usdt",
    "amount": "0.01",
    "status": "confirming",
    "transaction_id": "3b5d7f9a-1c2e-4a6b-8d0f-2a4c6e8a0b1d",
    "tx_hash": "7d2e4f6a8b0c1d3e5f7a9b0c2d4e6f8a0b1c3d5e7f9a0b2c4d6e8f0a1b3c5d7e"
  }
}

payout.confirmed ​

The payout arrived. This status is final unless a reorganisation includes the payout's transaction again and it fails there; payout.failed then follows.

Example · from the catalog

json
{
  "id": "6b1e0c52-3f4a-4c8e-9a17-0d2b5e8f1a19",
  "type": "payout.confirmed",
  "aggregate_type": "withdrawal",
  "aggregate_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
  "schema_version": 1,
  "occurred_at": "2026-09-24T10:12:30.477191Z",
  "data": {
    "payout_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
    "external_id": "payout-48291",
    "network_id": "7845483d-e3b5-4754-bcec-cc6c2019ad89",
    "network": "tron",
    "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
    "asset": "usdt",
    "amount": "0.01",
    "status": "confirmed",
    "transaction_id": "3b5d7f9a-1c2e-4a6b-8d0f-2a4c6e8a0b1d",
    "tx_hash": "7d2e4f6a8b0c1d3e5f7a9b0c2d4e6f8a0b1c3d5e7f9a0b2c4d6e8f0a1b3c5d7e"
  }
}

payout.failed ​

The amount did not leave, and failure.code says why, attempts_exhausted when every attempt was spent and failed_by_operator when an operator failed a payout that could never be paid. Create a new payout to try again. If a reorganisation includes a failed payout's transaction again and it succeeds there, payout.confirmed follows.

Example · from the catalog

json
{
  "id": "6b1e0c52-3f4a-4c8e-9a17-0d2b5e8f1a20",
  "type": "payout.failed",
  "aggregate_type": "withdrawal",
  "aggregate_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
  "schema_version": 1,
  "occurred_at": "2026-09-24T10:00:01.338470Z",
  "data": {
    "payout_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
    "external_id": "payout-48291",
    "network_id": "7845483d-e3b5-4754-bcec-cc6c2019ad89",
    "network": "tron",
    "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
    "asset": "usdt",
    "amount": "0.01",
    "status": "failed",
    "failure": {
      "code": "insufficient_balance",
      "message": "insufficient confirmed balance for the payout"
    }
  }
}

payout.reorg_detected ​

A reorganisation removed the payout's transaction; the payout shows reorged until that transaction confirms again, or until the case ends without it (the send proven absent and the payout sent again or failed, another version of a Bitcoin payout settling it, or an operator closing the case), when the payout shows its own status. No event says the case ended, but a step that also settles or fails the payout sends payout.confirmed or payout.failed as usual. A settled payout whose transaction confirms again with the other outcome takes it, and payout.failed or payout.confirmed says so.

Example · from the catalog

json
{
  "id": "6b1e0c52-3f4a-4c8e-9a17-0d2b5e8f1a23",
  "type": "payout.reorg_detected",
  "aggregate_type": "withdrawal",
  "aggregate_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
  "schema_version": 1,
  "occurred_at": "2026-09-24T10:20:44.391026Z",
  "data": {
    "payout_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
    "external_id": "payout-48291",
    "network_id": "7845483d-e3b5-4754-bcec-cc6c2019ad89",
    "network": "tron",
    "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
    "asset": "usdt",
    "amount": "0.01",
    "status": "reorged",
    "transaction_id": "3b5d7f9a-1c2e-4a6b-8d0f-2a4c6e8a0b1d",
    "tx_hash": "7d2e4f6a8b0c1d3e5f7a9b0c2d4e6f8a0b1c3d5e7f9a0b2c4d6e8f0a1b3c5d7e"
  }
}

payout.reorg_resolved ​

After a reorganisation, the payout's transaction is on chain again with the outcome it had, and status says where the payout stands, as before the reorganisation.

Example · from the catalog

json
{
  "id": "6b1e0c52-3f4a-4c8e-9a17-0d2b5e8f1a27",
  "type": "payout.reorg_resolved",
  "aggregate_type": "withdrawal",
  "aggregate_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
  "schema_version": 1,
  "occurred_at": "2026-09-24T10:31:09.556271Z",
  "data": {
    "payout_id": "c17401b0-2256-438c-b9fd-4b860c9216a7",
    "external_id": "payout-48291",
    "network_id": "7845483d-e3b5-4754-bcec-cc6c2019ad89",
    "network": "tron",
    "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
    "asset": "usdt",
    "amount": "0.01",
    "status": "broadcast",
    "transaction_id": "3b5d7f9a-1c2e-4a6b-8d0f-2a4c6e8a0b1d",
    "tx_hash": "7d2e4f6a8b0c1d3e5f7a9b0c2d4e6f8a0b1c3d5e7f9a0b2c4d6e8f0a1b3c5d7e"
  }
}