Skip to content

Payment events ​

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

Payment · transaction
  1. detectedtransaction.detected
  2. confirmingtransaction.detected
  3. confirmedtransaction.confirmed
  4. revertedtransaction.reverted

confirmed can become reverted, and confirmed again.

Shared data ​

FieldTypeNote
transaction_iduuidThe transaction, the same as aggregate_id.
network_iduuidThe network's id, as listNetworks reports it.
tx_hashstring
statusenumThe payment's status as the event leaves it. transaction.detected is detected or confirming, as getTransaction reports it then. One of detected, confirming, confirmed, reverted.
amountsobject[]Optional. The signed change to the install's funds per asset, as getTransaction reports it. The network fee is excluded, except on Bitcoin, where a sweep's amounts include the fee its inputs paid. Negative is money leaving the install. Absent when nothing the install owns moved. A repeated confirmation states it whole again. transaction.reverted states the amounts of the newest confirmation it takes back, which getTransaction does not report for a reverted transaction, and none when it takes back none. transaction.detected states what the payment would move if it confirmed as it stands; nothing has moved yet.
amounts[].asset_iduuid
amounts[].amountstringA decimal string in the asset's own units.
walletsobject[]Optional. The customers the transaction paid, sorted by wallet_id: each customer address that received money from outside the install, with what it received per asset. A transaction sent by one of the install's own addresses pays no customer: a sweep, a gas top-up, or a payout from the treasury. A Bitcoin transaction names no sender, so one that spends from any of the install's own addresses pays none. One anyone else sends pays no customer in an asset it takes, on balance, from one of the install's own addresses, such as a token issuer's transfer out of the treasury. A repeated transaction.confirmed lists every customer again, so set each credit and never add to it. transaction.reverted names every customer the confirmations it takes back named. transaction.detected names the customers its confirmation would pay, and none of them is credited before that. Absent when the transaction paid no customer. Each customer paid in one asset adds about 200 bytes to the event with a 36-character external_id, and up to about 1.7 KB with one of 255 characters; only the chain limits how many one transaction pays, so accept bodies as large as your largest payment's event.
wallets[].wallet_iduuidThe customer address, as getWallet reads it.
wallets[].external_idstringYour reference for the customer, as you sent it to createWallet.
wallets[].amountsobject[]What the customer was paid at this address per asset, network fee excluded.
wallets[].amounts[].asset_iduuid
wallets[].amounts[].amountstringA decimal string in the asset's own units, above zero.
inclusion_block_hashstringOptional. The block that includes the transaction. Only in transaction.detected and transaction.confirmed.
confirmationsobjectOptional. How far the payment is from its network's confirmation policy when it was detected, as getTransaction reports it. Only in transaction.detected, which is not repeated as the count grows: read getTransaction for the current figure. Each count is null on a network whose policy is a phase rather than a number of blocks.
confirmations.currentinteger or nullThe blocks that include the payment or follow its block.
confirmations.requiredinteger or nullThe count the payment's policy asks for.
confirmations.remaininginteger or null
confirmations.progress_percentinteger or null
former_inclusion_block_hashstringOptional. The block the reorganisation removed. Only in transaction.reverted.
canonicality_generationintegerCounts the transaction's moves into confirmed or reverted. A repeated confirmation keeps its generation, so order events by canonicality_generation and then occurred_at. transaction.detected carries the generation its payment's next transaction.confirmed or transaction.reverted will, and comes before it.
reorg_generationintegerOptional. The reorganisation case of a payout's transaction, when it had one.

transaction.detected ​

A transaction paying one of your customer addresses is on chain and waits for its network's confirmation policy. Nothing is credited, so never credit, ship or release anything on this event; only transaction.confirmed is money in. When it is the newest event of the payment you have, set each of the payment's credits to 0 and show its wallets as pending, since a newer canonicality_generation means every earlier credit was taken back. It is sent for a payment of any amount, dust included; an endpoint whose events leave it out receives none. It is sent once a canonicality_generation, at the install's first check of the payment, with the canonicality_generation its transaction.confirmed or transaction.reverted will carry; a payment that already meets its policy at that check sends none, as every payment does on Solana and XRPL under their default policy of one confirmation, since their scanners read only final data. If the operator raises the policy there, each payment, already final on chain, sends one until it reaches that policy. One not yet sent to an endpoint when a later transaction.confirmed or transaction.reverted of its payment exists for that endpoint is never sent there, and its delivery ends superseded; an endpoint that does not receive the outcome gets the detection. A transaction.reverted of the same canonicality_generation means the payment left the chain before it confirmed.

Example · from the catalog

