> ## 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.

# Ooredoo unpaid balance check

> Required before `prepaid` and `offer` top-ups to an Ooredoo number. Valid for about 9 minutes.



## OpenAPI

````yaml /openapi.json post /flexy/ooredoo-debt-check
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/ooredoo-debt-check:
    post:
      tags:
        - Flexy
      summary: Ooredoo unpaid balance check
      description: >-
        Required before `prepaid` and `offer` top-ups to an Ooredoo number.
        Valid for about 9 minutes.
      operationId: flexyDebtCheck
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - target_number
                - amount
                - topup_type
              properties:
                target_number:
                  type: string
                amount:
                  type: number
                topup_type:
                  type: string
                  enum:
                    - prepaid
                    - offer
      responses:
        '200':
          description: Result
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      has_debt:
                        type: boolean
                      debt_amount:
                        type: number
                      valid_for_seconds:
                        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.