Skip to content

Validate Bank

Request

Look up an Indian bank branch by its IFSC code. Returns the bank and branch details and whether the branch accepts NEFT, IMPS and RTGS. This is a directory lookup: it does not check a beneficiary account or send any funds (use POST /v2/validate_account to check an account). India only; any other country returns 400. Lookups are rate-limited per account.

Security
bearerAuth
Bodyapplication/jsonrequired
countrystring(ApiCountry)required

Destination country. Only IND is supported.

Enum:"BGD""IND""PAK""PHL""NPL""EGY""VNM""NGA"
bank_branch_codestring(Bank Branch Code)required

IFSC code of the branch, e.g. HDFC0002019.

curl -i -X POST \
  https://docs.swiftxpay.com/_mock/openapi/v2/validate_bank \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "country": "BGD",
    "bank_branch_code": "string"
  }'

Responses

Successful Response

Bodyapplication/json
Any of:
validboolean(Valid)required

Whether the IFSC code exists.

bankstring(Bank)required

Bank name.

codestring(Code)required

Bank code.

ifscstring(Ifsc)required

The IFSC code.

micrstring(Micr)required

MICR code of the branch.

branchstring(Branch)required

Branch name.

citystring(City)required

Branch city.

districtstring(District)required

Branch district.

statestring(State)required

Branch state.

addressstring(Address)required

Branch address.

neftboolean(Neft)required

Whether the branch accepts NEFT.

impsboolean(Imps)required

Whether the branch accepts IMPS.

rtgsboolean(Rtgs)required

Whether the branch accepts RTGS.

Response
{ "valid": true, "bank": "string", "code": "string", "ifsc": "string", "micr": "string", "branch": "string", "city": "string", "district": "string", "state": "string", "address": "string", "neft": true, "imps": true, "rtgs": true }