json
{
  "id": "6b1e0c52-3f4a-4c8e-9a17-0d2b5e8f1a28",
  "type": "transaction.detected",
  "aggregate_type": "chain_transaction",
  "aggregate_id": "8d4e1f22-0c9a-4b3e-9d17-5a6b7c8d9e0f",
  "schema_version": 1,
  "occurred_at": "2026-09-24T09:28:01.511873Z",
  "data": {
    "transaction_id": "8d4e1f22-0c9a-4b3e-9d17-5a6b7c8d9e0f",
    "network_id": "7845483d-e3b5-4754-bcec-cc6c2019ad89",
    "tx_hash": "0x4a8f1c2d3e5b6a7980c1d2e3f4a5b6c7d8e9f00112233445566778899aabbcc",
    "status": "confirming",
    "amounts": [
      {
        "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
        "amount": "0.015"
      }
    ],
    "wallets": [
      {
        "wallet_id": "1080986a-b3b8-458c-a9cb-855f77f0189a",
        "external_id": "customer-42",
        "amounts": [
          {
            "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
            "amount": "0.015"
          }
        ]
      }
    ],
    "confirmations": {
      "current": 1,
      "required": 12,
      "remaining": 11,
      "progress_percent": 8
    },
    "inclusion_block_hash": "0x000000000000000a3c2b1f0e9d8c7b6a5f4e3d2c1b0a99887766554433221100",
    "canonicality_generation": 1
  }
}

transaction.confirmed ​

The transaction met its network's confirmation policy; a reorganisation can still revert it. A later change to its amounts or customers repeats it with the same canonicality_generation, such as a customer credit that posts late, or a sweep whose send timed out and that the install recognises as its own only after it confirmed. On EVM, and on TRON, Solana, XRPL and Bitcoin for a payout to one of the install's customer addresses, a payout's transaction is announced once the payout's outcome is known; an EVM payout whose send timed out sends its first transaction.confirmed once the install recognises it, and one whose transfer the chain leaves short or unclear once it settles, after an operator's ruling where it needs one. On TRON, Solana, XRPL and Bitcoin, a payout's transaction that a reorganisation reported as reverted is announced again once it confirms again and the payout has settled.

Example · from the catalog

json
{
  "id": "6b1e0c52-3f4a-4c8e-9a17-0d2b5e8f1a13",
  "type": "transaction.confirmed",
  "aggregate_type": "chain_transaction",
  "aggregate_id": "8d4e1f22-0c9a-4b3e-9d17-5a6b7c8d9e0f",
  "schema_version": 1,
  "occurred_at": "2026-09-24T09:31:48.204519Z",
  "data": {
    "transaction_id": "8d4e1f22-0c9a-4b3e-9d17-5a6b7c8d9e0f",
    "network_id": "7845483d-e3b5-4754-bcec-cc6c2019ad89",
    "tx_hash": "0x4a8f1c2d3e5b6a7980c1d2e3f4a5b6c7d8e9f00112233445566778899aabbcc",
    "status": "confirmed",
    "amounts": [
      {
        "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
        "amount": "0.015"
      }
    ],
    "wallets": [
      {
        "wallet_id": "1080986a-b3b8-458c-a9cb-855f77f0189a",
        "external_id": "customer-42",
        "amounts": [
          {
            "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
            "amount": "0.015"
          }
        ]
      }
    ],
    "inclusion_block_hash": "0x000000000000000a3c2b1f0e9d8c7b6a5f4e3d2c1b0a99887766554433221100",
    "canonicality_generation": 1
  }
}

transaction.reverted ​

A reorganisation removed the transaction from the chain; it can confirm again later. It takes back the transaction.confirmed events one canonicality_generation below its own, restating the newest one's amounts and every customer they named, and carries neither when none was sent, as for a transaction that had not confirmed or whose confirmation waited for its payout. It also ends the transaction.detected of its own canonicality_generation, if one was sent; that payment left the chain before it confirmed, so clear what you showed as pending for it.

Example · from the catalog

json
{
  "id": "6b1e0c52-3f4a-4c8e-9a17-0d2b5e8f1a14",
  "type": "transaction.reverted",
  "aggregate_type": "chain_transaction",
  "aggregate_id": "8d4e1f22-0c9a-4b3e-9d17-5a6b7c8d9e0f",
  "schema_version": 1,
  "occurred_at": "2026-09-24T09:40:02.718335Z",
  "data": {
    "transaction_id": "8d4e1f22-0c9a-4b3e-9d17-5a6b7c8d9e0f",
    "network_id": "7845483d-e3b5-4754-bcec-cc6c2019ad89",
    "tx_hash": "0x4a8f1c2d3e5b6a7980c1d2e3f4a5b6c7d8e9f00112233445566778899aabbcc",
    "status": "reverted",
    "amounts": [
      {
        "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
        "amount": "0.015"
      }
    ],
    "wallets": [
      {
        "wallet_id": "1080986a-b3b8-458c-a9cb-855f77f0189a",
        "external_id": "customer-42",
        "amounts": [
          {
            "asset_id": "311d52dc-f56b-40b3-b77d-b68fab806e29",
            "amount": "0.015"
          }
        ]
      }
    ],
    "former_inclusion_block_hash": "0x000000000000000a3c2b1f0e9d8c7b6a5f4e3d2c1b0a99887766554433221100",
    "canonicality_generation": 2
  }
}