🪙 Custom Shop
Custom Shop

Get Purchases

Fetches purchase history

Query Parameters:

  • user_id: Filter by user
  • item_id: Filter by item
  • status: Filter by status (completed, failed, refunded)
  • limit: Max results (default: 50)
get/api/v1/custom-shop/servers/{server_id}/purchases

Request

  • Base URL: https://api.notoq.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.notoq.xyz/api/v1/custom-shop/servers/{server_id}/purchases
  • Auth: HTTP bearer

Path parameters

server_idstring required

Query parameters

user_idstring nullable
item_idinteger nullable
statusstring nullable
limitinteger

Response

Successful Response

idinteger required
user_idstring required
usernamestring nullable
avatar_urlstring nullable
item_namestring required
role_idstring required
role_namestring required
price_paidinteger required
is_permanentboolean required
duration_secondsinteger nullable required
statusstring required
role_grantedboolean required
purchased_atstring date-time required
expires_atstring date-time nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.