The Tip Etiquette Service provides the tip information for the customers.
Authentication-Making the first API request is only few steps away
Once an OAuth token is obtained, you can use the token along with Consumer Application Secret and API Plan name provided during Sandbox access in the HTTP Header of an API to make your first call. The same OAuth can be used for multiple API calls as long as it is not expired.
- All projects start in Sandbox mode. Once you’re invited to gain access to this API you can login here to get Client Application ID (API Key), Client Application Secret, Consumer Application Secret and API Plan name.
- All API requests must be authenticated with an OAuth token. To get the OAuth token, follow these simple steps.
- Make a HTTP POST request to the endpoint /auth/oauth/v2/token with HTTP Authorization Header as Basic base64encoded(client_application_id:client_application_secret), Content-Type as application/x-www-form-urlencoded and Cache-Control as no-cache.
- The response would contain an OAuth token along with token type and token expiry in seconds.