Welcome
Welcome to the official GraphQL API for VSC Games. This API provides secure and scalable endpoints for top-up operations, digital product queries, order tracking, and player detail verification.
Whether you're a merchant integrating game top-ups, a developer building a storefront, or an analytics tool pulling order data โ this API is designed to be fast, flexible, and easy to integrate.
๐ Authentication
All authenticated queries and mutations require an API key passed via headers:
If you're using merchant-based endpoints, the key is passed as:
๐ฆ Base URL
All queries and mutations are sent via POST requests to this single endpoint.
๐ Request Format
Send requests as JSON with a GraphQL query
or mutation
, and optional variables
.
Example:
โ
Response Format
All responses follow standard GraphQL JSON structure:
If an error occurs:
๐ Available Modules
๐ Authentication
API key validation for users and merchants
๐ฎ Top-Up Products
View or fetch available top-up options
๐งพ Orders
Submit, view, and track top-up orders
๐ง Player Info
Retrieve player names using IDs
๐ Categories
Group and list products by category
๐งช Testing
You can test queries using:
Postman
GraphQL Playground
Your frontend/backend using
fetch
,axios
, etc.
๐ฌ Need Help?
If you encounter any issues integrating the API, please contact the VSC Games support team.
Last updated