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

# Statement By Currency

> Lists the user's statement by currency.

---

**Authorization**

- Requires a valid API key.
- Required API-key permission(s):
  - Statement (Read)



## OpenAPI

````yaml get /trade/user/statement/{currency_code}
openapi: 3.0.0
info:
  title: Ripio Gateway
  description: Ripio API - Services documentation.
  version: 0.1.0
  x-logo:
    url: https://cwstatic.nyc3.digitaloceanspaces.com/1996/bitcointrade.png
servers:
  - url: https://api.ripio.com
    description: Production environment
security: []
paths:
  /trade/user/statement/{currency_code}:
    get:
      tags:
        - Ripio Trade
      summary: User - Statement by Currency
      description: |-
        Lists the user's statement by currency.

        ---

        **Authorization**

        - Requires a valid API key.
        - Required API-key permission(s):
          - Statement (Read)
      parameters:
        - in: query
          name: start_time
          required: false
          description: Initial datetime filter in ISO-8601 format
          schema:
            example: '2020-01-01T03:00:00.000Z'
            type: string
        - in: query
          name: end_time
          required: false
          description: Final datetime filter in ISO-8601 format
          schema:
            example: '2020-01-03T02:59:59.000Z'
            type: string
        - in: query
          name: page_size
          required: false
          description: Number of records per page
          schema:
            example: 100
            type: number
        - in: query
          name: current_page
          required: false
          description: Page number for pagination
          schema:
            example: 3
            type: number
        - in: query
          name: operation_id
          required: false
          description: Filter by operation id
          schema:
            type: string
        - in: path
          name: currency_code
          required: true
          description: This property was not properly documented
          schema:
            type: string
        - in: header
          name: authorization
          required: true
          description: The API key as a string.
          schema:
            type: string
        - in: header
          name: signature
          required: true
          description: >-
            See the [Generating
            Signature](/static/api/authentication#generating-signature) section
            for more details.
          schema:
            type: string
        - in: header
          name: timestamp
          required: true
          description: >-
            A timestamp in milliseconds. See the [Timestamp
            Security](/static/api/authentication#timestamp-security) section for
            more details.
          schema:
            type: number
        - in: header
          name: timstamp-tolerance
          required: false
          description: >-
            An additional, non-required parameter, that you can send to specify
            the number of milliseconds after the timestamp for the request to be
            valid. See the [Timestamp
            Security](/static/api/authentication#timestamp-security) section for
            more details.
          schema:
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                description: Ok
                properties:
                  data:
                    properties:
                      statement:
                        items:
                          properties:
                            amount:
                              description: Transaction amount
                              type: number
                            after_balance:
                              description: Account balance after the operation
                              type: number
                            currency:
                              description: Currency code
                              type: string
                              example: BTC
                            date:
                              description: Timestamp of the operation
                              type: string
                            operation:
                              description: >-
                                Description of the operation (e.g., "Buy",
                                "Sell", "Tax over buy, ...")
                              type: string
                            operation_id:
                              description: Id of the operation
                              type: string
                              example: 3f7d8c29-4b1e-4f9a-b8e2-1c6a9d0e5f23
                          required:
                            - amount
                            - after_balance
                            - currency
                            - date
                            - operation
                            - operation_id
                          type: object
                        type: array
                        example:
                          - amount: -0.00000476
                            after_balance: 8605.31353851
                            currency: BTC
                            date: '2022-01-27T18:16:10.557Z'
                            operation: Buy Maker Fee
                            operation_id: 3f7d8c29-4b1e-4f9a-b8e2-1c6a9d0e5f23
                          - amount: 0.00119048
                            after_balance: 8605.31354327
                            currency: BTC
                            date: '2022-01-27T18:16:10.557Z'
                            operation: Buy
                            operation_id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                      pagination:
                        properties:
                          current_page:
                            description: Current page
                            type: number
                          page_size:
                            description: Page size
                            type: number
                          registers_count:
                            description: Total number of registers
                            type: number
                          total_pages:
                            description: Total number of pages
                            type: number
                        required:
                          - current_page
                          - page_size
                          - registers_count
                          - total_pages
                        type: object
                        example:
                          current_page: 1
                          registers_count: 21
                          total_pages: 1
                          page_size: 100
                    required:
                      - statement
                      - pagination
                    type: object
                  error_code:
                    type: number
                    example: null
                  message:
                    type: string
                    example: null
                required:
                  - data
                  - error_code
                  - message
                type: object

````