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

Was this helpful?