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

# List all tenant orders

> Scope `document:read`. Includes pending, failed, and completed orders
across all tenant products. Reads remain available when a product is
disabled. Does not include Wallet referrals or other tenants.
Filters creation time: `from` inclusive, `to` exclusive. The default
upper bound is returned as `as_of`; reuse it as `to` on subsequent
pages. Pages are newest first. Status changes do not reorder history.
A malformed or foreign cursor returns the same `400 invalid_cursor`.
No product secrets, response bodies, or internal client identifiers.




## OpenAPI

````yaml /openapi/partner.openapi.yaml post /api/partner/document_list
openapi: 3.1.0
info:
  title: IMBA Partner API
  version: 1.2.0
  summary: B2B Partner API for USDT settlement, cards, eSIM, gift cards, and KYT
  description: |
    B2B Partner API. Production host `https://imbawallet.com` (no sandbox).

    - Human docs: `https://api-docs.imbawallet.com` (guides + FAQ)
    - Authenticate with `POST /auth/v1/partner/token` (assertion JWT), then call
      `POST /api/partner/<function>` with `Authorization: Bearer <access_token>`
      and a JSON body. Resource ids are body fields, not URL segments.
    - Amounts are decimal strings.
    - Response timestamps are UTC RFC 3339 with `Z`.
    - Request time fields accept RFC 3339 or unix seconds (not milliseconds).
    - Catalog calls (`/api/partner/gift_offers`, `/api/partner/esim_offers`,
      `/api/partner/card_products`) are live availability and the live USDT price.
      There is no `/quote` or `/availability` path.
    - Order lookup: `POST /api/partner/document_get`. Secrets via product calls
      after fulfillment (card JWE, gift `epin`, eSIM LPA) — not in webhooks
      except `card.otp`.
    - Card authorizations: `POST /api/partner/card_transactions`.
      Unfreeze: `POST /api/partner/card_unfreeze` (only a freeze by you or the cardholder).
    - Not in v1: purchase refund/cancel, card unload, card replacement.
  contact:
    name: IMBA Partner Support
    email: support@imbawallet.com
  license:
    name: Proprietary
    url: https://imbawallet.com
servers:
  - url: https://imbawallet.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Auth
    description: Assertion JWT → access token
  - name: Balance
    description: Partner settlement balance
  - name: Deposit
    description: Sticky USDT TRC-20 deposit address
  - name: Withdrawals
    description: USDT withdrawals from partner balance
  - name: Cards
    description: Card catalog, issue, list, secrets, topup, freeze
  - name: eSIM
    description: eSIM offers, purchase, topup
  - name: Gift cards
    description: Gift offers and purchases
  - name: Batch
    description: Mixed create cart (best-effort per item)
  - name: Documents
    description: Poll async documents by ext_id
  - name: Reconciliation
    description: Ledger lines for partner books
  - name: KYT
    description: Crypto-address screening, quotes and owned check history
paths:
  /api/partner/document_list:
    post:
      tags:
        - Documents
      summary: List all tenant orders
      description: |
        Scope `document:read`. Includes pending, failed, and completed orders
        across all tenant products. Reads remain available when a product is
        disabled. Does not include Wallet referrals or other tenants.
        Filters creation time: `from` inclusive, `to` exclusive. The default
        upper bound is returned as `as_of`; reuse it as `to` on subsequent
        pages. Pages are newest first. Status changes do not reorder history.
        A malformed or foreign cursor returns the same `400 invalid_cursor`.
        No product secrets, response bodies, or internal client identifiers.
      operationId: listPartnerDocuments
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                from:
                  description: RFC 3339 or unix seconds; inclusive
                to:
                  description: RFC 3339 or unix seconds; exclusive
                limit:
                  type: integer
                  minimum: 1
                  maximum: 100
                  default: 50
                  description: >-
                    Values above 100 are capped; other invalid values return
                    invalid_limit.
                cursor:
                  type: string
                  description: Opaque next_cursor from the preceding page
      responses:
        '200':
          description: Tenant order summaries
          content:
            application/json:
              schema:
                type: object
                required:
                  - items
                  - next_cursor
                  - as_of
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/DocumentSummary'
                  next_cursor:
                    type:
                      - string
                      - 'null'
                  as_of:
                    type: string
                    format: date-time
        '400':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
components:
  schemas:
    DocumentSummary:
      type: object
      required:
        - ext_id
        - type
        - status
        - created_at
        - updated_at
      properties:
        ext_id:
          $ref: '#/components/schemas/ExtId'
        type:
          type: string
          description: Operation type, including card, eSIM, gift, and withdrawal orders
        ref_id:
          type:
            - string
            - 'null'
        status:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    ExtId:
      type: string
      minLength: 1
      maxLength: 128
      description: Partner-side idempotency key (unique per partner)
      example: card-issue-20260710-003
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          example: insufficient_balance
        message:
          type: string
          description: Optional human-readable explanation; handle the stable error code
  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Access token from POST /auth/v1/partner/token

````

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