---
updatedAt: 2025-06-16T22:55:43.000Z
agentTools:
  projectIndex: https://developers.paygreen.fr/llms.txt
---

# Authentication

# Secret key

Authentication with a Bearer JWT token, delivered by the Auth API and valid for 10 minutes. This authentication is used for server to server calls.

To authenticate with the secret key mode you need your shop id and your secret key. You can manage your [Secret keys](https://app.paygreen.fr/account/tokens) on your dashboard.

<TutorialTile backgroundColor="#018FF4" emoji="🔐" id="62deaadb8586bc0021d3b84b" link="https://developers.paygreen.fr/v3/recipes/secret-key-authentication" slug="secret-key-authentication" title="Secret Key Authentication" />

# Public key

Authentication with a [Public Key](https://app.paygreen.fr/account/tokens) (eg. for requests made by PayGreenJS). The public keys have a limited scope, so it must be used with an object\_secret for sensitive requests which can obtained at a payment order creation.

You can manage your public keys on your dashboard.

Keys can be found [here](https://app.paygreen.fr/account/tokens).