> ## Documentation Index
> Fetch the complete documentation index at: https://www.zinc.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Transactions

> Your wallet ledger, newest first: deposits, order charges, fees, refunds and credits.

Every movement on your wallet, newest first. All amounts are integer cents.

## Query Parameters

* **limit** — Number of transactions to return (default 50)
* **offset** — Number of transactions to skip (default 0)
* **type** — Filter by transaction type. Repeat it to ask for several: `?type=refund&type=return_credit`

`total` is the count across all pages, so page with `offset` until you have read `total` rows.

## Transaction types

`deposit`, `withdrawal`, `refund`, `charge`, `fee`, `admin_adjustment`, `return_credit`, `case_credit`, `promo_credit`. Any other `type` value returns `422`.

## Tracking a deposit

`?type=deposit` lists your deposits, pending ones included. A deposit's `status` moves from `pending` to one of:

| Status | Meaning |
| - | - |
| `completed` | The money arrived and is counted in `balance`. |
| `failed` | It did not arrive; `failure_reason` says why. |
| `cancelled` | It was cancelled before it settled. |

A bank (ACH) debit (`payment_type: us_bank_account`) takes 3-5 business days. While pending it carries `expected_available_at`, an estimate that skips weekends but not bank holidays. `fee` is the processing fee charged on top of a deposit; it is not credited to the wallet.

> [!NOTE]
>
> On a team, a billing viewer sees every member's history, each row labelled `created_by`. A deposit a teammate paid into another wallet carries `paid_by`.

