another_quickbooks 0.0.1
another_quickbooks: ^0.0.1 copied to clipboard
Flutter Quickbooks SDK
Another Quickbooks #
Flutter package for Quickbooks. Includes supports for both Payments and Accounting APIs as well as authorization flow.
Quickbooks Payments #
Quickbooks Accounting #
TODO: List prerequisites and provide or point to information on how to start using the package.
Credentials #
In order to interact with Quickbooks you'll need a developer account and the clientId and clientSecret https://developer.intuit.com/app/developer/dashboard
final quickClient = QuickbooksClient(
applicationId: applicationId,
clientId: clientId,
clientSecret: clientSecret);
// Initialize the client.
await quickClient.initialize();
// Use this to prompt the user to authorize your app
var authUrl = quickClient.getAuthorizationPageUrl(
scopes: [Scope.Accounting, Scope.Payments],
redirectUrl: <your redirect url>,
state: "state123")
// On authorization success use the params to get the access token.
var autoToken = quickClient.getAuthToken(
code: <code from redirect url>,
realmId: <real from redirect url>
redirectUrl: <redirect url>);
// Note: The token can be refreshed when it expires using the refreshToken
String token = (await quickClient.refreshToken(
refreshToken: autoToken.refresh_token
)).access_token