VersusGame Wallets API

The wallets API from VersusGame — 5 operation(s) for wallets.

Operations 5

GET /v1/wallets/account-balance #
POST /v1/wallets/claim-daily-gift #
PUT /v1/admin/wallets/{userId} #
PUT /v1/admin/wallets/{userId}/demote #
PUT /v1/admin/wallets/{userId}/promote #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/versusgame-wallets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

versusgame-wallets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Versusgame Wallets API
  version: '1.0'
  contact: {}
  description: 'Operations tagged wallets across 2 of this provider''s published API definitions: versusgame-openapi-original.json, versusgame-wallets-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.versusgame.com
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: wallets
paths:
  /v1/wallets/account-balance:
    get:
      operationId: WalletsController_getAccountBalance
      parameters: []
      responses:
        '200':
          description: The account balance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletResponse'
      security:
      - access-token: []
      tags:
      - wallets
  /v1/wallets/claim-daily-gift:
    post:
      operationId: WalletsController_claimDailyGift
      parameters: []
      responses:
        '200':
          description: Claim Daily Gift Tickets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClaimDailyGiftResponse'
      security:
      - access-token: []
      tags:
      - wallets
  /v1/admin/wallets/{userId}:
    put:
      operationId: AdminController_updateUserWallet
      parameters:
      - name: userId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminUpdateFundsDto'
      responses:
        '204':
          description: Updated User Wallet via Admin Controls
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateWalletResponse'
      security:
      - access-token: []
      tags:
      - wallets
  /v1/admin/wallets/{userId}/demote:
    put:
      operationId: AdminController_demoteUserWallet
      parameters:
      - name: userId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DemoteUserDto'
      responses:
        '200':
          description: Demotes User Wallet via Admin Controls
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletResponse'
      security:
      - access-token: []
      tags:
      - wallets
  /v1/admin/wallets/{userId}/promote:
    put:
      operationId: AdminController_promoteUserWallet
      parameters:
      - name: userId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromoteUserDto'
      responses:
        '200':
          description: Promotes User Wallet via Admin Controls
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletResponse'
      security:
      - access-token: []
      tags:
      - wallets
components:
  schemas:
    DailySetCount:
      type: object
      properties:
        totalCompleted:
          type: number
          default: 0
        totalWins:
          type: number
          default: 0
        totalLosses:
          type: number
          default: 0
        totalTies:
          type: number
          default: 0
      required:
      - totalCompleted
      - totalWins
      - totalLosses
      - totalTies
    FundsUpdatedReasons:
      type: string
      enum:
      - free_gift
      - host_cut
      - referrer_cut
      - parent_cut
      - transaction_voided
      - game_played
      - game_outcome
      - pending_outcome
      - purchase
      - redeem
      - refund
      - payout
      - admin_update
      - distributor_cut
      - achievement
    WalletLeague:
      type: object
      properties:
        name:
          type: string
        leaderboardId:
          type: string
      required:
      - name
      - leaderboardId
    WalletResponse:
      type: object
      properties:
        id:
          type: string
        coins:
          type: number
        pendingCoins:
          type: number
        whiteTickets:
          type: number
        blackTickets:
          type: number
        grayTickets:
          type: number
        points:
          type: number
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        version:
          type: number
        canCollectFreeGift:
          type: boolean
        gamesDeclared:
          type: number
        gamesCorrectAnswers:
          type: number
        achievements:
          type: array
          items:
            type: string
        currentLeague:
          enum:
          - level1
          - level2
          - level3
          - level4
          type: string
        gamePlaysSinceDemotion:
          type: number
        lifetimeGamesPlayed:
          type: number
        emailVerified:
          type: boolean
        leagues:
          type: array
          items:
            $ref: '#/components/schemas/WalletLeague'
        referralCount:
          type: number
        dailySetCounts:
          $ref: '#/components/schemas/DailySetCount'
      required:
      - id
      - coins
      - pendingCoins
      - whiteTickets
      - blackTickets
      - grayTickets
      - points
      - createdAt
      - updatedAt
      - version
      - canCollectFreeGift
      - gamesDeclared
      - gamesCorrectAnswers
      - achievements
      - currentLeague
      - gamePlaysSinceDemotion
      - lifetimeGamesPlayed
      - emailVerified
      - referralCount
      - dailySetCounts
    AdminUpdateFundsDto:
      type: object
      properties:
        reason:
          allOf:
          - $ref: '#/components/schemas/FundsUpdatedReasons'
        walletVersion:
          type: number
        funds:
          minItems: 1
          type: array
          items:
            $ref: '#/components/schemas/ValidUpdateFund'
        adminDescription:
          type: string
        distributorId:
          type: string
        gameCorrectAnswer:
          type: boolean
        gameDeclared:
          type: boolean
      required:
      - reason
      - funds
    PromoteUserDto:
      type: object
      properties:
        leaderboardLeague:
          type: string
          enum:
          - level1
          - level2
          - level3
          - level4
        distributorId:
          type: string
      required:
      - leaderboardLeague
      - distributorId
    ClaimDailyGiftResponse:
      type: object
      properties:
        amount:
          type: number
      required:
      - amount
    ValidUpdateFund:
      type: object
      properties:
        type:
          allOf:
          - $ref: '#/components/schemas/ValidUpdateFunds'
        amount:
          type: number
      required:
      - type
      - amount
    UpdateWalletResponse:
      type: object
      properties:
        version:
          type: number
        updatedAt:
          format: date-time
          type: string
      required:
      - updatedAt
    ValidUpdateFunds:
      type: string
      enum:
      - black
      - white
      - coin
      - point
    DemoteUserDto:
      type: object
      properties:
        distributorId:
          type: string
      required:
      - distributorId
  securitySchemes:
    access-token:
      scheme: bearer
      bearerFormat: JWT
      description: Enter the bearer token below (do not include 'Bearer')
      type: http
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key For External calls
x-refined-from:
- versusgame-openapi-original.json
- versusgame-wallets-api-openapi.yml