---
title: "Get a wallet pass for one of the current buyer's tickets"
method: POST
path: "/account/orders/{id}/wallet"
tags: ["Account"]
---

# Get a wallet pass for one of the current buyer's tickets

`POST /account/orders/{id}/wallet`

## Request

- Base URL: `https://api.session.services`
- URL: `https://api.session.services/account/orders/{id}/wallet`
- Auth: API key in header `x-tenant-id`

Returns an Apple Wallet pass or a validated Google Wallet URL for a ticket on a purchase the signed-in buyer owns.

## Path parameters

- `id` string, required: Unique order identifier

## Request body

- object: Request for a wallet pass on a purchase the buyer owns.
  - `ticketId` string, required: Unique ticket identifier
  - `provider` 'apple' | 'google', required: Wallet provider the pass is requested for.

## Response `200`

OK

- union: An approved wallet pass, returned only to the buyer who owns the ticket.
  - object
    - `teamId` string, required: Unique team identifier
    - `provider` 'apple', required
    - `data` string, required: Base64-encoded Apple Wallet pass. Do not cache or log.
  - object
    - `teamId` string, required: Unique team identifier
    - `provider` 'google', required
    - `url` string, uri, required: Validated Google Wallet save URL.

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `409`: 409
- `412`: 412
- `422`: 422
- `429`: 429
- `500`: 500
- `501`: 501
- `503`: 503

## Changes

- **2026-11-09** `38649d1c1ac7`: 2 breaking, 2 info
  - added the pattern `^ord_[0-9a-z]{26}$` to the `path` request parameter `id`
  - added the pattern `^tkt_[0-9a-z]{26}$` to the request property `ticketId`
  - added `subschema #1, subschema #2` to the response body `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `anyOf` list for the response status `200`
- **2026-11-09** `24b4e38e7054`: 4 info
  - removed the pattern `^ord_[0-9a-z]{26}$` from the `path` request parameter `id`
  - removed the pattern `^tkt_[0-9a-z]{26}$` from the request property `ticketId`
  - added `subschema #1, subschema #2` to the response body `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `anyOf` list for the response status `200`
- **2026-09-21** `2b2f16550f6d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/session/apis/session-services-api/changes/account/orders/:id/wallet/post.md)

---

[API](https://skmtc.dev/session/apis/session-services-api.md) - [All operations](https://skmtc.dev/session/apis/session-services-api/llms.txt) - [OpenAPI document](https://skmtc.dev/session/apis/session-services-api/revisions/9346dc3eea56?raw)
