Skip to content

Verify or independently confirm a supplier bank account

POST
/suppliers/{supplierId}/bank-accounts/{accountId}/verify
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.

supplierId
required
string format: uuid
accountId
required
string format: uuid
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.

Media typeapplication/json
object
note
string
>= 1 characters <= 2000 characters

Example

{}

Successful response

Media typeapplication/json
object
id
required
string
kind
required
string
Allowed values: UK IBAN
display
required

Masked to the last four account digits. New GB IBAN accounts use the equivalent UK sort-code display; older stored IBAN representations may remain.

string
countryCode
required
null | string
source
required
string
Allowed values: MANUAL OBSERVED
verified
required
boolean
verifiedAt
required
null | string format: date-time
verifiedByOnePerson
required

The recorded enterer and verifier are the same person and no independent confirmation is recorded.

boolean
enteredByYou
required

The signed-in viewer is the enterer recorded on this account row.

boolean
verificationNote
required

How the account was confirmed; null when no confirmation note is recorded.

null | string
useCount
required
integer
firstSeenAt
required
string format: date-time
lastSeenAt
required
string format: date-time

Example

{
"kind": "UK",
"source": "MANUAL"
}

Invalid request

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

Missing or invalid API key

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

API key lacks required scope/role

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

Resource not found

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

Conflicting idempotency key or resource processing state

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}