m2pfintech
API LibraryUtility

List Banks

Retrieves the list of all banks configured in the M2P UPI platform. This returns banks that are set up for the specific tenant, not the full NPCI bank list. Use listAccPvd for the NPCI live bank list.

POST
/upi/v1/wrapper/util/listBanks

Request Body

application/json

seqNo*string

Sequence number for request tracking (1-999999). Echoed in response.

Response Body

application/json

curl -X POST "https://sandbox-upi-api.m2pfintech.com/upi/v1/wrapper/util/listBanks" \  -H "Content-Type: application/json" \  -d '{    "seqNo": "1"  }'

{
  "status": "SUCCESS",
  "exception": null,
  "seqNo": "1",
  "callbackRef": null,
  "message": null,
  "pagination": null,
  "result": [
    {
      "bankCode": "HDFC",
      "bankName": "HDFC Bank",
      "ifsc": "HDFC0000001"
    },
    {
      "bankCode": "ICIC",
      "bankName": "ICICI Bank",
      "ifsc": "ICIC0000001"
    },
    {
      "bankCode": "SBIN",
      "bankName": "State Bank of India",
      "ifsc": "SBIN0000001"
    }
  ]
}