# Fetch Statement

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/payout-account/statement:
    post:
      summary: Fetch Statement
      deprecated: false
      description: >-

        :::highlight purple 📌

        Use this API to retrieve the statement for your EnKash account.

        This allows you to view detailed transfer history, helping with
        reconciliation, audits, and financial reporting.

        :::
      tags:
        - Payouts/APIs - Payout/Bank Details
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BankStatementRequestModel'
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ApplicationResponseBankStatementResponseModel
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: Payouts/APIs - Payout/Bank Details
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-15656027-run
components:
  schemas:
    BankStatementRequestModel:
      type: object
      properties:
        fundSourceId:
          type: string
        debitAccountNumber:
          type: string
        fromDate:
          type: string
          format: date-time
        toDate:
          type: string
          format: date-time
        numberOfTransactions:
          type: string
          description: This is optional. No. of Transactions to retrieve(max 9999)
      required:
        - fundSourceId
        - debitAccountNumber
        - fromDate
        - toDate
      x-apidog-orders:
        - fundSourceId
        - debitAccountNumber
        - fromDate
        - toDate
        - numberOfTransactions
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ApplicationResponseBankStatementResponseModel:
      type: object
      properties:
        response_code:
          type: string
        response_message:
          type: string
        requestId: &ref_0
          type: string
        data: &ref_1
          type: array
          items:
            $ref: '#/components/schemas/StatementResponseModel'
      x-apidog-orders:
        - response_code
        - response_message
        - 01JR7H1WKE1BC93N4DEWJJBC9R
      required:
        - response_code
        - response_message
        - requestId
        - data
      x-apidog-refs:
        01JR7H1WKE1BC93N4DEWJJBC9R:
          $ref: '#/components/schemas/BankStatementResponseModel'
      x-apidog-ignore-properties:
        - requestId
        - data
      x-apidog-folder: ''
    StatementResponseModel:
      type: object
      properties:
        transactionId:
          type: string
        transactionDate:
          type: string
          format: date-time
        valueDate:
          type: string
          format: date-time
        transactionType:
          type: string
        remarks:
          type: string
        transactionReferenceNumber:
          type: string
        transactionMode:
          type: string
        transactionAmount:
          type: integer
        runningBalance:
          type: number
      required:
        - transactionType
        - transactionReferenceNumber
        - transactionAmount
        - runningBalance
      x-apidog-orders:
        - transactionId
        - transactionDate
        - valueDate
        - transactionType
        - remarks
        - transactionReferenceNumber
        - transactionMode
        - transactionAmount
        - runningBalance
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    BankStatementResponseModel:
      type: object
      properties:
        requestId: *ref_0
        data: *ref_1
      x-apidog-orders:
        - requestId
        - data
      required:
        - requestId
        - data
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
