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

# List transactions

> Paginated ledger for the authenticated business. Newest first. Amounts are minor units. Filter by wallet, currency, direction, type, method, status, customer, or collection.



## OpenAPI

````yaml /openapi.json get /transactions
openapi: 3.0.0
info:
  title: Puplar Integrations API
  version: 1.0.0
  description: >-
    Public API for integrators using **secret keys** (`sk_test_*` /
    `sk_live_*`). Authenticated routes need only **`Authorization: Bearer
    <secret_key>`**. Test keys sandbox payments, virtual accounts, KYC, and bank
    resolve — see guides/test-vs-live for fixtures. Responses follow `{ message,
    data?, errors? }`. Includes customers, collections, payments, products,
    invoices, payouts, wallets, transactions, virtual accounts, crypto, refunds,
    and webhooks.
  contact:
    name: Puplar Support
    email: support@puplar.com
servers:
  - url: https://api.puplar.com
    description: Production
security: []
tags:
  - name: Customers
    description: Customer CRUD and KYC documents
  - name: Virtual accounts
    description: Funding instructions and test deposit simulation
  - name: Webhooks
    description: >-
      Webhook endpoints and delivery logs. Subscriber verification: HMAC-SHA256
      of raw body with webhook secret, header `X-Signature: sha256=<hex>`.
  - name: Payments
    description: One-time payment collection via hosted checkout links
  - name: Crypto
    description: EVM crypto wallet addresses and supported tokens
  - name: Collections
    description: Reusable checkout links
  - name: Products
    description: Catalog items for invoices. Amounts are minor units.
  - name: Invoices
    description: Draft → finalize → paid or void. Finalize returns a payment URL.
  - name: Payouts
    description: >-
      Send wallet funds to a bank account or crypto wallet. Duplicate
      `reference` returns 409.
  - name: Wallets
    description: >-
      Wallet balances per currency. Test keys can add balance with
      simulate-fund. Amounts in minor units.
  - name: Transactions
    description: >-
      Business ledger. List transactions and verify one by id. Amounts in minor
      units.
  - name: Misc
    description: >-
      Country-scoped bank list and account name lookup for payouts (e.g. `ng`
      for Nigeria).
  - name: Meta
    description: Health and service info
paths:
  /transactions:
    get:
      tags:
        - Transactions
      summary: List transactions
      description: >-
        Paginated ledger for the authenticated business. Newest first. Amounts
        are minor units. Filter by wallet, currency, direction, type, method,
        status, customer, or collection.
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
        - name: wallet
          in: query
          schema:
            type: string
          description: Wallet id
        - name: currency
          in: query
          schema:
            type: string
            enum:
              - usd
              - ngn
        - name: direction
          in: query
          schema:
            type: string
            enum:
              - credit
              - debit
        - name: type
          in: query
          schema:
            type: string
            enum:
              - payout
              - deposit
              - refund
              - fee
              - transfer
        - name: method
          in: query
          schema:
            type: string
            enum:
              - bank_transfer
              - crypto
              - card
        - name: status
          in: query
          schema:
            type: string
            enum:
              - pending
              - received
              - completed
              - failed
              - canceled
        - name: customer
          in: query
          schema:
            type: string
          description: Customer id
        - name: collection
          in: query
          schema:
            type: string
          description: Collection id
      responses:
        '200':
          description: Transactions retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Transactions retrieved successfully
                  data:
                    type: object
                    properties:
                      docs:
                        type: array
                        items:
                          type: object
                          properties:
                            _id:
                              type: string
                              description: Transaction id
                            wallet:
                              type: string
                            currency:
                              type: string
                              example: ngn
                            direction:
                              type: string
                              enum:
                                - credit
                                - debit
                            type:
                              type: string
                              enum:
                                - payout
                                - deposit
                                - refund
                                - fee
                                - transfer
                            status:
                              type: string
                              enum:
                                - pending
                                - received
                                - completed
                                - failed
                                - canceled
                            method:
                              type: string
                              enum:
                                - bank_transfer
                                - crypto
                                - card
                            amount:
                              type: integer
                              description: Amount in minor units
                            fee:
                              type: integer
                            description:
                              type: string
                              nullable: true
                            created_at:
                              type: string
                              format: date-time
                      totalDocs:
                        type: integer
                      limit:
                        type: integer
                      page:
                        type: integer
                      totalPages:
                        type: integer
                      hasNextPage:
                        type: boolean
                      hasPrevPage:
                        type: boolean
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        message:
          type: string
          example: Error message
        data:
          type: object
          nullable: true
        errors:
          type: object
          nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Secret key: `Authorization: Bearer sk_test_...` or `sk_live_...`.
        Business and live/test mode are inferred from the key.

````