API server that serves Razorpay's IFSC API.
Current API Root is https://ifsc.razorpay.com/
Route | Method | Response |
---|---|---|
/:ifsc | GET | JSON |
A sample response is:
{
"BANK": "KARNATAKA BANK LIMITED",
"IFSC": "KARB0000001",
"BRANCH": "RTGS-HO",
"CONTACT": 2228222,
"ADDRESS":
"REGD. & HEAD OFFICE, P.B.NO.599, MAHAVEER CIRCLE, KANKANADY, MANGALORE - 575002",
"CITY": "MANGALORE",
"DISTRICT": "DAKSHINA KANNADA",
"STATE": "KARNATAKA",
"RTGS": true
}
URL: https://ifsc.razorpay.com/KARB0000001
You can see a permalink version of the request here
For an invalid IFSC code a 404 is returned.
You can pull the image from razorpay/ifsc:latest
Run it with docker run --detach --publish 3000:3000 razorpay/ifsc:latest
This repo has the same tags as the parent IFSC repo.
bundle install
# Make sure redis is running and available at localhost:6379
# This initializes the redis server
bundle exec ruby init.rb
bundle exec rackup
Your server should now be accessible at http://localhost:9292