This article covers the new Authorize.net experience and OAuth Applications and how to manage them in the new Partner Interface. For information on how to identify what version of Authorize.net you are on, please see the support article: How to identify what version of Authorize.net you are on and switching between them? - Classic and New Experience
What is OAuth?
How does it work?
- When a user clicks this button, a browser tab opens to the Merchant Interface. If the user is not already logged in, they will be prompted to do so.
- If the user is an Account Owner or Account Administrator, the Merchant Interface will display the name of the solution and the requested API permissions. Clicking the Allow button registers the solution and grants the requested permissions. From that moment, until permission is revoked, the solution may submit API calls on the account's behalf.
- Only Account Owners and Account Administrators can approve OAuth requests. If the user is not an Account Owner or Account Administrator at sign-in as part of this process, they will receive an 'Access Denied' error message.
How to setup and manage register OAuth Applications?
Registering your application
To add your application, follow these steps:
- Sign in to the Partner Interface.
- Click Account in the left navigation.
- Click OAuth Applications under Integrations.
- Click Create OAuth Application on the right.
- Enter the application information:
- Application Name - Name of the application for which you are requesting OAuth credentials.
- Description - Description of the application.
- Redirect - This is the page that the merchant is redirected back to after granting you permissions. This must exactly match the redirect URL that you supplied during registration.
- Permission - Select the permissions to give the application for the listed APIs.
- Read
- Write
- Click Save. Your application is registered and the Client ID and Client Secret are shown. Store them securely. You will need them to redirect the merchant.
Editing your application
To edit your application, follow these steps:
- Click Account in the left navigation.
- Click OAuth Applications under Integrations.
- Find your application in the list provided and click the 3 dots and select Edit.
- Update any necessary information and click Save.
Integrating your application
For further information on integrating your application for OAuth and performing calls on behalf of merchants please see: OAuth Developer Guide.
Which permissions may a solution request through OAuth?
- scope=read — provides read-only access to your data, for use in reporting, analysis, order fulfillment, etc.
- scope=read,write — provides full access to all API calls, including the creation and update of transactions, subscriptions, and customer profiles, as well as the ability to delete customer profiles.
What happens if a merchant revokes permission for an Authorized Application?
How does it work, from a Reseller and Technology Partner or Developer perspective?
- A Reseller or Technology Partner account to generate and obtain your account's API credentials
- Register and create OAuth Applications and Solution ID.
- Integrate OAuth into your software and application along with integrating the Solution ID into your application's API calls.
OAuth Flow:
- The merchant visits your application, enters form information, and clicks a link or button to continue the process.
- Your application redirects the merchant to Authorize.net.
- The merchant grants or denies your application the permissions that you will provide when you register your application with Authorize.net.
- Authorize.net returns an authorization code, contained in a redirect URL. This redirects the merchant back to your application.
- Your application calls Authorize.net and exchanges the authorization code for a token that can be used for authenticating transactions with Authorize.net, as well as a refresh token that can be used for additional calls.
Related Resources:
