PUT
/
v1
/
configure
/
quickbooks
Update Quickbooks configuration
curl --request PUT \
  --url https://sandbox.layerfi.com/v1/configure/quickbooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": "ABCD1234FAKECLIENTID",
  "secret": "abcd1234FAKESECRET",
  "environment": "PRODUCTION",
  "redirect_url": "https://yourplatform.com/link-quickbooks"
}'
{
  "client_id": "ABCD1234FAKECLIENTID",
  "secret_last_4": "**************CRET",
  "environment": "PRODUCTION",
  "redirect_url": "https://yourplatform.com/link-quickbooks"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Body

application/json
client_id
string

The client ID issued to your platform by Quickbooks.

Example:

"ABCD1234FAKECLIENTID"

secret
string

The client secret associated with the provided Quickbooks client ID.

Example:

"abcd1234FAKESECRET"

environment
enum<string>

Indicates which Quickbooks environment these credentials are intended for (production or sandbox).

Available options:
PRODUCTION,
SANDBOX
redirect_url
string<uri>

The URL to which Quickbooks should redirect after authentication.

Example:

"https://yourplatform.com/link-quickbooks"

Response

client_id
string

The client ID issued to your platform by Quickbooks.

Example:

"ABCD1234FAKECLIENTID"

secret_last_4
string

The client secret associated with your Quickbooks client ID, masked except for the last four digits for reference.

Example:

"**************CRET"

environment
enum<string>

Indicates which Quickbooks environment these credentials are intended for (production or sandbox).

Available options:
PRODUCTION,
SANDBOX
redirect_url
string<uri>

The URL to which Quickbooks should redirect after authentication.

Example:

"https://yourplatform.com/link-quickbooks"