Intro to Integrating with OAuth
Detailed guide on how to implement the OAuth flow
Priority Payment Systems' API uses OAuth 1.0a as its authentication mechanism. This allows developers to take advantage of several opensource client libraries. Utilizing one of these libraries can reduce time spent with API integration. To demonstrate how successfully authenticate using OAuth, review the example(s) assoicated with each workflow of authentication.
OAuth 1.0a RFC (5489)
In order for an application to make API requests, the user must be authenticated. To properly authenticate, first a request token must be obtained. This request token is then exchanged for an access token. This access token is used for subsequent calls to API resources.
Consumer Keys and Secret are essential for API interaction. They are generated by this developer portal during the registration process. These two pieces of information are necessary for every API call.
Implementing the Work Flow
The API supports two different authentication mechanisms; 2 and 3-Legged. Each have a common goal, attaining an access token, but go about this in a different way.
The follow section demonstrates the constrution of a properly authenticated API request.
Updated 3 months ago