List payouts

GET/payouts

Return the environment's outbound payments as a list, {object, data, has_more, url}, newest first.

  • The filters are named.

    vault_id, reference_id, to_address, network_symbol and status match exactly, asset matches the symbol in any case, and created[gte], created[gt], created[lte] and created[lt] bound created_at; together they are ANDed, and each page lists under the filters its own request sends, so a later page sends them again beside starting_after or ending_before. Any other query parameter answers 400 parameter_unknown naming it, and a value outside its schema, a bad limit or a starting_after or ending_before naming no object of this list answers 422 parameter_invalid naming it. A network_symbol no chain answers to matches nothing.

  • One vault's payouts are vault_id=…, and the vault is not mandatory.

    The vault is an attribute of a payout, so the money-out feed of the whole environment is one list, narrowed by vault when a caller asks.

Show 4 more details
  • A reference_id filter can answer more than one payout: a reference freed by a payout that moved no money stays on that payout, beside the payout made under it afterwards.

  • The pending payouts are status=requested and status=queued.

    A payout in either of those two states is one a client may still reject; the other four are terminal.

  • The scope comes from the request, not from a filter.

    The environment is resolved from the credential and the X-Stridge-Environment header before any filter is read, and no filter can widen it: a payout of another environment is on no page, a vault_id naming another environment's vault included.

  • A resetting sandbox.

    While a sandbox's reset runs it answers 409 environment_resetting: nothing is served for a sandbox until its reset finishes.

Parameters

Query

  • limitinteger <int32>optionaldefault 20

    The page size. A value that is not an integer from 1 to the maximum answers 422 parameter_invalid naming limit; it is never clamped.

  • starting_afterstringoptional

    A cursor: the id of an object of this list, usually the last one of the page just read. The page answered holds the objects that come right after it in the list's order. The object need not match this request's filters; its place in the order is what counts.

    Show full description

    An id that names no object of this list in this environment answers 422 parameter_invalid naming starting_after. It cannot be sent with ending_before.

  • ending_beforestringoptional

    A cursor: the id of an object of this list, usually the first one of the page just read. The page answered holds the objects that come right before it, still in the list's order, and has_more says whether there are more before them.

    Show full description

    An id that names no object of this list in this environment answers 422 parameter_invalid naming ending_before, as does sending it together with starting_after.

  • vault_idstring <uuid>optional

    Only payouts out of this vault.

  • reference_idstringoptional

    Only payouts carrying this reference_id.

  • to_addressstringoptional

    Only payouts to this address, as to_address carries it.

  • network_symbolstringoptional

    Only payouts on this chain, named by its slug.

  • assetstringoptional

    Only payouts of this asset, by its ticker.

  • statusstringoptionalenum requested · queued · confirmed · rejected · expired · failed

    Only payouts in this status.

  • created[gte]string <date-time>optional

    Only objects created at or after this instant (RFC 3339).

  • created[gt]string <date-time>optional

    Only objects created after this instant (RFC 3339).

  • created[lte]string <date-time>optional

    Only objects created at or before this instant (RFC 3339).

  • created[lt]string <date-time>optional

    Only objects created before this instant (RFC 3339).

Headers

  • X-Stridge-Environmentstring <uuid>optional

    Which environment the request acts inside, on an operation a session and an API key both call. Learn more

    Show full description

    It is required under a person's session, exactly as EnvironmentHeader describes: a session request that omits it answers 400 with environment required, and one naming an environment the caller holds no membership of answers 404.

    An API key names its own environment, so a request made with one omits this header. A key request that sends it answers 400 with environment header not accepted, whatever it names, rather than having the header ignored: a header that is silently ignored hides the integration bug that sent it.

Responses

