---
title: "List Wallet Barcodes"
method: GET
path: "/api/v1/simulation/wallets/{walletId}/barcodes"
tags: ["Simulations"]
---

# List Wallet Barcodes

`GET /api/v1/simulation/wallets/{walletId}/barcodes`

## Request

- Base URL: `https://merchant-api.accruesavings.com`
- URL: `https://merchant-api.accruesavings.com/api/v1/simulation/wallets/{walletId}/barcodes`
- Auth: none declared. Required headers: `Client-ID`, `Authorization`
- TypeScript: <https://skmtc.dev/byaccrue/apis/accrue-merchant-api/docs/api/v1/simulation/wallets/:walletId/barcodes/get.ts> (a function with typed inputs; its response is checked against the schema)

List all barcodes for a wallet in testing environments.

  Optionally include expired barcodes via `includeExpired`.

  **This endpoint is only available in development, sandbox, and local testing environments.**

## Path parameters

- `walletId` string, uuid, required: Wallet ID

## Query parameters

- `includeExpired` boolean: Include expired barcodes. Defaults to false.

## Headers

- `Client-ID` string, uuid, required: The unique identifier of the client making the request. This header is required to retrieve the client-specific configuration and ensure that the response is tailored to the client's settings and permissions.
- `Authorization` string, uuid, required: Secure secret to access privileged endpoints.

## Response `200`

OK

- ListWalletBarcodesResponse
  - `data` WalletBarcode[], required
    - `id` string, uuid, required: Unique identifier for the object.
    - `type` 'WalletBarcode', required
    - `attributes` object, required
      - `lookUpId` string, required: Lookup identifier for the barcode. Used when creating payment intents or fetching the barcode.
      - `expiresAt` string, date-time, nullable, required: When the barcode expires. Null if no expiry.
      - `usageLimit` integer, nullable: Maximum number of times the barcode can be used. Null if unlimited.
      - `usageCount` integer: Number of times the barcode has been used. Present in list/generate responses.
      - `referenceId` string, nullable: External reference ID. Present when fetching barcode by lookUpId.
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required

## Other responses

- `404`: Wallet not found

---

[API](https://skmtc.dev/byaccrue/apis/accrue-merchant-api.md) - [All operations](https://skmtc.dev/byaccrue/apis/accrue-merchant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/byaccrue/apis/accrue-merchant-api/revisions/3e2d97ef2e6e?raw)
