Marketplace
List a player's purchases
GET
/v1/marketplace-purchasesLists the player's purchases, newest first.
Each row is what that purchase actually was: the points charged and the contents handed over, as they stood at the time. A listing can be edited or taken off sale afterwards and none of that reaches a purchase already made, which is why this is the read that answers "what did I get".
Authorization
ApiKey AuthorizationBearer <token>
Paste a project API key (no 'Bearer ' prefix). Create one in the dashboard under API keys.
In: header
Query Parameters
PlayerId?string
Your own id for the player.
LanguageCode?string
Preferred locale for the item names; null = each name's default locale.
Take?integer
The most purchases to return, newest first. Omit to return the player's whole history, which grows without bound.
Format
int32Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/marketplace-purchases"[ { "purchaseId": "e9b59bb6-ba5b-48ce-918b-5f842e450f10", "marketplaceItemKey": null, "name": null, "contents": [ { "catalogItemKey": "string", "value": { "type": "number", "value": 0.1 } } ], "pricePaidInPoints": 0, "idempotencyKey": null, "purchasedAtUtc": "2019-08-24T14:15:22Z" }]