openapi: 3.0.3
info:
  title: 'Matka Online 24 API Documentation'
  description: ''
  version: 1.0.0
servers:
  -
    url: 'http://matkaonline24.com'
paths:
  /api/login:
    post:
      summary: ''
      operationId: postApiLogin
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            application/json:
              schema:
                type: object
                example:
                  success: true
                  data:
                    token: 9|AITM4kk6xI47ClPaoh3CdfrQzuITDvQ8AsOcCfua7da00c0f
                    name: testuserone
                  message: 'User signed in'
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      token:
                        type: string
                        example: 9|AITM4kk6xI47ClPaoh3CdfrQzuITDvQ8AsOcCfua7da00c0f
                      name:
                        type: string
                        example: testuserone
                  message:
                    type: string
                    example: 'User signed in'
        401:
          description: 'Not authorized'
          content:
            text/plain:
              schema:
                type: string
                example: "\"data\": {\n       \"success\": false,\n       \"message\": \"Unauthorised.\",\n       \"data\": {\n           \"error\": \"Unauthorised\"\n       }\n   }"
        422:
          description: 'validation failed'
          content:
            text/plain:
              schema:
                type: string
                example: "\"data\": {\n   \"email\": [\n       \"The email field is required.\"\n   ],\n   \"password\": [\n       \"The password field is required.\"\n   ]\n }"
      tags:
        - Endpoints
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'The user email id.'
                  example: rokon123@gmail.com
                password:
                  type: password
                  description: 'examples. 123456'
                  example: 'Um$\&]:e{*|'
              required:
                - email
                - password
      security: []
  /api/register:
    post:
      summary: ''
      operationId: postApiRegister
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "\"data\": {\n   \"name\": \"testuserone\",\n       \"token\": \"8|xhGFH0aID8zuQ0VyEex76fRkuWytgKENeqbYvE6115b91ec6\"\n   },\n   \"message\": \"User created successfully.\""
        422:
          description: 'validation failed'
          content:
            text/plain:
              schema:
                type: string
                example: "\"data\": {\n   \"name\": [\n       \"The name field is required.\"\n   ],\n   \"email\": [\n       \"The email field is required.\"\n   ],\n   \"username\": [\n       \"The username field is required.\"\n   ],\n   \"password\": [\n       \"The password field is required. The password must be at least 8 characters\"\n   ],\n   \"password_confirmation\": [\n       \"The password confirmation field is required. The password must be at least 8 characters\"\n   ]\n}"
      tags:
        - Endpoints
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 'examples. Md Rokon'
                  example: quidem
                email:
                  type: string
                  description: 'The user email id.'
                  example: rokon123@gmail.com
                username:
                  type: string
                  description: 'The id of the user.'
                  example: rokon123
                password:
                  type: password
                  description: 'examples. 123456'
                  example: '}a?H7N*V7at59at'
                password_confirmation:
                  type: password
                  description: 'examples. 123456'
                  example: non
                country:
                  type: string
                  description: required.
                  example: BD
                mobile:
                  type: number
                  description: 'examples. 0123123456'
                  example: 20249.351493963
              required:
                - name
                - email
                - username
                - password
                - password_confirmation
                - mobile
      security: []
  /api/get-sliders:
    get:
      summary: ''
      operationId: getApiGetSliders
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"success\": true,\n  \"data\": [\n      {\n          \"id\": 26,\n          \"title\": this is the name of the slider,\n          \"image\": \"1677045128.jpg\",\n          \"status\": \"on\",\n          \"created_at\": \"2023-02-22T05:52:08.000000Z\",\n          \"updated_at\": \"2023-02-22T05:52:08.000000Z\"\n      },\n  ],\n  \"message\": \"data retrive successfully.\"\n}"
        400:
          description: 'something wrong with URL or parameters'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'something wrong with URL or parameters'
                properties:
                  message:
                    type: string
                    example: 'something wrong with URL or parameters'
      tags:
        - Endpoints
      security: []
  /api/get-game-types:
    get:
      summary: ''
      operationId: getApiGetGameTypes
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"success\": true,\n  \"data\": [\n      {\n      \"id\": 1,\n      \"name\": \"KALYAN LOTTERY\",\n      \"image\": \"1677084554.png\",\n      \"created_at\": \"2022-12-08T11:38:04.000000Z\",\n      \"updated_at\": \"2023-02-22T16:49:14.000000Z\"\n  },\n  ],\n  \"message\": \"data retrive successfully.\"\n}"
        400:
          description: 'something wrong with URL or parameters'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'something wrong with URL or parameters'
                properties:
                  message:
                    type: string
                    example: 'something wrong with URL or parameters'
      tags:
        - Endpoints
      security: []
  /api/get-kallyan-winners:
    get:
      summary: ''
      operationId: getApiGetKallyanWinners
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"success\": true,\n  \"data\": [\n      {\n      \"id\": 916649,\n      \"result_date\": \"2023-12-04 00:00:00\",\n      \"game_time_id\": 42,\n      \"category\": 8,\n      \"number\": \"27\",\n      \"point\": \"1\",\n      \"credit_point\": \"95\",\n      \"user_id\": 837,\n      \"is_win\": 1,\n      \"has_zero\": \"0\",\n      \"has_double_zero\": null,\n      \"created_at\": \"2023-12-05T00:06:16.000000Z\",\n      \"updated_at\": \"2023-12-05T00:06:16.000000Z\"\n  },\n  ],\n  \"message\": \"data retrive successfully.\"\n}"
        400:
          description: 'something wrong with URL or parameters'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'something wrong with URL or parameters'
                properties:
                  message:
                    type: string
                    example: 'something wrong with URL or parameters'
      tags:
        - Endpoints
      security: []
  /api/get-thai-winners:
    get:
      summary: ''
      operationId: getApiGetThaiWinners
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"success\": true,\n  \"data\": [\n      {\n          \"id\": 448,\n          \"user_id\": 4074,\n          \"category_id\": 2,\n          \"amount\": \"3\",\n          \"direct_amount\": \"1\",\n          \"ramble_amount\": \"0\",\n          \"number\": \"7\",\n          \"created_at\": \"2023-12-01T08:56:24.000000Z\",\n          \"updated_at\": \"2023-12-01T08:56:24.000000Z\",\n          \"deleted_at\": null\n      },\n  ],\n  \"message\": \"data retrive successfully.\"\n}"
        400:
          description: 'something wrong with URL or parameters'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'something wrong with URL or parameters'
                properties:
                  message:
                    type: string
                    example: 'something wrong with URL or parameters'
      tags:
        - Endpoints
      security: []
  /api/get-thai-rates:
    get:
      summary: ''
      operationId: getApiGetThaiRates
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"success\": true,\n  \"data\": [\n      {\n          \"id\": 1,\n          \"name\": \"3up direct & rumble\",\n          \"discount\": \"20\",\n          \"type_id\": 3,\n          \"status\": 0,\n          \"rate\": 500,\n          \"ramble\": 100,\n          \"created_at\": \"2023-01-06T05:53:38.000000Z\",\n          \"updated_at\": \"2023-02-15T19:19:12.000000Z\"\n      },\n  ],\n  \"message\": \"data retrive successfully.\"\n}"
        400:
          description: 'something wrong with URL or parameters'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'something wrong with URL or parameters'
                properties:
                  message:
                    type: string
                    example: 'something wrong with URL or parameters'
      tags:
        - Endpoints
      security: []
  /api/get-kallyan-rates:
    get:
      summary: ''
      operationId: getApiGetKallyanRates
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"success\": true,\n  \"data\": [\n      {\n          \"id\": 9,\n          \"game_type_id\": 1,\n          \"game_category_id\": \"8\",\n          \"game_sub_category_id\": null,\n          \"rate\": \"Rs100 x 9500\",\n          \"discount\": \"0\",\n          \"status\": \"on\",\n          \"created_at\": \"2023-02-17T02:57:07.000000Z\",\n          \"updated_at\": \"2023-02-26T05:03:17.000000Z\"\n      },\n  ],\n  \"message\": \"data retrive successfully.\"\n}"
        400:
          description: 'something wrong with URL or parameters'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'something wrong with URL or parameters'
                properties:
                  message:
                    type: string
                    example: 'something wrong with URL or parameters'
      tags:
        - Endpoints
      security: []
  /api/get-front-notices:
    get:
      summary: ''
      operationId: getApiGetFrontNotices
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"success\": true,\n  \"data\": [\n      {\n  \"id\": 2,\n      \"notice_1\": \"<div style=\\\"text-align: left;\\\"><b style=\\\"\\\"><font color=\\\"#ff0000\\\" style=\\\"\\\">📝Play Thai &amp; Kalyan Lottery&nbsp;</font></b></div><div style=\\\"text-align: left;\\\"><font color=\\\"#339933\\\" style=\\\"\\\" size=\\\"2\\\"><b>3up Direct Rate:&nbsp; &nbsp; $1×500&nbsp; &nbsp; 20%Discount</b></font></div><div style=\\\"text-align: left;\\\"><font color=\\\"#339933\\\" size=\\\"2\\\"><b>3up Rumble Rate:   $1×100&nbsp; &nbsp; 20%Discount&nbsp;</b></font></div><div style=\\\"text-align: left;\\\"><font color=\\\"#339933\\\" size=\\\"2\\\"><b>Down Direct Rate: $1×80&nbsp; &nbsp; &nbsp; 10%Discount</b></font></div><div style=\\\"text-align: left;\\\"><font color=\\\"#339933\\\" style=\\\"\\\" size=\\\"2\\\"><b>Kalyan Lottery. Game Total Rate has been increased. Now Game Total Rate: Rs100×1000</b></font></div><div style=\\\"text-align: left;\\\"><b style=\\\"\\\"><font style=\\\"\\\"><font color=\\\"#ff3399\\\" style=\\\"\\\" size=\\\"4\\\">💰</font><font color=\\\"#ff0000\\\" style=\\\"font-size: 1rem;\\\">Get Bonus</font></font></b></div><div style=\\\"text-align: left;\\\"><font size=\\\"2\\\" color=\\\"#ff0000\\\"><b style=\\\"\\\">5% Referral commission for every&nbsp;<font style=\\\"\\\"><font style=\\\"\\\">deposit life time</font></font></b></font></div><div style=\\\"text-align: left;\\\"><font color=\\\"#009900\\\" style=\\\"font-size: 1rem;\\\"><b><u>Play&gt;</u></b></font><font color=\\\"#000000\\\" style=\\\"font-size: small;\\\"> kalyan Lottery&nbsp;</font><br></div><div style=\\\"text-align: left;\\\"><b style=\\\"\\\"><font color=\\\"#009900\\\" style=\\\"\\\" size=\\\"3\\\"><u style=\\\"\\\">Play&gt;</u></font></b><font color=\\\"#000000\\\" style=\\\"font-size: small;\\\"> Thai National Lottery</font></div><div style=\\\"text-align: left;\\\"><b style=\\\"\\\"><font color=\\\"#009900\\\" style=\\\"\\\" size=\\\"3\\\"><u style=\\\"\\\">Upcoming&gt;</u></font></b><font color=\\\"#000000\\\" style=\\\"font-size: small;\\\"> Bangkok Weekly Lottery</font></div><div style=\\\"text-align: left;\\\"><b style=\\\"\\\"><font color=\\\"#009900\\\" style=\\\"\\\" size=\\\"3\\\"><u style=\\\"\\\">Upcoming&gt;</u></font></b><font color=\\\"#000000\\\" style=\\\"font-size: small;\\\"> Matka Monthly Lottery</font></div><div style=\\\"text-align: left;\\\"><font style=\\\"\\\" color=\\\"#009900\\\" size=\\\"3\\\"><b style=\\\"\\\"><u style=\\\"\\\">Upcoming&gt;</u></b></font><font style=\\\"font-size: small; color: rgb(0, 0, 0);\\\"> Live Table &amp; Sports &amp; Ludo</font></div><div style=\\\"text-align: left;\\\"><font color=\\\"rgba(0, 0, 0, 0)\\\" style=\\\"\\\" size=\\\"2\\\">🌍</font><font color=\\\"#ff0000\\\" style=\\\"font-size: small;\\\">Visit&nbsp;&nbsp;</font><font color=\\\"#ff0000\\\" style=\\\"font-size: small;\\\">www.betglo24.com</font></div><div style=\\\"text-align: left;\\\"><font color=\\\"#ff0000\\\" size=\\\"2\\\" style=\\\"\\\">🌍Visit&nbsp;&nbsp;www.matkaonline24.com</font><img style=\\\"text-align: var(--bs-body-text-align); color: var(--bs-body-color); font-size: 1rem;\\\"></div>\",\n      \"notice_2\": \"🎤 Get 5% referral commission for every deposit life time. play kalyan thai bankok matka monthly lottery & win unlimited money. we accept 20+ payment method. deposit time morning 09:00 am to night 10:00 pm & withdrawal time morning 10:00 am to evening 05:00 pm  🌍Visit our web link: www.betglo24.com \\r\\nwww.matkaonline24.com\",\n      \"notice_3\": \"🎤 Get 5% referral commission for every deposit life time. play kalyan thai bankok matka monthly lottery & win unlimited money. we accept 20+ payment method. join matka online 24 ⭐⭐⭐  🎤 Get 5% referral commission for every deposit. play kalyan thai bankok matka monthly lottery & win unlimited money. we accept 20+ payment method. join matka online 24 ⭐⭐⭐\",\n      \"created_at\": \"2022-12-23T22:17:59.000000Z\",\n      \"updated_at\": \"2023-03-16T02:51:56.000000Z\"\n  },\n  ],\n  \"message\": \"data retrive successfully.\"\n}"
        400:
          description: 'something wrong with URL or parameters'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'something wrong with URL or parameters'
                properties:
                  message:
                    type: string
                    example: 'something wrong with URL or parameters'
      tags:
        - Endpoints
      security: []
  /api/get-user-balance:
    get:
      summary: ''
      operationId: getApiGetUserBalance
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"success\": true,\n  \"data\": [\n      {\n      \"success\": true,\n      \"data\": \"0.00000000\",\n      \"message\": \"data retrive successfully.\"\n  },\n  ],\n  \"message\": \"data retrive successfully.\"\n}"
        400:
          description: 'something wrong with URL or parameters'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'something wrong with URL or parameters'
                properties:
                  message:
                    type: string
                    example: 'something wrong with URL or parameters'
      tags:
        - Endpoints
      security: []
  /api/get-payment-gateways:
    get:
      summary: ''
      operationId: getApiGetPaymentGateways
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
  '/api/get-game-category/{id}':
    get:
      summary: ''
      operationId: getApiGetGameCategoryId
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"success\": true,\n  \"data\": [\n      {\n          \"id\": 4,\n         \"game_type_id\": 1,\n         \"name\": \"GAME TOTAL\",\n         \"base_name\": \"total\",\n         \"created_at\": \"2022-12-08T12:41:42.000000Z\",\n         \"updated_at\": \"2023-02-26T05:02:49.000000Z\",\n         \"winning_rate\": \"10\",\n         \"status\": \"0\"\n     },\n  ],\n  \"message\": \"data retrive successfully.\"\n}"
        400:
          description: 'something wrong with URL or parameters'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'something wrong with URL or parameters'
                properties:
                  message:
                    type: string
                    example: 'something wrong with URL or parameters'
      tags:
        - Endpoints
      security: []
    parameters:
      -
        in: path
        name: id
        description: 'The ID of the get game category.'
        example: sit
        required: true
        schema:
          type: string
      -
        in: path
        name: type_id
        description: 'The ID of the game type.'
        example: 6
        required: true
        schema:
          type: integer
  /api/get-kallyan-game:
    get:
      summary: ''
      operationId: getApiGetKallyanGame
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "{\n  \"success\": true,\n  \"data\": [\n      {\n      \"id\": 1,\n      \"name\": \"Milan Morning\",\n      \"created_at\": \"2022-12-24T00:09:55.000000Z\",\n      \"updated_at\": \"2023-03-09T04:59:54.000000Z\",\n      \"type_id\": 5,\n      \"status\": 0,\n      \"game_time\": [\n          {\n              \"id\": 2,\n              \"bazar_id\": 1,\n              \"status\": 0,\n              \"open_time\": \"00:00:00\",\n              \"close_time\": \"10:25:00\",\n              \"created_at\": \"2022-12-24T00:46:14.000000Z\",\n              \"updated_at\": \"2023-02-26T05:06:28.000000Z\"\n          },\n          {\n              \"id\": 3,\n              \"bazar_id\": 1,\n              \"status\": 1,\n              \"open_time\": \"00:00:00\",\n              \"close_time\": \"11:35:00\",\n              \"created_at\": \"2022-12-24T07:30:14.000000Z\",\n              \"updated_at\": \"2023-02-22T07:59:59.000000Z\"\n          }\n      ]\n  },\n  ],\n  \"message\": \"data retrive successfully.\"\n}"
        400:
          description: 'something wrong with URL or parameters'
          content:
            application/json:
              schema:
                type: object
                example:
                  message: 'something wrong with URL or parameters'
                properties:
                  message:
                    type: string
                    example: 'something wrong with URL or parameters'
      tags:
        - Endpoints
      security: []
  /api/get-user-deposit-history:
    get:
      summary: 'Get all deposits from user.'
      operationId: getAllDepositsFromUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
  /api/send-deposit:
    post:
      summary: ''
      operationId: postApiSendDeposit
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "\"data\": {\n       \"user_id\": 4,\n       \"method_code\": \"1000\",\n       \"method_currency\": \"RS\",\n       \"amount\": \"100\",\n       \"final_amo\": \"100\",\n       \"agent_id\": \"1\",\n       \"trx\": \"tredty\",\n       \"detail\": \"01312808289\",\n       \"status\": 2,\n       \"updated_at\": \"2023-12-05T14:23:30.000000Z\",\n       \"created_at\": \"2023-12-05T14:23:30.000000Z\",\n       \"id\": 15\n   },\n   \"message\": \"User created successfully.\""
        422:
          description: 'validation failed'
          content:
            text/plain:
              schema:
                type: string
                example: "\"data\": {\n   \"amount\": [\n       \"The amount field is required.\"\n   ],\n   \"method_code\": [\n       \"The method_code field is required.\"\n   ],\n   \"transaction_id\": [\n       \"The transaction_id field is required.\"\n   ],\n   \"mobile\": [\n       \"The mobile field is required.\"\n   ],\n   \"agent_id\": [\n       \"The agent_id field is required.\"\n   ]\n}"
      tags:
        - Endpoints
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: decimal
                  description: required.
                  example: '1000'
                method_code:
                  type: integer
                  description: 'The id of the payment gateway.'
                  example: 0
                transaction_id:
                  type: string
                  description: 'examples. TRANS123654'
                  example: in
                mobile:
                  type: number
                  description: 'examples. 0123123456'
                  example: 2287.029348
                agent_id:
                  type: integer
                  description: 'examples. 1'
                  example: 7
                method_currency:
                  type: string
                  description: required.
                  example: RS
              required:
                - method_code
                - transaction_id
                - mobile
                - agent_id
      security: []
  /api/send-withdraw:
    post:
      summary: ''
      operationId: postApiSendWithdraw
      description: ''
      parameters: []
      responses:
        200:
          description: success
          content:
            text/plain:
              schema:
                type: string
                example: "\"data\": {\n       \"user_id\": 4,\n       \"method_id\": \"1\",\n       \"amount\": \"1000\",\n       \"final_amount\": \"1000\",\n       \"agent_id\": \"1\",\n       \"trx\": \"CYJM1NGA7OOW\",\n       \"withdraw_information\": \"01233\",\n       \"status\": 2,\n       \"updated_at\": \"2023-12-05T14:47:30.000000Z\",\n       \"created_at\": \"2023-12-05T14:47:30.000000Z\",\n       \"id\": 363\n   },\n   \"message\": \"User created successfully.\""
        422:
          description: 'validation failed'
          content:
            text/plain:
              schema:
                type: string
                example: "\"data\": {\n   \"amount\": [\n       \"The amount field is required.\"\n   ],\n   \"method_id\": [\n       \"The method_id field is required.\"\n   ],\n   \"agent_id\": [\n       \"The agent_id field is required.\"\n   ],\n   \"mobile\": [\n       \"The mobile field is required.\"\n   ]\n}"
      tags:
        - Endpoints
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: decimal
                  description: required.
                  example: '1000'
                method_id:
                  type: string
                  description: ''
                  example: error
                mobile:
                  type: number
                  description: 'examples. 0123123456'
                  example: 2089.8
                method_code:
                  type: integer
                  description: 'The id of the payment gateway.'
                  example: 0
                method_currency:
                  type: string
                  description: required.
                  example: RS
                transaction_id:
                  type: string
                  description: 'examples. TRANS123654'
                  example: doloribus
              required:
                - method_id
                - mobile
                - method_code
                - transaction_id
      security: []
  /api/get-user-withdraw-history:
    get:
      summary: 'Get all withdrawls from user.'
      operationId: getAllWithdrawlsFromUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
  /api/balance-transfer:
    post:
      summary: 'API endpoint for sending a balance transfer request from one user to another.'
      operationId: aPIEndpointForSendingABalanceTransferRequestFromOneUserToAnother
      description: ''
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                to_user:
                  type: string
                  description: ''
                  example: ex
                amount:
                  type: number
                  description: ''
                  example: 1.03015
              required:
                - to_user
                - amount
      security: []
    parameters:
      -
        in: path
        name: to_user
        description: 'The username of the recipient user.'
        example: doloremque
        required: true
        schema:
          type: string
      -
        in: path
        name: amount
        description: 'The amount to transfer (numeric, greater than 0).'
        example: quis
        required: true
        schema:
          type: string
  /api/get-user-transfer-history:
    get:
      summary: 'Get all blance transfer from user.'
      operationId: getAllBlanceTransferFromUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
  /api/profile-update:
    post:
      summary: ''
      operationId: postApiProfileUpdate
      description: ''
      parameters: []
      responses:
        200:
          description: '{'
          content:
            text/plain:
              schema:
                type: string
                example: "\"success\": true,\n   \"data\": {\n       \"id\": 4,\n       \"firstname\": \"MR\",\n       \"lastname\": \"John\",\n       \"username\": \"testuserone\",\n       \"email\": \"testuserone@gmail.com\",\n       \"country_code\": \"BD\",\n       \"mobile\": \"123654\",\n       \"ref_by\": 0,\n       \"balance\": \"0.00000000\",\n       \"image\": null,\n       \"address\": \"bougra\",\n       \"status\": 1,\n       \"ev\": 1,\n       \"sv\": 1,\n       \"ver_code_send_at\": null,\n       \"ts\": 0,\n       \"tv\": 1,\n       \"tsc\": null,\n       \"kyc_data\": null,\n       \"kv\": 1,\n       \"profile_complete\": 1,\n       \"ban_reason\": null,\n       \"is_agent\": null,\n       \"created_at\": \"2023-12-05T04:36:22.000000Z\",\n       \"updated_at\": \"2023-12-06T14:10:16.000000Z\",\n       \"balance_transfer\": null,\n       \"withdraw\": null,\n       \"personal_access_tokens\": null\n   },\n   \"message\": \"data sent successfully.\"\n}"
        422:
          description: 'validation failed'
          content:
            text/plain:
              schema:
                type: string
                example: "\"data\": {\n   \"firstname\": [\n       \"The firstname field is required.\"\n   ],\n   \"lastname\": [\n       \"The lastname field is required.\"\n   ],\n   \"mobile\": [\n       \"The mobile field is required.\"\n   ]\n}"
      tags:
        - Endpoints
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                firstname:
                  type: string
                  description: 'example : "John"'
                  example: rerum
                lastname:
                  type: string
                  description: required.
                  example: '"John"'
                mobile:
                  type: number
                  description: 'examples. 0123123456'
                  example: 64.402128595
                address:
                  type: string
                  description: 'examples. Bogura'
                  example: autem
              required:
                - firstname
                - mobile
                - address
      security: []
  /api/game-play:
    post:
      summary: 'Store a new game bid.'
      operationId: storeANewGameBid
      description: "This function validates the request, checks game time, user balance,\nand processes the game bid transaction."
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bazar_id:
                  type: integer
                  description: 'examples. 1'
                  example: 13
                category_id:
                  type: integer
                  description: 'examples. 4'
                  example: 18
                number:
                  type: array
                  description: ''
                  example:
                    - 20129.93
                  items:
                    type: number
                point:
                  type: array
                  description: ''
                  example:
                    - 23110.722047456
                  items:
                    type: number
                'point[]':
                  type: integer
                  description: 'examples. 10'
                  example: 17
                'number[]':
                  type: integer
                  description: 'examples. 125'
                  example: 7
              required:
                - bazar_id
                - category_id
                - number
                - point
                - 'point[]'
                - 'number[]'
      security: []
  /api/thai-game-play:
    post:
      summary: 'Store a new Thai game bid.'
      operationId: storeANewThaiGameBid
      description: "This function validates the request, checks game availability, time constraints,\nprocesses the game bid transaction, and updates user balance and admin records."
      parameters: []
      responses: {  }
      tags:
        - Endpoints
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                number:
                  type: array
                  description: ''
                  example:
                    - 1.1480191
                  items:
                    type: number
                category_id:
                  type: integer
                  description: 'examples. 4'
                  example: 6
                total_amount:
                  type: integer
                  description: 'examples. 1'
                  example: 11
                'd_amount[]':
                  type: integer
                  description: 'examples. 10'
                  example: 5
                'r_amount[]':
                  type: integer
                  description: 'examples. 10'
                  example: 20
                'number[]':
                  type: integer
                  description: 'examples. 125'
                  example: 6
                total_discount_amount:
                  type: integer
                  description: 'examples. 4'
                  example: 5
              required:
                - number
                - category_id
                - total_amount
                - 'd_amount[]'
                - 'r_amount[]'
                - 'number[]'
                - total_discount_amount
      security: []
  /api/log-out:
    get:
      summary: 'Logout the authenticated user.'
      operationId: logoutTheAuthenticatedUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  message: Unauthenticated.
                properties:
                  message:
                    type: string
                    example: Unauthenticated.
      tags:
        - Endpoints
      security: []
tags:
  -
    name: Endpoints
    description: ''
