Endpoints
Store Transaction Endpoint
Endpoint URL
POST
https://api.teamgames.io/v3/store/transaction/claim
Headers
Header
Type
Description
Authorization
string
Bearer token for API key authentication
Request Body
Request Parameters
Parameter
Type
Description
playerName
string
The name of the player
Response Format
The response is in JSON format and contains an array of Transaction
objects.
Transaction Object
Field
Type
Description
player_name
string
The name of the player
product_id
int
The ID of the purchased product
product_amount
int
The amount of the product purchased
amount_purchased
int
The total amount of products purchased
product_name
string
The name of the purchased product
product_price
double
The price of the purchased product
message
string
A message indicating the status of the transaction
Example Request
Last updated
Was this helpful?