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

# Get Transactions

> Lists recent transactions for your account. Results are paginated and return up to 3 transactions by default. Pass limit to request up to 10 transactions per call. For status checks on a known transaction, use GET /api/b2b/transactions/{tra



## OpenAPI

````yaml GET /api/b2b/transactions
openapi: 3.1.0
info:
  title: Zerocash API
  version: 1.0.0
  description: >-
    The Zerocash API lets you collect payments (charges) and disburse funds
    (payouts) across supported markets through a single, unified integration.
servers:
  - url: https://api.zerocash.tech
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Obtain and manage API credentials.
  - name: Reference Data
    description: Look up countries, banks, operators, and rates before transacting.
  - name: Charges
    description: Collect payments from your customers.
  - name: Payouts
    description: Disburse funds to recipients.
  - name: Transactions
    description: Retrieve and reconcile transactions.
  - name: Webhooks
    description: Receive and replay real-time event notifications.
paths:
  /api/b2b/transactions:
    get:
      tags:
        - Transactions
      summary: Get Transactions
      description: >-
        Lists recent transactions for your account. Results are paginated and
        return up to 3 transactions by default. Pass limit to request up to 10
        transactions per call. For status checks on a known transaction, use GET
        /api/b2b/transactions/{transactionId} with the transaction ID or
        external reference instead of polling this list endpoint.
      operationId: get-transactions
      parameters:
        - name: currency
          in: query
          schema:
            type: string
            default: ''
          required: false
        - name: type
          in: query
          schema:
            type: string
            default: ''
        - name: externalReference
          in: query
          schema:
            type: string
        - name: startDate
          in: query
          description: Format YYYY-MM-DD
          schema:
            type: string
        - name: endDate
          in: query
          description: Format YYYY-MM-DD
          schema:
            type: string
        - name: status
          in: query
          description: pending, failed or successful
          schema:
            type: string
        - name: limit
          in: query
          description: >-
            Number of transactions to return. Defaults to 3 and cannot exceed
            10.
          schema:
            type: integer
            minimum: 1
            maximum: 10
            default: 3
        - name: transactionId
          in: query
          description: Used to get the transactions after the specified transactionId
          schema:
            type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    success: true
                    data:
                      - country: KE
                        amount: 2500
                        senderAmount: 2500
                        year: '2024'
                        destination: Bank Account
                        type: withdrew
                        chargeStatus: successful
                        transactionId: onn4nQlnxWQbzZosaN57
                        receiverAmount: 2500
                        fullTimestamp: '2024-09-14T01:47:38+03:00'
                        senderCurrency: KES
                        month: September
                        beneficiary:
                          country: Kenya
                          bankCode: MoMo
                          accountName: John Doe
                          destination: MoMo
                          currency: KES
                          accountNumber: '0712345678'
                        currency: KES
                        receiverCurrency: KES
                        day: Saturday
                        status: SUCCESSFUL
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                    default: true
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        country:
                          type: string
                          example: KE
                        amount:
                          type: integer
                          example: 2500
                          default: 0
                        senderAmount:
                          type: integer
                          example: 2500
                          default: 0
                        year:
                          type: string
                          example: '2024'
                        destination:
                          type: string
                          example: Bank Account
                        type:
                          type: string
                          example: withdrew
                        chargeStatus:
                          type: string
                          example: successful
                        transactionId:
                          type: string
                          example: onn4nQlnxWQbzZosaN57
                        receiverAmount:
                          type: integer
                          example: 2500
                          default: 0
                        fullTimestamp:
                          type: string
                          example: '2024-09-14T01:47:38+03:00'
                        senderCurrency:
                          type: string
                          example: KES
                        month:
                          type: string
                          example: September
                        beneficiary:
                          type: object
                          properties:
                            country:
                              type: string
                              example: Kenya
                            bankCode:
                              type: string
                              example: MoMo
                            accountName:
                              type: string
                              example: John Doe
                            destination:
                              type: string
                              example: MoMo
                            currency:
                              type: string
                              example: KES
                            accountNumber:
                              type: string
                              example: '0712345678'
                        currency:
                          type: string
                          example: KES
                        receiverCurrency:
                          type: string
                          example: KES
                        day:
                          type: string
                          example: Saturday
                        status:
                          type: string
                          example: SUCCESSFUL
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````