v1

latestOpenAPI 3.0.32026-07-14108241269.2 KB
Know Your Business

HSN to MCC

Fetches MCC (Merchant Category Code) details mapped to an HSN code. Requires valid user consent.

post/verify/hsn_to_mcc

Request body

hsn_codestring required

HSN code for which MCC mapping is required

consentstring required

User consent flag (must be 'Y')

consent_textstring required
user_idstring

Optional user reference identifier

Example request

{
  "hsn_code": "12345678",
  "consent": "Y",
  "consent_text": "We confirm obtaining valid customer consent to access/process their HSN data. Consent remains valid, informed, and unwithdrawn.",
  "user_id": "user_12345"
}

Response

Successful response

statusstring
chargeblestring
user_consentstring

Example response

{
  "status": "success",
  "result": {
    "hsn_code": "12345678",
    "hsn_description": "STRUCTURES (EXCLUDING PREFABRICATED BUILDINGS...)",
    "mcc_code": "1234"
  }
}