Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
External accounts Verify an external account

Verify an external account

Checks account details before you add the external account, and returns the holder's name when the bank can look it up. Send `account_number` with `institution_id`. Only that pair reaches the bank.

POSThttps://api.gravv.xyz/v1/external-accounts/verifyTry it
Api-Key

Checks account details before you add the external account, and returns the holder's name when the bank can look it up. Send account_number with institution_id. Only that pair reaches the bank.

verified: true with verification_source: local means only the format was checked. Trust the name only when verification_source is provider. An IBAN, phone or CLABE alone is checked locally. This route needs no Idempotency-Key.

Body parameters

NameDescription
account_number:string
The only identifier that the bank looks up
institution_id:string
The bank to ask. Without it the lookup is not scoped to a bank.
iban:string
Checked with mod 97 only
bic:string
phone:string
Accepted, but not verified
clabe:string
Accepted, but not verified

Response

Returns 200 OK. The result. verified is false when a local check failed.

NameDescription
data:object
Show 7 child attributesobject
error:null

Errors

StatusMeaning
200The result. verified is false when a local check failed.
400No identifier, or an invalid institution ID
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request POST \
--url 'https://api.gravv.xyz/v1/external-accounts/verify' \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"account_number": "0123456789",
"institution_id": "9c1d2e3f-4a5b-4c6d-8e7f-0a1b2c3d4e5f"
}'
Responseapplication/json
200400OK
{
"data": {
"verified": true,
"account_holder_name": "ADA OKAFOR",
"verification_source": "provider"
},
"error": null
}