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

Thumbnail image
Blogs
13 Feb, 2025

Mastering Project Planning: How to Prevent Delays and Adapt to Any Challenge

Mastering Project Planning: How to Prevent Delays and Adapt to Any Challenge. Introduction Project delays are every project manager’s nightmare.…

READ MORE
Blogs
13 Feb, 2025

Filter List Using FetchXML in Power Pages

Introduction Power Pages provide a flexible way to display data using lists, but sometimes, you may need more advanced filtering than…

READ MORE
SMS_Thumbnail.jpg
Blogs
11 Feb, 2025

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

SMS Integration using Twilio Part 2 Introduction In Part 1, we covered below mentioned topics: Get Account SID and Auth…

READ MORE