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

Blogs
30 Sep, 2024

SMS Integration with Twilio Number in D365 Customer Service- Part 1

Introduction Integrating SMS functionality into Dynamics 365 can significantly enhance customer communication by providing a direct and efficient channel for…

READ MORE
Blogs
24 Sep, 2024

White Box Testing - Its Techniques and Types

In this blog, we’ll deal with one of the most popular methods of testing a system or system component thoroughly…

READ MORE
Case Study
06 Sep, 2024

Implementation of Business Central for a Trading Organization

Customer Overview A prominent trading organization sought to enhance its operational efficiency and streamline its business processes by implementing Dynamics…

READ MORE