Getting authenticated

circle-info

We’ll be using the sandbox environmentarrow-up-right 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/signinarrow-up-right

πŸ”‘ Getting an API Key

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

  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