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

# Get Player Bet Limits

> Get player bet limit settings

<Accordion title="Possible Error Codes for this API">
  | Code | Description             |
  | ---- | ----------------------- |
  | 0    | Success                 |
  | 2    | Invalid parameter       |
  | 4    | Customer does not exist |
  | 19   | Request limit reached   |
  | 20   | Secret key error        |
  | 21   | Invalid username        |
  | 36   | Server error            |
  | 42   | Request rate too high   |
  | 9999 | Unknown error           |
</Accordion>


## OpenAPI

````yaml en/transfer-openapi.json GET /api/v1/dt/user/limit
openapi: 3.1.0
info:
  title: Transfer Wallet API
  description: Game-API for vendors to obtain game-related data
  version: 1.0.0
servers:
  - url: https://api.example.com
    description: Production server
security: []
paths:
  /api/v1/dt/user/limit:
    get:
      tags:
        - User API
      summary: Get Player Bet Limits
      description: Get player bet limit settings
      operationId: getPlayerLimit
      parameters:
        - name: uuid
          in: query
          required: true
          schema:
            type: string
          description: Platform-defined unique request ID, length >= 32 and <= 128 bytes
        - name: platform_id
          in: query
          required: true
          schema:
            type: string
          description: Platform product ID
        - name: username
          in: query
          required: false
          schema:
            type: string
          description: >-
            User account in game (optional). If not provided, returns all
            available bet limit combinations under the platform_id (i.e., the
            bet limit combinations configured on the agent account to which the
            players belong)
        - name: key
          in: query
          required: true
          schema:
            type: string
          description: md5(username + platform secret key)
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    $ref: '#/components/schemas/ErrorInfo'
                  data:
                    type: object
                    properties:
                      product-id:
                        type: string
                        description: Channel code
                      currency:
                        type: string
                        description: Currency
                      limit-set:
                        type: array
                        items:
                          type: string
                        description: Bet limit settings list
                      limit-detail:
                        type: array
                        items:
                          type: object
                          properties:
                            limit-id:
                              type: string
                              description: Bet limit ID
                            detail:
                              type: array
                              items:
                                type: object
                                properties:
                                  game-type:
                                    type: string
                                    description: Game type
                                  limit:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        play-type:
                                          type: array
                                          items:
                                            type: integer
                                          description: Play type list
                                        min:
                                          type: integer
                                          description: Minimum bet limit
                                        max:
                                          type: integer
                                          description: Maximum bet limit
              example:
                error:
                  code: 0
                  msg: Success
                  uuid: c176c773-f0f5-41f3-8f2e-9c0938d50a75
                data:
                  product-id: AXTES
                  currency: TWD
                  limit-set:
                    - '0'
                    - 'Y'
                  limit-detail:
                    - limit-id: '0'
                      detail:
                        - game-type: BAC
                          limit:
                            - play-type:
                                - 1
                                - 2
                              min: 100
                              max: 100000
                            - play-type:
                                - 3
                              min: 100
                              max: 12500
                            - play-type:
                                - 4
                                - 5
                              min: 100
                              max: 9000
                            - play-type:
                                - 6
                              min: 100
                              max: 8000
                        - game-type: DTB
                          limit:
                            - play-type:
                                - 1
                                - 2
                                - 4
                                - 5
                                - 6
                                - 7
                                - 8
                                - 9
                                - 10
                                - 11
                              min: 1000
                              max: 100000
                            - play-type:
                                - 3
                              min: 100
                              max: 12500
                        - game-type: NIU
                          limit:
                            - play-type:
                                - 1
                                - 2
                              min: 1000
                              max: 100000
                            - play-type:
                                - 3
                                - 4
                              min: 100
                              max: 20000
                            - play-type:
                                - 5
                                - 6
                              min: 100
                              max: 2000
                        - game-type: ROU
                          limit:
                            - play-type:
                                - 1
                              min: 1000
                              max: 100000
                            - play-type:
                                - 2
                              min: 1000
                              max: 50000
                            - play-type:
                                - 3
                              min: 100
                              max: 20000
                            - play-type:
                                - 4
                              min: 100
                              max: 12500
                            - play-type:
                                - 5
                              min: 100
                              max: 9000
                            - play-type:
                                - 6
                              min: 100
                              max: 5500
                            - play-type:
                                - 7
                              min: 100
                              max: 2500
                            - play-type:
                                - 8
                              min: 100
                              max: 16500
                    - limit-id: 'Y'
                      detail:
                        - game-type: BAC
                          limit:
                            - play-type:
                                - 1
                                - 2
                              min: 10000
                              max: 500000
                            - play-type:
                                - 3
                              min: 100
                              max: 62500
                            - play-type:
                                - 4
                                - 5
                              min: 100
                              max: 45000
                            - play-type:
                                - 6
                              min: 100
                              max: 41500
                        - game-type: DTB
                          limit:
                            - play-type:
                                - 1
                                - 2
                                - 4
                                - 5
                                - 6
                                - 7
                                - 8
                                - 9
                                - 10
                                - 11
                              min: 10000
                              max: 500000
                            - play-type:
                                - 3
                              min: 100
                              max: 62500
                        - game-type: NIU
                          limit:
                            - play-type:
                                - 1
                                - 2
                              min: 10000
                              max: 500000
                            - play-type:
                                - 3
                                - 4
                              min: 100
                              max: 100000
                            - play-type:
                                - 5
                                - 6
                              min: 100
                              max: 10000
                        - game-type: ROU
                          limit:
                            - play-type:
                                - 1
                              min: 10000
                              max: 500000
                            - play-type:
                                - 2
                              min: 10000
                              max: 250000
                            - play-type:
                                - 3
                              min: 100
                              max: 100000
                            - play-type:
                                - 4
                              min: 100
                              max: 62500
                            - play-type:
                                - 5
                              min: 100
                              max: 45000
                            - play-type:
                                - 6
                              min: 100
                              max: 29000
                            - play-type:
                                - 7
                              min: 100
                              max: 14000
                            - play-type:
                                - 8
                              min: 100
                              max: 83000
        '400':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: 2
                  msg: >-
                    request hash signature(0FACF22B9E3DB5CDC670A0F7A65BB76A) is
                    error
                  uuid: 9e96610f-5388-42df-b3ed-ba1b3178c63b
components:
  schemas:
    ErrorInfo:
      type: object
      properties:
        code:
          type: integer
          description: Error code
        msg:
          type: string
          description: Error message
        uuid:
          type: string
          description: Request ID
    Error:
      type: object
      properties:
        code:
          type: string
          description: Error code
        message:
          type: string
          description: Error message
        data:
          description: Data (usually null)
        status_code:
          type: integer
          description: HTTP status code
        service:
          type: string
          description: Service name

````