Inyo

Banks

The Banks API provides two endpoints for querying bank information: a direct lookup by bank code and a paginated listing by country. Use these to populate bank selection dropdowns and validate bank codes before submitting payments.


Look Up a Bank

Retrieve details for a specific bank by its code and country.

Endpoint

GET https://{FQDN}/bank

Headers:

HeaderValue
AuthorizationBearer {accessToken}

Query Parameters

ParameterTypeRequiredDescription
bankNumberstringBank institution code (e.g., "341", "7339")
countryCodestringCountry code (e.g., "BR", "SG")

Example Request

curl -X GET 'https://{FQDN}/bank?bankNumber=341&countryCode=BR' \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIs...'

Response (200)

{
  "bankCode": "341",
  "bankName": "Itaú Unibanco",
  "countryCode": "BR",
  "swift": "ITAUBRSP"
}

List Banks by Country

Retrieve a paginated list of all banks available in a given country.

Endpoint

GET https://{FQDN}/bank/list

Headers:

HeaderValue
AuthorizationBearer {accessToken}

Query Parameters

ParameterTypeRequiredDescription
countryCodestringCountry code (e.g., "BR", "US", "SG")
pageintegerPage number (zero-based)
resultsPerPageintegerNumber of results per page

Example Request

curl -X GET 'https://{FQDN}/bank/list?countryCode=BR&page=0&resultsPerPage=5' \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIs...'

Response (200)

{
  "banks": [
    {
      "bankCode": "001",
      "bankName": "Banco do Brasil",
      "countryCode": "BR",
      "swift": "BRASBRRJ"
    },
    {
      "bankCode": "033",
      "bankName": "Banco Santander",
      "countryCode": "BR",
      "swift": "BSCHBRSP"
    },
    {
      "bankCode": "104",
      "bankName": "Caixa Econômica Federal",
      "countryCode": "BR",
      "swift": "CABORJBR"
    },
    {
      "bankCode": "237",
      "bankName": "Banco Bradesco",
      "countryCode": "BR",
      "swift": "BBDEBRSP"
    },
    {
      "bankCode": "341",
      "bankName": "Itaú Unibanco",
      "countryCode": "BR",
      "swift": "ITAUBRSP"
    }
  ],
  "page": 0,
  "resultsPerPage": 5,
  "totalResults": 42
}

What's Next

  • Schemas — Get country-specific field requirements for accounts, payouts, and persons
  • Push Transaction — Send payouts to bank accounts, cards, PIX, and wallets
  • Alias Directory — Resolve instant payment aliases before sending payouts