knowledgecenter-breadcrum

Knowledge Center

25 Aug, 2020

QuickBooks: Generate Access Token using refresh Token

Posted on 25 Aug, 2020 by Admin, Posted in Dynamics 365 Dynamics-365 Sales

QuickBooks: Generate Access Token using refresh Token Blogs

QuickBooks: Generate Access Token using refresh Token

Introduction

In this blog, we are going to see the way to generate Quick Books access token using refresh token.

To generate access token, we need to have the below Quick Books values:

  • Refresh Token – As per the Quick Book documentation this token expires after 101 days.
  • Access Token – This token expires after 60 minutes.

Now, to generate Refresh Token and Access Token first we need to follow manually steps as

  1. Register the App in QuickBooks
  2. Use OAuth2.0 playground to generate the tokens

For more details please check the below link:
https://developer.intuit.com/app/developer/qbo/docs/get-started

Example

After generating Refresh Token and Access Token, please refer below code snippet:


In above Code,

  • <>: Replace this value with value obtain during manual steps.
  • <>: Quick book client id value.
  • <>: Quick book client secret value.

Comment

This is a Required Field

Loading

Recent Updates

Email Storage Made Easy: Dynamics 365 Space Saving Tips
Blogs
29 Feb, 2024

Email Storage Made Easy: Dynamics 365 Storage Saving Tips

Email Storage Made Easy: Dynamics 365 Storage Saving Tips Introduction Microsoft's latest feature allows you to migrate email descriptions from CRM…

READ MORE
Blogs
28 Feb, 2024

How to enable the enhanced email template editor in Dynamics 365?

How to enable the enhanced email template editor in Dynamics 365? To activate the Enhanced Email Template editor for your…

READ MORE
RCA for ARC Migration Issue
Blogs
28 Feb, 2024

Troubleshooting Convert Rules Import Issue: Entity 'workflow' with ID Does Not Exist error in D365

Troubleshooting Convert Rules Import Issue: Entity 'workflow' with ID Does Not Exist error in D365 Problem Statement We implemented D365 Customer…

READ MORE