> ## 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.

# Get Transaction

> Read one wallet transaction, e.g. to check whether a pending deposit has landed.

Returns the same fields as each row of [List Transactions](https://www.zinc.com/docs/v2/api-reference/wallet/list-transactions.md). Poll it to follow a pending deposit:

* a pending bank (ACH) debit carries `expected_available_at`
* a completed one carries `completed_at`
* a failed one carries `failure_reason`

## Errors

| Status | When |
| - | - |
| `404 not_found` | The transaction does not exist or is not yours. |
| `422` | `transaction_id` is not a UUID. |


## OpenAPI

````yaml versions/latest.json GET /wallet/transactions/{transaction_id}
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/{transaction_id}:
    get:
      tags:
        - wallet
      summary: Get Transaction
      description: |-
        Get one wallet transaction, e.g. to check on a pending deposit.

        Same fields as each row of `GET /wallet/transactions`: a pending bank
        (ACH) debit carries `expected_available_at`, a completed one
        `completed_at`, a failed one `failure_reason`. Returns 404 for a
        transaction that isn't yours.
      operationId: get_transaction_wallet_transactions__transaction_id__get
      parameters:
        - name: transaction_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Transaction Id
        - 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/TransactionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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``.
    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
    TransactionStatus:
      type: string
      enum:
        - pending
        - completed
        - failed
        - cancelled
      title: TransactionStatus
    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
    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.