Accountants

Connect QuickBooks from a refresh token already issued to Median's Intuit app

Refreshes the token with Median's own Intuit credentials (422 QUICKBOOKS_LEDGER_IMPORT_REJECTED and nothing stored if Intuit refuses), then follows the browser callback's path: CompanyInfo read, realm verification, encrypted token storage and the source-inventory enqueue. The response never contains a token.

post/accountant/companies/{customerId}/integrations/quickbooks/connection-import

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

customerId, string uuid required

Request body

object required
realmId, string required
refresh_token, string required

Response

Connection status after verification

object required
success, true required
data, QuickBooksLedgerStatus required

Changes

No recorded changes to this operation across all 110 revisions of this API.