Skip to main content

Endpoint

POS/v1/partner/checkMerchantKycStatus This endpoint is used to:
  • Merchant KYC status
  • Merchant KYC Reason

Headers

NameValue
Content-Typeapplication/x-www-form-urlencoded
AuthorizationBasic base64(public_key:secret_key)

Request Body Parameters

NameTypeRequiredDescriptionExample
pidstringYesPartner ID given by UPITranzactABC
midintegerYesMerchant IDMABC1234

Code Example

await axios.post(
  "https://api.upitranzact.com/v1/partner/checkMerchantKycStatus",
  {
    pid: "Your Partner ID", // Example: ABC
    mid: "Merchant ID",
  },
  {
    headers: {
      Authorization: "Basic eW91cl9wdWJsaWNfa2V5OnlvdXJfc2VjcmV0X2tleQ==",
    },
  }
);

Response Body

{
    "success": true,
    "message": "Merchant KYC fetch successfully",
	"kycStatus": "PENDING", // REJECTED, APPROVED
    "data": {
        "merchantId": "ABC123", // Merhcant ID
        "reason": "KYC is under process",
    }
}