Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
External accounts List institutions

List institutions

Lists the banks and mobile money operators an external account can name in `institution_id`. SWIFT banks appear only when you send `institution_type=swift`, `swift_code` or `search`. Filters match exactly, so send codes in upper case.

GEThttps://api.gravv.xyz/v1/external-accounts/institutionsTry it
Api-Key

Query parameters

NameDescription
page:integer
Default1
items_per_page:integer
Default10
country_iso_code:string
Alpha-2 country code
institution_type:string

Defaults to every type except swift_intermediary

Possible values: bank, mobile_money, swift, swift_intermediary

account_number_type:string
Possible values: bank_account_number, iban, phone_number, clabe
currency:string
swift_code:string
Find a SWIFT bank by its 8- or 11-character BIC
search:string
Find SWIFT banks by name or BIC, at least 3 characters

Response

Returns 200 OK. A page of institutions

NameDescription
data:object
Show 5 child attributesobject
error:null

Errors

StatusMeaning
200A page of institutions
400Invalid request, an unknown ID or a failure. Read error. A not-found error is a 400 here, not a 404.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/external-accounts/institutions?page=1&items_per_page=10&country_iso_code=KE&currency=KES&swift_code=MIDLGB22' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400OK
{
"data": {
"page": 1,
"items_per_page": 10,
"total_pages": 1,
"items": [
{
"id": "9c1d2e3f-4a5b-4c6d-8e7f-0a1b2c3d4e5f",
"name": "Example Mobile Money",
"country_iso_code": "KE",
"currency": "KES",
"min_amount": 1,
"max_amount": 10000,
"account_number_type": "phone_number"
}
],
"total_items": 1
},
"error": null
}