Tip4Serv Customers API

Operations related to customers

GitHub OpenAPI

Operations 1

GET /store/customers Get customers #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tip4serv-com:tip4serv-com-customers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tip4serv-com-customers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tip4Serv Customers API
  description: Tip4Serv API
  termsOfService: https://tip4serv.com/terms-of-use
  contact:
    email: duster@tip4serv.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.12
servers:
- url: https://api.tip4serv.com/v1
security:
- bearerAuth: []
tags:
- name: Customers
  description: Operations related to customers
paths:
  /store/customers:
    get:
      tags:
      - Customers
      summary: Get customers
      description: 'Retrieves information about your customers. Use the `page` parameter to paginate results. Provide both `identifier` and `identifier_value` to retrieve the customer aggregate for an exact identifier value. Results are grouped by the selected identifier.


        Supported `identifier` values: `fivem_citizen_id`, `eosid`, `minecraft_uuid`, `hytale_uuid`, `player_id`, `steam_id`, `discord_id`, and `user_id`. Matching uses exact equality.


        **Sorting:** Use the `sort` parameter to order the returned customers.


        Available criteria:

        - `revenue` – orders customers by total revenue.


        **Time filtering:** Use `date_filter` to select customers within a specific time range. Use inclusive Unix timestamps in seconds. Convert the desired local date and time in your store’s timezone to Unix timestamps.


        Format: `[start_timestamp, end_timestamp]`


        Example: `[1759269600,1761256799]` selects customers from the start of **October 1st through the end of October 23rd, 2025** *(Europe/Paris timezone)*


        **Authorization:**

        - Requires a valid JWT Bearer token.

        - The token must include the permission: `read-customers`.'
      operationId: getCustomers
      parameters:
      - name: page
        in: query
        description: The page number to retrieve.
        required: false
        schema:
          type: integer
          default: 1
      - name: max_page
        in: query
        description: The maximum number of elements per page. This number must be between 5-50.
        required: false
        schema:
          type: integer
          default: 50
      - name: sort
        in: query
        description: 'Defines the **sorting criteria** used to order the returned customers.

          By default there''s no sorting.

          '
        required: false
        schema:
          type: string
      - name: date_filter
        in: query
        description: 'Filter customers by a specific time interval.

          Provide inclusive Unix timestamps in seconds. Convert the desired local date and time in your store’s timezone to Unix timestamps.


          **Format:** `[start_timestamp, end_timestamp]`


          **Example:** `[1759269600,1761256799]` selects customers from the start of **October 1st through the end of October 23rd, 2025** *(Europe/Paris timezone)*


          By default this filter is omitted.

          '
        schema:
          type: string
      - name: identifier
        in: query
        description: Identifier field used to group and filter the customer. Required with identifier_value.
        schema:
          type: string
          enum:
          - fivem_citizen_id
          - eosid
          - minecraft_uuid
          - hytale_uuid
          - player_id
          - steam_id
          - discord_id
          - user_id
          example: discord_id
      - name: identifier_value
        in: query
        description: Exact identifier value to filter by. Requires identifier.
        schema:
          type: string
          example: '123456789012345678'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  customers:
                    type: array
                    items:
                      $ref: '#/components/schemas/CustomerGeneral'
                  customer_count:
                    type: number
                    example: 410
                  currency:
                    type: string
                    description: The store's currency. All total_revenue values represent the amount spent by each customer, converted to the store currency.
                    example: EUR
        '403':
          description: Didn't provide a valid Tip4Serv API Key
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Unauthorized Access, Please submit a valid Tip4Serv API Key.
                  status:
                    type: number
                    example: 403
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Unexpected server error
                  status:
                    type: integer
                    example: 500
components:
  schemas:
    CustomerGeneral:
      type: object
      properties:
        user_id:
          type: number
          description: Tip4Serv account ID of the customer.
          example: 19674
        username:
          type: string
          description: Username of the customer.
          example: Duster
        discord_id:
          type: string
          description: Discord ID of the customer.
          example: '274785054121525248'
        steam_id:
          type: string
          description: Steam ID of the customer.
          example: '76561198380145423'
        player_id:
          type: string
          description: Raw generic player identifier of the customer.
          example: C84A567
        minecraft_uuid:
          type: string
          description: Minecraft UUID of the customer.
          example: 87ac351717f74762bfcaeff0ddd1a9bd
        total_revenue:
          type: number
          description: Total amount spent by the customer, converted to the store's currency.
          example: 140.43
        payments:
          type: number
          description: Total number of payments made by the customer during the period.
          example: 5
        avatar:
          type: string
          description: URL of the customer's avatar.
          example: https://mc-heads.net/head/1eb1416dbf0342728a8301118367cb0b
        loyalty_points:
          type: number
          description: Loyalty points posessed by the customer. Is displayed only if loyalty points are set up on your store.
          example: 360
      required:
      - username
      - total_revenue
      - payments
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or Partner API key
      description: Use a Tip4Serv JWT for standard store access, or a Partner API key as a Bearer token for Partner Connect. Partner Connect operations also require the `store_id` and `integration_key` query parameters and the relevant seller-approved permission.