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

# Wallet statement

> Top-ups, booking charges, refunds and adjustments, newest first. A negative amount is money out.



## OpenAPI

````yaml /api-reference/openapi.yaml get /wallet/transactions
openapi: 3.1.0
info:
  title: Skye Flights API
  version: '1.0'
  description: Search and book real flights for your users. Skye is the Merchant of Record.
servers:
  - url: https://api.flyskye.ai/v1
security:
  - accessToken: []
tags:
  - name: Authentication
  - name: Flights
  - name: Booking sessions
  - name: Payments
  - name: Wallet
  - name: Bookings
paths:
  /wallet/transactions:
    get:
      tags:
        - Wallet
      summary: Wallet statement
      description: >-
        Top-ups, booking charges, refunds and adjustments, newest first. A
        negative amount is money out.
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: before
          in: query
          description: The nextBefore of the previous page.
          schema:
            type: integer
      responses:
        '200':
          description: The statement.
          content:
            application/json:
              schema:
                type: object
                properties:
                  mode:
                    type: string
                    enum:
                      - test
                      - live
                  currency:
                    type: string
                    example: INR
                  transactions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        kind:
                          type: string
                          enum:
                            - topup
                            - charge
                            - refund
                            - adjustment
                        amount:
                          type: number
                          example: -8200
                        sessionId:
                          type:
                            - string
                            - 'null'
                        note:
                          type:
                            - string
                            - 'null'
                          example: BLR to DEL · PNR ABC123
                        createdAt:
                          type: string
                          format: date-time
                  nextBefore:
                    type:
                      - integer
                      - 'null'
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  responses:
    BadRequest:
      description: '`invalid_json`, `invalid_request` or `traveller_count`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              example: invalid_request
            message:
              type: string
              example: departDate cannot be in the past
            field:
              type: string
              example: departDate
  securitySchemes:
    accessToken:
      type: http
      scheme: bearer
      description: >-
        An access token (`sat_...`) from `POST /token`. In test mode you can
        send your test key (`pk_test_...`) here instead.

````

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