Hey Pongo authentication is based on OAuth2.
Your client must access our OAuth authorization form via the following URL :
{BASE_URL}/v1/oauth/form?client_id={CLIENT_ID}&state=123&redirect_uri={REDIRECT_URI}&scope={SCOPES}
- BASE_URL : https://sandbox-api.heypongo.com (development) OR https://api.heypongo.com (Production)
- CLIENT_ID : Given by our team after creating your partner account.
- REDIRECT_URI : The redirect URI on which the Authorization Code will be send. ⚠️ You must communicate the REDIRECT_URI you want to Pongo. Our services must whitelist any REDIRECT_URI.
- SCOPES : The scopes correspond to the endpoints you are going to use to implement the Pongo API. The basic ones are :
customer.create,customer.read,customer.update,reward.create,reward.read,reward.update,contest-game.create,contest-game.read,contest-game.update,order.create,order.read,order.update,checkin.create
If you don't have your credentials yet, please contact us at [email protected]