For the complete documentation index, see llms.txt. This page is also available as Markdown.

Getting authenticated

Weโ€™ll be using the sandbox environment of our API. The sandbox lets you develop the PG Rewards API using mock data. The sandbox environment's URL is https://sandbox.pgecom.com/signin

๐Ÿ”‘ Getting an API Key

  1. Sign up or log in to your sandbox account at: https://sandbox.pgecom.com/signin

  2. Navigate to Settings > Developer Setting

  3. Click on Generate New Credentials to get new credentials

Developer Settings

๐ŸŽ‰ Make your first request

Generate your first token

POST https://sandbox.pgecom.com/api/v1/token

Request Body

Name
Type
Description

apiKey*

String

secretKey*

String

Congrats, you've authenticated and made your first request!

Last updated