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.

Authentication

AuthorizationBearer

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
accountslist of objects
repairModeboolean
Whether repair mode was enabled
messagestring
Summary message about the diagnostic results

Errors

400
Bad Request Error
500
Internal Server Error