Validate a SWIFT/BIC code
GET/v1/payments/validate/swift/:swiftCode
Validates a SWIFT/BIC code and returns bank information if valid.
- Validates format (must be 8 or 11 alphanumeric characters)
- Looks up bank information from SWIFT database
- Returns bank name, address, city, country, and country code
Request
Path Parameters
swiftCode stringrequired
The 8 or 11 character SWIFT/BIC code to validate
Responses
- 200
- 404
SWIFT code is valid. Returns bank information.
- application/json
- Schema
- Example (from schema)
Schema
swiftCode stringrequired
The SWIFT/BIC code that was validated
bankName stringrequired
Name of the bank
address stringrequired
Bank address
city stringrequired
City where the bank is located
region string
Region/state where the bank is located
country stringrequired
Country where the bank is located
countryCode stringrequired
ISO 3166-1 alpha-2 country code
zipCode string
ZIP/postal code of the bank
phoneNumber string
Phone number of the bank
{
"swiftCode": "CHASUS33XXX",
"bankName": "JPMorgan Chase Bank",
"address": "270 Park Avenue",
"city": "New York",
"region": "New York",
"country": "United States",
"countryCode": "US",
"zipCode": "10017",
"phoneNumber": "212-270-6000"
}
SWIFT code not found or invalid format.
Loading...