Cool Charts

OAuth 2.0 Demonstration

This sample page shows how to connect you Authorize.Net account to Cool Charts so that we can visualize your data with a Cooooool Chart.

Connect to Authorize.Net

Overview

This page demonstrates the retrieval of an OAuth 2.0 Access Token which can be used by an Authorize.Net partner (client application - see below) to access Authorize.Net ON BEHALF OF an Authorize.Net merchant (Resource Owner - see below).

OAuth 2.0 Clients

In OAuth 2.0 nomenclature an Authorize.Net partner application (e.g. shopping cart, analytics application, invoicing solution, etc) is referred to as a Client Application.

OAuth 2.0 Resource Owners

In the Authorize.Net ecosystem, the Resource Owners are merchants. The client applications use the Authorize.Net OAuth 2.0 flow to transact with the merchant resources via our APIs. E.g. retrieve merchant subscriptions data.

Step 1:

Connect with the Authorize.Net OAuth 2.0 Authorization endpoint (see source behind button above).

Step 2:

Use the Authorization Code returned from Step 1 to retrieve an Access Token (and Refresh Token) from our /token RESTful endpoint.

POST https://access.authorize.net/apiauthservice/v1/oauth/token

Content-Type: application/x-www-form-urlencoded

grant_type=authorization_code&code=M19rNl&client_id=0puCUxYrM7&platform=2

Step 3:

Use the Access Code from Step 2 to access the Authorize.Net API : https://developer.authorize.net/api/reference

NOT YET AVAILABLE

Sample Request

{ "authenticateTestRequest": { "merchantAuthentication": { "accessToken": "eyJraWQiOiIyNmRjYjVkZTdlMmYwYTI0ODg0MjU1YjIwZWJjMGY0MSIsImFs ..." } } }