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

# Traditional Mode Reserved Credit Application

> This endpoint handles traditional proposal reserved credit changes (implemented by vendor)

Types 3. End proposal and 4. Cancel will keep retrying until successful. Implementer must handle properly to avoid duplicate credits



## OpenAPI

````yaml en/seamless-openapi.json POST /dt/callback/apply_reserved
openapi: 3.1.0
info:
  title: Seamless Wallet API
  description: Seamless Wallet API documentation, including Game-API and Wallet-API
  version: 1.0.0
servers:
  - url: https://api.example.com
    description: API Server
security: []
tags:
  - name: Game-API User
    description: Game API - User operations
  - name: Game-API Report
    description: Game API - Report queries
  - name: Game-API Internal
    description: Game API - Internal use (hidden)
  - name: Wallet-API
    description: Wallet API - Implemented by vendor
paths:
  /dt/callback/apply_reserved:
    post:
      tags:
        - Wallet-API
      summary: Traditional Proposal Reserved Credit Application
      description: >-
        This endpoint handles traditional proposal reserved credit changes
        (implemented by vendor)


        Types 3. End proposal and 4. Cancel will keep retrying until successful.
        Implementer must handle properly to avoid duplicate credits
      operationId: applyReserved
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - platform_id
                - token
                - uuid
                - account
                - type
                - credit
                - proposal_id
                - transaction_id
              properties:
                platform_id:
                  type: string
                  description: Platform product ID
                token:
                  type: string
                  description: >-
                    Verification code, md5(platform_id + uuid + account + type +
                    credit + proposal_id + transaction_id + platform_secret)
                uuid:
                  type: string
                  description: Platform-defined unique request serial number
                account:
                  type: string
                  description: Player account
                type:
                  type: integer
                  description: 'Type: 1. Buy-in 2. Add-on 3. End proposal 4. Cancel'
                credit:
                  type: integer
                  description: >-
                    Amount, must be positive integer. Type 3 (End proposal) only
                    allows 0. Type 4 (Cancel) only allows 0
                proposal_id:
                  type: integer
                  description: Player proposal ID, cannot be empty
                transaction_id:
                  type: string
                  description: >-
                    Transaction serial number, must be unique and non-empty
                    (1-128 characters, ASCII 32-126 printable characters only, `
                    and ~ are prohibited)
            example:
              platform_id: H88
              token: E47A56947DF6DA25B6F95C3BFE5748E7
              uuid: lobby1-82818443591811
              account: walter123
              type: 1
              credit: 100
              proposal_id: 954654
              transaction_id: 005-200926080808-0000005
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletApiResponseWithTransaction'
              example:
                code: 0
                message: success
                uuid: lobby1-82818443591811
                timestamp: 1668580007001
                data:
                  account: walter123
                  credit: 115
                  reserved: 100
                  balance: 215
                  platform_id: H88
                  transaction_id: 005-200926080808-0000005
components:
  schemas:
    WalletApiResponseWithTransaction:
      type: object
      properties:
        code:
          type: integer
          description: Error code
        message:
          type: string
          description: Error message
        uuid:
          type: string
          description: Custom unique request serial number
        timestamp:
          type: integer
          description: UNIX time, milliseconds
        data:
          type: object
          properties:
            account:
              type: string
              description: Player account
            credit:
              type: number
              description: Regular wallet credit
            reserved:
              type: number
              description: Reserved wallet credit
            balance:
              type: number
              description: Player total balance
            platform_id:
              type: string
              description: Platform product ID
            transaction_id:
              type: string
              description: Transaction serial number

````