Receipts
GET/v1/receipts

List receipts

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/receipts" \  -H "Cookie: <console session cookie>"

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.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/receiptsBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
  • agentKeyAuthorization: Bearer agk_test_...
Query
  • qstring

    Receipt id, intent id, or text found in the receipt body.

  • typestring

    Comma-separated receipt types to return, for example payment,refund.

  • cursorstring

    next_cursor from the previous page.

  • limitinteger

    Page size (default 50, max 200).

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Query Parameters

q?|

Receipt id, intent id, or text found in the receipt body.

type?|

Comma-separated receipt types to return, for example payment,refund.

cursor?|

next_cursor from the previous page.

limit?Limit

Page size (default 50, max 200).

Default50

Response Body

Success.

application/json
  1. response
data*array<>
next_cursor?|

Cursor for the next page, or null on the last page.

counts?|null
[key: string]?any