Ttushe / docs
nsk_test_Operational

The state changes this payout went through

Every transition, oldest first, across all three lifecycles — status, settlement and arrival. This is the record for reconstructing what happened and when, rather than inferring it from the payout's current state. ★ source is WHO or WHAT caused it — api, provider, system, operator — so an automatic move can be told from one somebody made. inferred: true marks a transition we deduced rather than observed (a provider that reports an end state without the steps). ★★ occurredAt is when it HAPPENED (the provider's timestamp where there is one); observedAt is when WE recorded it. They differ on anything asynchronous, and the gap is itself evidence — a late notification and a missing one look identical without it. ★★★ The order is stable and repeatable. Several transitions can share observedAt to the microsecond — a completion writes status, settlement and arrival in one transaction — so the list is ordered by an internal sequence, not by time. Two runs of the same scenario return the same path in the same order.

GEThttps://api.trytushe.com/v1/accounts/{accountId}/payouts/{payoutId}/transitions
GET/v1/accounts/{accountId}/payouts/{payoutId}/transitions

Authorization

api-key
x-api-key<token>

In: header

Path Parameters

payoutId*string
accountId*unknown

The account the payout belongs to.

Query Parameters

lifecycle?string

Just one lifecycle. An unrecognised value is refused, not answered empty.

Value in

  • "status"
  • "settlement"
  • "arrival"
  • "switch"

Response Body

application/json

application/json

application/json

application/json

{  "status": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2026-10-03T16:30:00.000Z",  "path": "/v1/accounts",  "data": [    {      "seq": 1,      "lifecycle": "status",      "fromState": "processing",      "toState": "completed",      "source": "provider_webhook",      "sourceRef": "string",      "inferred": true,      "injected": true,      "reason": "string",      "occurredAt": "2019-08-24T14:15:22Z",      "observedAt": "2019-08-24T14:15:22Z",      "request": {        "id": "018f4be0-9c2a-7a11-b3de-7c1f0b2a5d44",        "idempotencyKey": "payout-2026-10-20-001"      },      "actor": {        "type": "partner_admin",        "id": "string",        "role": "operations",        "ref": "op_7f3a"      }    }  ]}