Withdraw bank-account verification
const url = 'https://api.invogi.com/v1/suppliers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/bank-accounts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/unverify';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.invogi.com/v1/suppliers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/bank-accounts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/unverify \ --header 'Authorization: Bearer <token>'Signed-in ADMIN or OWNER only. Idempotent; keeps the account and its usage history. Rechecks invoices affected by open bank-change requests.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Responses
Section titled “Responses”Successful response
object
Masked to the last four account digits. New GB IBAN accounts use the equivalent UK sort-code display; older stored IBAN representations may remain.
The recorded enterer and verifier are the same person and no independent confirmation is recorded.
The signed-in viewer is the enterer recorded on this account row.
How the account was confirmed; null when no confirmation note is recorded.
Example
{ "kind": "UK", "source": "MANUAL"}Missing or invalid API key
API key lacks required scope/role