Orders

Read signed order confirmation and QR tickets

Changed on
post/orders/{id}/confirmation

Request

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

Path parameters

id, string required

Unique identifier of the order to retrieve

Example:ord_01jps5cgsfgve5b5g2666kyryh

Request body

object required

Signed request for an order's confirmation and its QR tickets.

signature, string required

HMAC signature for public order access (16 characters, base64url encoded)

cursor, string

Opaque cursor from the previous page of tickets.

Response

OK

object required

An order's confirmation with its issued QR tickets and refund history.

expectedTicketCount, integer required

Total tickets this order will have once issuing completes, across all pages.

order, object required
tickets, object[] required
nextCursor, string

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

Example response

{
  "order": {
    "id": "ord_01jps5cgsfgve5b5g2666kyryh",
    "status": "PENDING",
    "event": {
      "id": "evt_01jps5cgsenjrazw6wswmyspa3",
      "name": "Test Event",
      "slug": "test-event",
      "location": "Watson's EQ",
      "locationAddress": "The, Entertainment Quarter, 1 Bent St, Moore Park NSW 2021, Australia",
      "locationLatitude": -33.8944593,
      "locationLongitude": 151.2252255
    },
    "createdAt": "2026-12-02T02:43:23.597Z",
    "items": [
      {
        "id": "itm_01jps5cgsfwyxj0516571eaf17",
        "kind": "ADMISSION",
        "quantity": 2,
        "admissionId": "adm_01jps5cgsee0xvapbk92e8eb4g",
        "sectionId": "sct_01jps5cgse0g3qj16kpq8t221r",
        "admission": {
          "id": "adm_01jps5cgsee0xvapbk92e8eb4g",
          "createdAt": "2026-12-02T02:43:23.597Z",
          "updatedAt": "2026-12-02T02:43:23.597Z",
          "sectionId": "sct_01jps5cgse0g3qj16kpq8t221r",
          "teamId": "tem_01jqpjksnsen9vprw95et60t2m",
          "promoterId": "pmt_01jqpjksnsen9vprw95et60t2m",
          "eventId": "evt_01jps5cgsenjrazw6wswmyspa3",
          "eventSlug": "test-event",
          "name": "Final Release",
          "subtitle": "Entry before 10pm",
          "description": "Early bird pricing with priority entry. Must present valid ID at gate.",
          "capacity": 100000,
          "limit": -1,
          "available": 70000,
          "sold": 20000,
          "reserved": 10000,
          "order": 0,
          "entryStartsAt": "2026-12-03T02:43:23",
          "entryEndsAt": "2026-12-04T02:43:23",
          "saleStartsAt": "2026-12-02T02:43:23",
          "saleEndsAt": "2026-12-04T02:43:23",
          "saleEndsBehavior": "SALE_ENDED",
          "price": {
            "base": 1000,
            "booking": 200,
            "currency": "AUD"
          },
          "visibility": "ALWAYS",
          "tenantId": "tnt_01jqpj2t2kfvmstt6f6tzkbaf2",
          "deleted": false,
          "orderPadded": "0000000000"
        },
        "section": {
          "id": "sct_01jps5cgse0g3qj16kpq8t221r",
          "createdAt": "2026-12-02T02:43:23.597Z",
          "updatedAt": "2026-12-02T02:43:23.597Z",
          "teamId": "tem_01jqpjksnsen9vprw95et60t2m",
          "promoterId": "pmt_01jqpjksnsen9vprw95et60t2m",
          "eventId": "evt_01jps5cgsenjrazw6wswmyspa3",
          "eventSlug": "test-event",
          "name": "General Admission",
          "capacity": 1000,
          "limit": -1,
          "available": 700,
          "sold": 200,
          "reserved": 100,
          "order": 0,
          "visibility": "ALWAYS",
          "location": {
            "id": "loc_01hk153x00eh99pagyydz03sbz",
            "createdAt": "2026-12-02T02:43:23.597Z",
            "updatedAt": "2026-12-02T02:43:23.597Z",
            "googlePlaceId": "ChIJ6zWCPUyxEmsRmc6BPrNaP4s",
            "name": "Watson's EQ",
            "address": "The, Entertainment Quarter, 1 Bent St, Moore Park NSW 2021, Australia",
            "city": "Moore Park",
            "state": "New South Wales",
            "postcode": "2021",
            "country": "Australia",
            "latitude": -33.8944593,
            "longitude": 151.2252255,
            "timeZone": "Australia/Sydney",
            "types": [
              "establishment",
              "point_of_interest",
              "restaurant",
              "bar"
            ],
            "image": {
              "src": "https://assets.session.services/locations/watsons-eq.jpg",
              "alt": "Watson's EQ",
              "width": 1200,
              "height": 800
            }
          },
          "tenantId": "tnt_01jqpj2t2kfvmstt6f6tzkbaf2",
          "deleted": false,
          "orderPadded": "0000000000"
        },
        "price": {
          "net": 1200,
          "total": 1200,
          "gross": 1200,
          "base": 1000,
          "booking": 200,
          "currency": "AUD"
        },
        "tax": {
          "settings": {
            "supplier": {
              "address": {
                "countryCode": "AU"
              }
            },
            "collection": {
              "taxName": "GST",
              "ratePpm": 100000,
              "priceMode": "INCLUSIVE"
            }
          }
        }
      }
    ],
    "price": {
      "net": 500,
      "total": 1400,
      "gross": 2200,
      "base": 1000,
      "booking": 400,
      "sms": 200,
      "refunded": -700,
      "discount": -1000,
      "currency": "AUD"
    },
    "returnUrl": "/orders",
    "refunds": [
      {
        "id": "rfd_01jps5cgsfgve5b5g2666kyryh",
        "status": "PENDING",
        "price": {
          "currency": "AUD",
          "total": 1200,
          "items": 1200
        },
        "createdAt": "2026-12-02T02:43:23.598Z"
      }
    ]
  },
  "tickets": [
    {
      "id": "tkt_01jps5cgsg0s32w2pr73vbccde",
      "status": "ACTIVE",
      "admission": {
        "id": "adm_01jps5cgsee0xvapbk92e8eb4g",
        "name": "VIP Access",
        "price": {
          "currency": "USD"
        },
        "entryStartsAt": "2025-03-15T19:30:00",
        "entryEndsAt": "2025-03-15T19:30:00"
      }
    }
  ]
}

Changes

    • breaking

      the signature request property's minLength was increased from 0 to 16

    • warning

      the cursor request property's maxLength was set to 4096

    • warning

      the signature request property's maxLength was set to 16

    19 more changes in this revision