To check one transaction, see [Get Transaction](https://www.zinc.com/docs/v2/api-reference/wallet/get-transaction.md). For the current balance, see [Get Wallet](https://www.zinc.com/docs/v2/api-reference/wallet/get-wallet.md).


## OpenAPI

````yaml versions/latest.json GET /wallet/transactions
openapi: 3.1.0
info:
  title: Zinc
  summary: >-
    Zinc lets you search, buy, and return items from top online retailers with a
    single API.
  description: >-
    Search, buy, and return items from top online retailers with a single API.
    Supports AI agent ordering via MPP (HTTP 402) — no account required.
    Supported retailers include 1-800-Flowers, Ace Hardware, AliExpress, Amazon,
    Amazon AE, Amazon AU, Amazon CA, Amazon DE, Amazon ES, Amazon FR, Amazon IT,
    Amazon MX, and 23 more. Ships to the US and 9 other countries (AE, CA, DE,
    ES, FR, GB, IT, MX, SA). The listed retailers are the ones Zinc curates, not
    the limit of what Zinc can buy from: checkout is attempted at most online
    stores, including Shopify-hosted ones. To ask about a specific store before
    ordering, call GET /retailers/check?url=... — it answers whether Zinc will
    attempt that URL.


    **Versioning.** This is version 2 of the Zinc API (API 2.0). Paths carry no
    version prefix and no request header selects a version: every request is
    served by the current revision. `info.version` is that revision's date
    (currently `2026-12-03`), bumped when a release changes this document; the
    official SDKs are generated from this document and take their package
    version from it (`2026.12.3`). Changes within version 2 are additive: new
    operations, new optional parameters and request fields, new response fields,
    and new enum values. Clients should ignore response fields they don't
    recognise and tolerate enum values they don't know. An operation, parameter,
    or field scheduled for removal is first marked `deprecated: true` in this
    document and announced before it is removed. Nothing in this revision is
    deprecated.
  version: '2026-12-03'
  x-logo:
    url: https://mintlify.s3.us-west-1.amazonaws.com/zinc/logo/light.png
  contact:
    name: Zinc API Support
    email: support@zinc.com
    url: https://zinc.com/docs
  x-guidance: >-
    Zinc lets AI agents buy products from online retailers via a single API. Use
    POST /agent/orders to place an order — no Zinc account needed, payment is
    handled via MPP (HTTP 402 flow). Provide a product URL from a supported
    retailer, a shipping address, and max_price in cents. The API charges
    max_price + $1 API fee upfront and refunds the difference on completion. To
    find products first, the /agent/* data endpoints (search, products/search,
    products/offers, products/details) are MPP-paid at $0.01 per call;
    /agent/search returns orderable URLs to feed straight into /agent/orders.
    GET /retailers lists supported retailers for free (no payment or account).
    Authenticated equivalents (orders, products, managed-accounts) require a
    Bearer token (API key prefixed zn_); those orders are paid from a prefunded
    wallet — GET /wallet/me returns the spendable balance and per-order fee, so
    check it before POST /orders to avoid a 402. Orders are strict by default:
    if the gift option can't be applied or any item can't be bought, the whole
    order fails. When the user wants whatever can be shipped, send fulfillment:
    {"gift": "best_effort", "items": "best_effort"} and read
    fulfillment.concessions on the order to see what was relaxed. max_price is
    never relaxed. Docs: https://zinc.com/docs Supported retailers include
    1-800-Flowers, Ace Hardware, AliExpress, Amazon, Amazon AE, Amazon AU,
    Amazon CA, Amazon DE, Amazon ES, Amazon FR, Amazon IT, Amazon MX, and 23
    more, shipping to the US and 9 other countries (AE, CA, DE, ES, FR, GB, IT,
    MX, SA). The listed retailers are the ones Zinc curates, not the limit of
    what Zinc can buy from: checkout is attempted at most online stores,
    including Shopify-hosted ones. To ask about a specific store before
    ordering, call GET /retailers/check?url=... — it answers whether Zinc will
    attempt that URL.
  x-supported-retailers:
    - 1-800-Flowers
    - Ace Hardware
    - AliExpress
    - Amazon
    - Amazon AE
    - Amazon AU
    - Amazon CA
    - Amazon DE
    - Amazon ES
    - Amazon FR
    - Amazon IT
    - Amazon MX
    - Amazon UK
    - Barnes & Noble
    - Best Buy
    - Chewy
    - Gap
    - Grainger
    - IBS
    - Lowe's
    - Macys
    - McMaster-Carr
    - Partstown
    - Pokémon Center
    - Shein
    - Temu
    - The Home Depot
    - TikTok
    - Uniqlo
    - Walmart
    - Wayfair
    - Zinc
    - eBay
    - libraccio
    - zazzle
  x-supported-countries:
    - US
    - AE
    - CA
    - DE
    - ES
    - FR
    - GB
    - IT
    - MX
    - SA
servers:
  - url: https://api.zinc.com
    description: Production
security:
  - BearerAuth: []
paths:
  /wallet/transactions:
    get:
      tags:
        - wallet
      summary: Get Transactions
      description: >-
        List your wallet transactions, newest first.


        Paginate with `limit` and `offset`. Filter by `type`, repeating it to
        ask

        for several (`?type=refund&type=return_credit`); `?type=deposit` lists
        your

        deposits, pending ones included.


        A deposit's `status` is `pending` until the money arrives, then
        `completed`

        (counted in `balance`), `failed` (`failure_reason` says why) or

        `cancelled`. A bank (ACH) debit (`payment_type: us_bank_account`) takes
        3-5

        business days; while pending it carries `expected_available_at`. `fee`
        is

        the processing fee charged on top of a deposit.


        On a team, a billing viewer sees every member's history, each row
        labelled

        `created_by`; deposits a teammate paid into another wallet carry
        `paid_by`.
      operationId: get_transactions_wallet_transactions_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 50
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            default: 0
            title: Offset
        - name: type
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  $ref: '#/components/schemas/TransactionType'
              - type: 'null'
            title: Type
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TransactionType:
      type: string
      enum:
        - deposit
        - withdrawal
        - refund
        - charge
        - fee
        - admin_adjustment
        - return_credit
        - case_credit
        - promo_credit
      title: TransactionType
    TransactionListResponse:
      properties:
        transactions:
          items:
            $ref: '#/components/schemas/TransactionResponse'
          type: array
          title: Transactions
        total:
          type: integer
          title: Total
      type: object
      required:
        - transactions
        - total
      title: TransactionListResponse
      description: Response model for listing transactions.
    HTTPValidationError:
      description: Body of every request-validation 422.
      properties:
        error:
          $ref: '#/components/schemas/ValidationErrorEnvelope'
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          description: >-
            FastAPI's raw validation errors, kept for clients that already parse
            them. Prefer `error`.
      required:
        - error
        - detail
      title: HTTPValidationError
      type: object
    TransactionResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        wallet_id:
          type: string
          format: uuid
          title: Wallet Id
        amount:
          type: integer
          title: Amount
        type:
          type: string
          title: Type
        status:
          $ref: '#/components/schemas/TransactionStatus'
        stripe_payment_intent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Stripe Payment Intent Id
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        meta:
          additionalProperties: true
          type: object
          title: Meta
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        created_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By
        paid_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Paid By
        payment_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Payment Type
          description: >-
            How a deposit was paid: `card`, `us_bank_account` (bank debit, 3-5
            business days), `wire`, `customer_balance` (bank transfer), `link`,
            … Treat unknown values as opaque. Null on non-deposit rows.
        fee:
          anyOf:
            - type: integer
            - type: 'null'
          title: Fee
          description: >-
            Processing fee charged on top of a deposit, in cents. Not credited
            to the wallet. Null when the deposit carried no fee.
        expected_available_at:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Expected Available At
          description: >-
            For a pending bank (ACH) debit: the business day the funds are
            expected to land in the wallet. An estimate (weekends skipped, bank
            holidays not). Null once the deposit settles, and for every other
            row.
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
          description: When the transaction completed. Null until then.
        failure_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Failure Reason
          description: >-
            Why a failed deposit failed (e.g. the bank's decline message). Null
            otherwise.
      type: object
      required:
        - id
        - wallet_id
        - amount
        - type
        - status
        - stripe_payment_intent_id
        - description
        - meta
        - created_at
        - updated_at
      title: TransactionResponse
      description: >-
        A wallet transaction: a deposit, an order charge, a refund or a credit.


        ``status`` is ``pending`` while a deposit is still settling (a bank
        debit

        takes 3-5 business days), then ``completed``, ``failed`` or
        ``cancelled``.

        Only completed rows affect ``balance``.
    ValidationErrorEnvelope:
      properties:
        code:
          const: validation_error
          title: Code
          type: string
        message:
          description: >-
            Human-readable summary of the first few rejected inputs;
            `details.errors` lists every one.
          title: Message
          type: string
        details:
          $ref: '#/components/schemas/ValidationErrorDetails'
      required:
        - code
        - message
        - details
      title: ValidationErrorEnvelope
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    TransactionStatus:
      type: string
      enum:
        - pending
        - completed
        - failed
        - cancelled
      title: TransactionStatus
    ValidationErrorDetails:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/ValidationErrorField'
          title: Errors
          type: array
      required:
        - errors
      title: ValidationErrorDetails
      type: object
    ValidationErrorField:
      description: One rejected input in a 422.
      properties:
        field:
          description: >-
            Dotted path to the rejected input, without the `body`/`query`/`path`
            source prefix (e.g. `shipping_address.phone_number`).
          title: Field
          type: string
        message:
          description: Why the input was rejected.
          title: Message
          type: string
        type:
          anyOf:
            - type: string
            - type: 'null'
          description: Pydantic error type, e.g. `missing`.
          title: Type
      required:
        - field
        - message
        - type
      title: ValidationErrorField
      type: object
  securitySchemes:
    BearerAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Zinc API key (Bearer zn_...)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.