cURL
curl --request POST \ --url https://sandbox.layerfi.com/v1/businesses/{businessId}/quickbooks/authorize \ --header 'Authorization: Bearer <token>'
{ "redirect_url": "<string>" }
This API call begins an OAuth flow to connect a Quickbooks account to a business. It will manage the CSRF token state internally and this API call will return the redirect URL for the OAuth flow.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The UUID of the business to authorize Quickbooks for.