# Get payment intent timeline

Returns the intent's state transitions, policy decision trace, events and risk hits. Requires payment:read; a merchant account gets transitions only.

`GET /v1/payment-intents/{intent_id}/timeline`

Returns the intent's state transitions, policy decision trace, events and risk hits. Requires payment:read; a merchant account gets transitions only.

Requires permission `payment:read`.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `intent_id` | path | yes | Payment intent id (pi_...). |

## Responses

- **200**: Success.
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.
- **404**: The resource does not exist or belongs to another organization.

Example 200 response:

```json
{
  "transitions": [
    {
      "field": "status",
      "from": "created",
      "to": "reserved",
      "at": "2026-11-14T18:49:05.617166+00:00",
      "detail": {}
    },
    {
      "field": "status",
      "from": "reserved",
      "to": "signing",
      "at": "2026-11-14T18:49:05.634647+00:00",
      "detail": {}
    }
  ],
  "trace": [
    {
      "step": "0",
      "label": "Payments not paused",
      "detail": "kill switch off",
      "result": "pass",
      "reason_code": null
    },
    {
      "step": "1",
      "label": "Agent credential and spending rules",
      "detail": "mandate mdt_01m7dmxx4s2aw9p40vyaxmzdtf v4 active",
      "result": "pass",
      "reason_code": null
    }
  ],
  "events": [
    {
      "id": "evt_01m7dp8jt5gjzjk0ncywb1nh7j",
      "type": "payment.created",
      "at": "2026-11-14T18:49:05.613039+00:00",
      "data": {
        "rail": "x402",
        "asset": "USDC",
        "network": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
        "agent_id": "agt_01m7dmxx67d55ehbqb0my2b0e1",
        "intent_id": "pi_01m7dp8jrds968s54ybzme61kx",
        "merchant_id": "mch_01m7dmxx94amd9kk6aqvtnsey6",
        "amount_base_units": "50000"
      }
    },
    {
      "id": "evt_01m7dp8jzr4qkpks4as85kqhq5",
      "type": "payment.confirmed",
      "at": "2026-11-14T18:49:05.786734+00:00",
      "data": {
        "rail": "x402",
        "asset": "USDC",
        "payee": "G6MJ4MFPbNfVXmkxKupvEzH1odKBgdxKbjiVbqmkJT3q",
        "amount": "50000",
        "network": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
        "intent_id": "pi_01m7dp8jrds968s54ybzme61kx",
        "receipt_id": "rcpt_01m7dp8jzfyvrahq0fy5z38s6f",
        "merchant_id": "mch_01m7dmxx94amd9kk6aqvtnsey6",
        "settlement_ref": "63TpPPK8e43RFePtnmvzUByTpjxCNTKdkaZfqvjn3ABHw8CKL5YnWrpntba7sWD8YYhuUh6dNHWfbkNrUBYvQ9Zm"
      }
    }
  ],
  "risk": []
}
```
