# List receipts

Returns receipts, newest first, with per-type counts and anchor status. Agents see their own receipts; console users and API keys need receipt:read, and a merchant account sees receipts for its payments.

`GET /v1/receipts`

Returns receipts, newest first, with per-type counts and anchor status. Agents see their own receipts; console users and API keys need receipt:read, and a merchant account sees receipts for its payments.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `q` | query | no | Receipt id, intent id, or text found in the receipt body. |
| `type` | query | no | Comma-separated receipt types to return, for example payment,refund. |
| `cursor` | query | no | next_cursor from the previous page. |
| `limit` | query | no | Page size (default 50, max 200). |

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).

Example 200 response:

```json
{
  "data": [
    {
      "id": "rcpt_01m7dpcxvj21yx7v3z3gf6n4q5",
      "type": "refund",
      "seq": 41,
      "org_id": "org_01m7dmxx43vkd5ezrghf9m2ytv",
      "intent_id": "pi_01m7dn3qjavb37s7sxjcdkesxk",
      "related_receipt_id": "rcpt_01m7dn3qqbhwwesj0pb030fzh1",
      "agent_id": "agt_01m7dmxx5b0jc1gcgw6sgeaqf3",
      "merchant_id": "mch_01m7dn3146pvk9etwxcyymvzdy",
      "merchant_name": "QuickSummarize",
      "merchant_tier": "UNKNOWN",
      "amount_base_units": "250000",
      "asset": "USDC",
      "network": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
      "rail": "x402",
      "settlement_ref": "sim_guarantee_rfd_01m7dp97d6dqkzpt8smhtdx6mt",
      "issued_at": "2026-11-14T18:51:27.986472Z",
      "hash": "52b9f61bd9f6ba82a1a9372da953803104d74946e0d66c14b4ec4ff57e5c0248"
    },
    {
      "id": "rcpt_01m7dp8jzfyvrahq0fy5z38s6f",
      "type": "payment",
      "seq": 40,
      "org_id": "org_01m7dmxx43vkd5ezrghf9m2ytv",
      "intent_id": "pi_01m7dp8jrds968s54ybzme61kx",
      "related_receipt_id": null,
      "agent_id": "agt_01m7dmxx67d55ehbqb0my2b0e1",
      "merchant_id": "mch_01m7dmxx94amd9kk6aqvtnsey6",
      "merchant_name": "Demo Shop",
      "merchant_tier": "VERIFIED",
      "amount_base_units": "50000",
      "asset": "USDC",
      "network": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
      "rail": "x402",
      "settlement_ref": "63TpPPK8e43RFePtnmvzUByTpjxCNTKdkaZfqvjn3ABHw8CKL5YnWrpntba7sWD8YYhuUh6dNHWfbkNrUBYvQ9Zm",
      "issued_at": "2026-11-14T18:49:05.776065Z",
      "hash": "3524ed9f5ae9aab0ac69d70acfa74ccf97747f18f433a6ab761170742246112e"
    }
  ],
  "next_cursor": null
}
```
