Copy only the access_token value from the token response.
Open an endpoint in the API Reference and select Production or Staging.
Paste the token into the Bearer authentication field.
The playground sends it as Authorization: Bearer <access_token>. The token expires after 300 seconds (5 minutes), so obtain a new token when it expires.
A company admin can rotate your credentials in the PayEm app under Settings → Developer, by selecting Rotate secret on your app.Your client ID stays the same and a new client secret is shown. Rotation immediately invalidates the previous secret and revokes all active access tokens for your app.
Your integration has brief downtime until it authenticates again with the new secret. Plan rotations for a low-traffic window and update the secret in your integration right away.