Verify or independently confirm a supplier bank account
const url = 'https://api.invogi.com/v1/suppliers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/bank-accounts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/verify';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{}'};
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/verify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'Signed-in ADMIN or OWNER only. An enterer verifying their own account must supply a confirmation note. When a second person is required, anyone who entered this account for any supplier in the workspace is refused, including provenance preserved by merges. A different person can confirm an account verified by one person. Already-verified accounts are otherwise idempotent. Reported accounts are refused.
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.
Request Body
Section titled “Request Body”object
Example
{}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"}Invalid request
Missing or invalid API key
API key lacks required scope/role
Resource not found
Conflicting idempotency key or resource processing state