Account

List the current buyer's website-Team purchase history

Changed on

Returns the signed-in buyer's purchases for the verified website client's account Team, newest first.

post/account/orders/query

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Request body

object required

Page request for the current buyer's purchases.

cursor, string

Opaque cursor from the previous page.

limit, integer

Maximum purchases to return.

Response

OK

object required

A page of the current buyer's purchases for the website's account Team.

teamId, string required

Unique team identifier

orders, object[] required
nextCursor, string

Cursor for the next page. Omitted on the last page.

Example response

{
  "orders": [
    {
      "id": "ord_01jps5cgsfgve5b5g2666kyryh",
      "createdAt": "2026-12-02T02:43:23.597Z",
      "status": "PENDING",
      "price": {
        "total": 1400,
        "currency": "AUD",
        "refunded": -700
      },
      "event": {
        "id": "evt_01jps5cgsenjrazw6wswmyspa3",
        "name": "Test Event",
        "slug": "test-event"
      }
    }
  ]
}

Changes

    • breaking

      the limit request property type changed from number to integer

    • warning

      the cursor request property's maxLength was set to 16384

    • warning

      the limit request property's max was set to 25.00

    3 more changes in this revision