Customer

Get current customer

get

Retrieves the current customer from the passed Customer token.

Authorizations
Responses
200

OK

application/json
get
GET /v1/store/customer HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "411486491630370816",
  "store_id": "411486491630370816",
  "profile": {
    "id": "text",
    "platform": "steam",
    "name": "text",
    "avatar_url": "text"
  },
  "steam_id": "76561197960287930",
  "steam": {
    "id": "76561197960287930",
    "name": "text",
    "avatar_url": "text"
  },
  "minecraft_uuid": "f84c6a79-0a4e-45e0-879b-cd49ebd4c4e2",
  "minecraft": {
    "id": "f84c6a79-0a4e-45e0-879b-cd49ebd4c4e2",
    "name": "notch",
    "avatar_url": "text"
  },
  "xbox_xuid": "text",
  "minecraft_platform": "unknown",
  "name": "m0uka",
  "created_at": "2025-09-12T13:04:27.569Z",
  "updated_at": "2025-09-12T13:04:27.569Z",
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  }
}

Lookup a gift card by the code

get
Authorizations
Path parameters
codestringRequired
Responses
200

OK

application/json
get
GET /v1/store/customer/giftcards/lookup/{code} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "code": "text",
  "balance": 1,
  "starting_balance": 1,
  "expires_at": "2025-09-12T13:04:27.569Z"
}

Get storefront customer delivery items

get
Authorizations
Query parameters
limitinteger · int32 · min: 1 · max: 100Optional

The maximum number of items to return in a single request.

afterstring · flake-idOptional

Returns items after the specified ID. Used for forward pagination through results.

Example: 411486491630370816
beforestring · flake-idOptional

Returns items before the specified ID. Used for backward pagination through results.

Example: 411486491630370816
ascbooleanOptional

Determines the sort order of returned items. When true, items are returned in ascending order. When false, items are returned in descending order.

Responses
200

OK

application/json
get
GET /v1/store/customer/command-delivery HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "id": "411486491630370816",
    "store_id": "411486491630370816",
    "customer_id": "411486491630370816",
    "order_id": "411486491630370816",
    "order_line_id": "411486491630370816",
    "subscription_id": "411486491630370816",
    "execute_on_gameserver_id": "411486491630370816",
    "quantity_index": 1,
    "product": {
      "id": "411486491630370816",
      "name": "Premium Membership",
      "slug": "premium-membership",
      "version_id": "v2.1.0"
    },
    "state": "usable",
    "expirable": true,
    "gift": true,
    "added_at": "2025-09-12T13:04:27.569Z",
    "active_at": "2025-09-12T13:04:27.569Z",
    "expires_at": "2025-09-12T13:04:27.569Z",
    "override_expires_at": "2025-09-12T13:04:27.569Z",
    "removed_at": "2025-09-12T13:04:27.569Z",
    "revoked_at": "2025-09-12T13:04:27.569Z",
    "revoke_reason": "text"
  }
]

Was this helpful?