Samples in various languages to connect to banks that provide public API's
- You should be a customer, and should have signed up for API Banking.
- You should have received a user-id & password
- You should have registered on the API portal, and obtained a client key & secret
- You should have whitelisted the ip-address from where you'll initiate the requests
- You should have shared your public key for registration with the bank's security team
- You should have subscribed to this service in the API Portal
- The public key for Yes Bank (production) is present in the repository, in ybl/ybl.env
- The sample code executes getStatus, so it is safe to use against a production environment (no funds will debit from your account)
- The code uses liquid to put dynamic data in the request template
- The code uses faraday to the http call
To execute
gem install liquid
gem install faraday
irb get_status.rb