ifsc v1.5.6 Razorpay.IFSC.Data View Source

Fetches data from the API or offline JSON files

Link to this section Summary

Functions

Fetch the JSON payload for an IFSC

Load, parse and memoize the data for banknames.json

Load, parse and memoize the data for IFSC.json

Load, parse and memoize the data for sublet.json

Link to this section Functions

Link to this function

api(ifsc)

View Source
api(ifsc :: String.t()) :: {:ok, data :: map()} | {:error, reason :: any()}

Fetch the JSON payload for an IFSC

Link to this function

bank()

View Source
bank() :: {:ok, data :: map()} | {:error, reason :: any()}

Load, parse and memoize the data for banknames.json

Link to this function

ifsc()

View Source
ifsc() :: {:ok, data :: map()} | {:error, reason :: any()}

Load, parse and memoize the data for IFSC.json

Link to this function

sublet()

View Source
sublet() :: {:ok, data :: map()} | {:error, reason :: any()}

Load, parse and memoize the data for sublet.json