# Overview

The PayNow API can be used both from a store management perspective, as well as a customer's perspective.

In order to support the different types of actors in our system, we have developed the following types of authentication:

#### API Key

API keys are used to automate the management of a [store](https://docs.paynow.gg/management/management-api). Whether it's pulling metrics, editing products, or generating customer tokens, API key are the correct way to modify a store and its entities in a headless manner.

API keys can be created in the [API Keys section on the dashboard](https://dashboard.paynow.gg/api-keys).

API keys can only be managed by a user.

#### Customer

[Customers](https://docs.paynow.gg/api/customer) are the users of a store. Customer tokens can generated with an [API request](https://docs.paynow.gg/api/customer#create-customer-token) by a [User](https://docs.paynow.gg/api/user) or API Key. These tokens allow a customer to access the resources of store they belong to, and manage their own customer account.

Customer tokens can be used from anywhere on the internet. Whether it's your own website, your backend server, or from a game plugin, the customer token is the correct way to perform actions on behalf of a customer.

Customer tokens can be created in the [customer section on the dashboard](https://dashboard.paynow.gg/customers). Select a customer and then click "Create token".

[Read more about customer tokens](https://docs.paynow.gg/api/customer#customer-tokens)

#### Game Server

[Game Servers](https://docs.paynow.gg/api/gameserver) represent the individual servers that you host. Game Server tokens can be generated with an API request by a [User](https://docs.paynow.gg/api/user) or API Key.

These are more restricted than API Keys because they can only access certain routes responsible for processing commands in-game.

Game Server tokens can be found in the [game server section on the dashboard](https://dashboard.paynow.gg/gameservers). Select a game server to see the token.

#### User

[Users](https://docs.paynow.gg/api/user) are human users who are allowed to create and manage stores on the [dashboard](https://dashboard.paynow.gg/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paynow.gg/getting-started/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