The page of payouts.

  • objectstringrequiredenum list

    The object's type, always list.

    • idstring <uuid>required

      The payout's own identifier.

    • objectstringrequired

      The object's type, always payout.

    • environment_idstring <uuid>required

      The environment whose money this payout moves. It is carried on the object rather than implied by the request, so a payout detached from the request it arrived on still says which world it left.

    • livemodebooleanrequired

      true when environment_id names a live environment and false in a sandbox. It is carried on the object itself, so a payload read on its own, a logged response or a webhook body, still says which side of the boundary it came from.

    • vault_idstring <uuid>required

      The vault the money leaves. It is the term a caller narrows this list by, and the vault must belong to the environment the request is scoped to.

    • reference_idstringrequired

      The caller's own identifier for this payment. While this payout holds it, a second create naming it answers 409 payout_reference_taken naming this payout. Only a payout that certainly moved no money frees it, and a later payout in the vault may then carry the same reference.

    • to_addressstringrequired

      Where the money goes, in the chain's own encoding.

    • network_symbolstringrequired

      The chain the payment is made on, as the chain's own slug.

    • assetstringrequired

      The ticker of the asset the vault pays in.

    • How much of the asset is being paid, as a TokenAmount in the asset's own decimals on network_symbol. A payout sized by amount carries the figure the caller stated; one sized by usd_amount carries what Stridge converted it to, rounded down to the asset's smallest unit.

      Show full description

      A payout stored with a figure finer than that unit is stated rounded down to it, the quantity the chain was sent; one whose asset the network no longer lists is stated in its own asset, at the decimals of its stored figure. A routed payout's amount is what the recipient receives, in route.destination_asset at its decimals on route.destination_network_symbol, the same figure as route.destination_amount; route.source_amount is what the vault spends.

    • usd_amountstringrequired

      What the payment is worth in USD, as a decimal string, or the empty string when no price could be read when the payout was created. A caller may state this INSTEAD of amount and let Stridge convert, in which case rate says what it converted at.

    • ratestring | nullrequired

      The conversion Stridge used between the asset and USD, or null when it recorded none. It is an opaque passthrough: a client renders it and does not compute with it.

    • statusstringrequiredenum requested · queued · confirmed · rejected · expired · failed

      Where the payout got to. requested and queued are the two states a client may still reject out of; confirmed, rejected, expired and failed are terminal, and rejecting one answers 409.

      Show full description

      rejected is a first-class terminal state here. A cancelled payment left to lapse to expired would lose the distinction between a payment nobody acted on and one somebody refused. This contract keeps them apart, and Stridge answers what the contract states.

    • tx_idstring | nullrequired

      The on-chain transaction that carried the payment, or null before one exists.

    • remarkstring | nullrequired

      A free-form note the caller attached, or null.

    • errorstring | nullrequired

      Why a failed payout failed, or null.

    • expired_atstring | null <date-time>required

      When the payment stops being attemptable: the window the caller stated at create, within 12 hours of now, or an hour after creation when it stated none. Every payout has one.

    • created_atstring <date-time>required

      When the payment was requested. RFC3339 UTC, Z suffixed. The list is ordered on it, newest first.

    • confirmed_atstring | null <date-time>required

      When the payment was confirmed on chain, or null until it is.

    • How a payout to another network or asset reaches its recipient, or null for a payout on the vault's own network and asset.

  • has_morebooleanrequired

    Whether the list holds more objects past this page in the direction it was read: after its last object, or before its first for a page read with ending_before.

  • urlstringrequired

    The path the list is read at.

Errors

The error.code values this operation can return. Each one links to its entry in the error catalogue, which explains the cause and the fix.

Request
curl "https://api.stridge.com/v2/payouts" \
  -H "Authorization: Bearer $STRIDGE_SECRET_KEY"

Set your secret key as STRIDGE_SECRET_KEY (sent as Authorization: Bearer).

Response200
"object": "list",
"id": "9b2d4f61-3c8a-4e7b-a1d5-6f0e2c9b8a47",
"object": "payout",
"environment_id": "3f2a6d7e-6b1c-4f2a-9a11-0b53f8d6b2c1",
"livemode": false,
"vault_id": "7c1e0a94-31d6-4a52-9f83-2b4c5d6e7f80",
"reference_id": "ref-0001",
"to_address": "0x2222222222222222222222222222222222222222",
"network_symbol": "ethereum",
"asset": "USDC",
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"usd_amount": "100.5",
"rate": "1.00",
"status": "queued",
"tx_id": "0xabc123",
"remark": "October vendor payment",
"error": "insufficient vault balance",
"expired_at": "2026-06-01T12:00:00Z",
"created_at": "2026-05-31T18:04:11Z",
"confirmed_at": "2026-06-01T09:12:03Z",
"destination_network_symbol": "base",
"destination_asset": "USDC",
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"provider": "relay",
"provider_fee": "0.21",
"gas_funding": "vault",
"network_fee_paid": "1200000",
"source_tx_id": "0xabc123",
"destination_tx_id": "0xdef456",
"index": 0,
"kind": "approve",
"status": "confirmed",
"tx_id": "0xabc123",
"fee": "46000",
"error": "reverted",
"sent_at": "2026-01-01T00:00:00Z",
"finished_at": "2026-01-01T00:01:00Z"
}
]
}
}
],
"has_more": false,
"url": "/v2/payouts"
}