Choose whether a supplier bank account someone typed in needs a second person (OWNER only, dashboard user)
PATCH
/organizations/current/bank-verification
const url = 'https://api.invogi.com/v1/organizations/current/bank-verification';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"require_second_person":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.invogi.com/v1/organizations/current/bank-verification \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "require_second_person": true }'Off by default: one owner or admin may enter an account and verify it, which is labelled and notified to the others. On: a different owner or admin must verify it. Accounts already verified stay verified.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
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 Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
require_second_person
required
boolean
Example
{ "require_second_person": true}Responses
Section titled “Responses”Setting updated and audit event recorded
Media typeapplication/json
object
requireSecondBankVerifier
required
boolean
Example
{ "requireSecondBankVerifier": true}Invalid request
Media typeapplication/json
Missing or invalid API key
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json