QuickBooks — OAuth Callback
GET/external/v1/oauth/quickbooks/callback/
Called by QuickBooks (a browser redirect) — you never call this directly and it does not require an X-API-Key. LynxLedger exchanges the code for tokens, creates the tenant, triggers the data import, then redirects the user back to your redirect_url with the resulting domain_url.
ApiDocsParametersTitle
| ApiDocsParamField | ApiDocsParamType | ApiDocsParamRequired | ApiDocsParamDescription |
|---|---|---|---|
| code | string | ApiDocsRequired | Authorization code, sent by QuickBooks automatically. |
| state | string | ApiDocsRequired | Opaque state from initiate, sent by QuickBooks automatically. |
| realmId | string | ApiDocsRequired | QuickBooks company id, sent by QuickBooks automatically. |
ApiDocsRequestLabel
GET https://backend.app.lynxledger.com/external/v1/oauth/quickbooks/callback/?code=<code>&state=<state>&realmId=<realm_id>
# Invoked by QuickBooks — no X-API-Key header.ApiDocsResponseLabel
HTTP 302 Redirect
Location: https://yourapp.com/done?status=success&domain_url=acme-corp
# On failure: ...?status=error&message=<description>