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

# Fund Betting Account



## OpenAPI

````yaml POST /api/fund/betting
openapi: 3.1.0
info:
  title: mySubwallet API
  version: 1.0.0
  description: >-
    Buy data, airtime, cable, electricity, exam pins, bulk SMS, betting, eSIM,
    flights, recharge/data cards and more, funded from your wallet. Test
    everything safely with your sandbox (sk_test_) key — no wallet charge.
servers:
  - url: https://api.mysubwallet.ng
    description: Production (live — charges your wallet)
  - url: https://sandbox.mysubwallet.ng
    description: Sandbox (test — simulated, no wallet charge)
security:
  - TokenAuth: []
tags:
  - name: Purchases
  - name: Verification
  - name: Betting
  - name: eSIM
  - name: Flights
  - name: Wallet
  - name: Catalogs
  - name: Account
paths:
  /api/fund/betting:
    post:
      tags:
        - Betting
      summary: Fund Betting Account
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - betting_id
                - customer_id
                - amount
              properties:
                betting_id:
                  type: string
                  example: '5'
                customer_id:
                  type: string
                  example: CUST12345
                amount:
                  type: number
                  example: 1000
                request-id:
                  type: string
                  example: BETTING_1234567890
      responses:
        '200':
          description: Result
          content:
            application/json:
              example:
                status: success
                message: Bet9ja funded with ₦1,000 for CUST12345.
                newbal: 108200
                system: API
components:
  securitySchemes:
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Send your API key as `Token <your_api_key>`.


        Use your **live key** for real transactions, or your **sandbox key**
        (`sk_test_…`) to test — sandbox calls return a realistic simulated
        result and never touch your wallet. Add `"sandbox_status": "fail"` to
        any sandbox request to simulate a failure.

````