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

# Top-up history



## OpenAPI

````yaml /openapi.json get /flexy/history
openapi: 3.0.3
info:
  title: Wasmou API
  version: 1.0.0
  description: >-
    Sell digital goods: catalog, purchase, delivery, game top-ups and per-client
    stock. All amounts are in DZD.
servers:
  - url: https://api.wasmou.net/api
    description: Production
security: []
paths:
  /flexy/history:
    get:
      tags:
        - Flexy
      summary: Top-up history
      operationId: flexyHistory
      parameters:
        - name: per_page
          in: query
          schema:
            type: integer
            maximum: 100
        - name: page
          in: query
          schema:
            type: integer
        - name: status
          in: query
          schema:
            type: string
            enum:
              - processing
              - success
              - failed
        - name: target_number
          in: query
          schema:
            type: string
      responses:
        '200':
          description: History
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      orders:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                            number:
                              type: string
                              example: '0699123456'
                            operator:
                              type: string
                              enum:
                                - mobilis
                                - ooredoo
                                - djezzy
                            type:
                              type: string
                              enum:
                                - prepaid
                                - offer
                                - facture
                                - international
                            amount:
                              type: number
                              description: What the recipient receives (DZD)
                            price:
                              type: number
                              description: What left your wallet (DZD)
                            offer:
                              type: string
                              nullable: true
                            status:
                              type: string
                              enum:
                                - processing
                                - success
                                - failed
                            final:
                              type: boolean
                            message:
                              type: string
                              nullable: true
                            created_at:
                              type: string
                            client_ref:
                              type: string
                              nullable: true
                              description: Your idempotency_key
                      page:
                        type: integer
                      per_page:
                        type: integer
                      total:
                        type: integer
      security:
        - ApiKey: []
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Your API key from the Wasmou app (API access).

````

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