m2pfintech
API LibraryCredit Card

Retrieve Account by Account Identifier

Retrieve the UPI account details registered under a customer using their unique account identifier number (BIN + Product Code + Random).

POST
/credit-upi/user-entity/retrieveAccountByAccountNo

Header Parameters

TENANT*string

Tenant identifier for application identification. Provided by M2P during onboarding. Used in both UAT and production environments.

Request Body

application/json

accountIdentification1*string

Unique account identifier

Response Body

application/json

curl -X POST "https://sandbox-upi-api.m2pfintech.com/credit-upi/user-entity/retrieveAccountByAccountNo" \  -H "TENANT: PARTNER_XYZ" \  -H "Content-Type: application/json" \  -d '{    "accountIdentification1": "123454554906760717"  }'
{
  "result": {
    "cifId": "string",
    "accountName": "string",
    "accountNo": "string",
    "accountSchemeType": "string",
    "accountSchemeCode": "string",
    "emailId": "string",
    "cardNo": "string",
    "maskedCardNo": "string",
    "expiryDate": "string",
    "cardStatus": "string",
    "accountIFSC": "string"
  },
  "exception": {},
  "pagination": {}
}