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
07 Sep, 2023

Optimizing Storage with SubscriptionTrackingDeletedObject Cleanup

What is SubscriptionTrackingDeletedObject? The "SubscriptionTrackingDeletedObject" table is linked to the "DeletionService," which handles two types of cleanup: organization-wide and record-specific.…

READ MORE
Blogs
05 Sep, 2023

How to create real-time customer journeys in Dynamics 365 Marketing

Introduction: This blog will show how to create real-time customer journeys in Dynamics 365 Marketing. Customer journeys can be either…

READ MORE
Blogs
30 Aug, 2023

D365 CUSTOMER SERVICE: CUSTOMER 360 COMPONENT

Introduction: In Dynamics 365 (D365) Customer Service, the 'Customer 360' Component provides a comprehensive view of information and enables users…

READ MORE