VersusGame Ledger API

The ledger API from VersusGame — 2 operation(s) for ledger.

Operations 2

GET /v1/ledger #
GET /v1/admin/ledger #

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-ledger-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-ledger-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Versusgame Ledger API
  version: '1.0'
  contact: {}
  description: 'Operations tagged ledger across 2 of this provider''s published API definitions: versusgame-ledger-api-openapi.yml, versusgame-openapi-original.json. 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: ledger
paths:
  /v1/ledger:
    get:
      operationId: LedgerController_list
      parameters:
      - name: _
        required: false
        in: query
        schema:
          $ref: '#/components/schemas/FundsUpdatedReasons'
      - name: reasons
        required: false
        in: query
        schema:
          type: array
          items:
            $ref: '#/components/schemas/FundsUpdatedReasons'
      - name: asc
        required: false
        in: query
        schema:
          type: boolean
      - name: start
        required: false
        in: query
        schema:
          type: string
      - name: limit
        required: false
        in: query
        schema:
          type: number
      responses:
        '200':
          description: List user's transactions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LedgerListEntity'
      security:
      - access-token: []
      tags:
      - ledger
    servers:
    - url: https://api.versusgame.com
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /v1/admin/ledger:
    get:
      operationId: LedgerAdminController_list
      parameters:
      - name: _
        required: false
        in: query
        schema:
          $ref: '#/components/schemas/FundsUpdatedReasons'
      - name: reasons
        required: false
        in: query
        schema:
          type: array
          items:
            $ref: '#/components/schemas/FundsUpdatedReasons'
      - name: asc
        required: false
        in: query
        schema:
          type: boolean
      - name: start
        required: false
        in: query
        schema:
          type: string
      - name: limit
        required: false
        in: query
        schema:
          type: number
      - name: userId
        required: true
        in: query
        schema:
          type: string
      responses:
        '200':
          description: List user's transactions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LedgerListEntity'
      security:
      - access-token: []
      tags:
      - ledger
    servers:
    - url: https://api.versusgame.com
      description: Base URL declared by the provider in apis.yml (roadmap#122).
components:
  schemas:
    Fund:
      type: object
      properties:
        type:
          allOf:
          - $ref: '#/components/schemas/FundType'
        amount:
          type: number
      required:
      - type
      - amount
    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
    LedgersEntity:
      type: object
      properties:
        reason:
          allOf:
          - $ref: '#/components/schemas/FundsUpdatedReasons'
        id:
          type: string
        userId:
          type: string
        createdAt:
          format: date-time
          type: string
        funds:
          type: array
          items:
            $ref: '#/components/schemas/Fund'
      required:
      - reason
      - id
      - userId
      - createdAt
      - funds
    FundType:
      type: string
      enum:
      - free
      - white
      - black
      - gray
      - coin
      - pending_coin
      - point
    LedgerListEntity:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/LedgersEntity'
        next:
          type: string
      required:
      - items
  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-ledger-api-openapi.yml
- versusgame-openapi-original.json