Payment Methods
Resolve bank code to institution name
Resolves a bank code (SWIFT code or US routing number) to the corresponding bank or institution name.
get/api/v1/payment-method/institution/codes
Request
- Base URLhttps://sandbox.api.afriex.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
searchTermstring required
The bank code to resolve. A US routing number (8-9 digits) when codeType is routing_number, otherwise a SWIFT code.
countrystring required
ISO country code of the institution. Always required. routing_number lookups are only supported for US; all other countries use swift_code.
codeType'swift_code' | 'routing_number' required
The type of bank code. routing_number is only valid when country is US; for every other country only swift_code is accepted.
Response
Bank code resolved successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.