getOrderById
Last Updated 11th May, 2025
The getOrderById
query allows authenticated users to retrieve a specific transaction by its orderId
. It validates the API key, ensures the user owns the order, and returns the full order object.
๐ Endpoint
URL: https://api.vscgames.com/graphql
Method: POST
Content-Type: application/json
๐ Query Structure
๐ฅ Parameters
Name
Type
Required
Description
orderId
String
โ Yes
The unique identifier of the order
๐ Header Required:
โ
Successful Response
๐ซ Error Responses
Code
Message
Reason
401
API key required
apikey
header is missing
403
Invalid API key
Provided API key does not match any user
403
Unauthorized access to this order
Order doesn't belong to authenticated user
404
Order not found
Order ID does not exist
๐งช Code Examples
Python
JavaScript
Last updated