Diagnose and repair bank account ledger mappings

Diagnoses bank accounts that are missing corresponding ledger accounts and optionally repairs them. This is useful when bank accounts were created but their ledger accounts were not properly set up.

Headers

AuthorizationstringRequired

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

Query parameters

entityIdstringRequired
The ID of the entity to diagnose
repairenumOptional
Set to "true" to attempt automatic repair of missing ledger accounts
Allowed values:

Response

Diagnostic completed successfully
summaryobject or null
accountslist of objects or null
repairModeboolean or null
Whether repair mode was enabled
messagestring or null
Summary message about the diagnostic results

Errors