Update Merchant API

Update Merchant API Documentation

API Overview

Method: PUT
Endpoint: /api/v1/merchants/{product_account_uuid}/update
Content-Type: multipart/form-data
Purpose: Update comprehensive merchant information including business details, addresses, website information, and bank details


Path Parameters

ParameterData TypeRequiredDescriptionExample
product_account_uuidString✅ YesUnique identifier for the merchant's product account{{product_account_uuid}}

Headers

HeaderData TypeRequiredDescriptionExample
AuthorizationString✅ YesBearer token for authenticationBearer 205830ed8ab358e2310bfcde8c3ee0860b74820b794d9b1d2d45819bd5adbff6

Merchant API Parameter Description Table

ParameterField NameData TypeExample ValueDescription
Basic Information
merchant[pancard_number]PAN Card NumberStringXXXXXXXX1DMerchant's PAN card number for tax identification
merchant[pancard_name]PAN Card NameStringPAYU PAYMENTS PRIVATE LIMITEDName as registered on the PAN card
merchant[business_entity]Business Entity TypeStringPublic LimitedType of business entity (e.g., Private Limited, Public Limited, Partnership)
merchant[business_category]Business CategoryStringFood & GroceriesPrimary business category
merchant[business_sub_category]Business Sub-categoryStringMeat StoresSpecific sub-category within the main business category
merchant[monthly_expected_volume]Monthly Expected VolumeNumber78658Expected monthly transaction volume or revenue
merchant[gst_number]GST NumberStringXXXXXXXXXXXXXZYGoods and Services Tax registration number
merchant[integration_type]Integration TypeStringThirdPartyType of integration ("ThirdParty"/"Tools"
merchant[cin_number]CIN NumberStringXXXXXXXXXXXXXXXXX3037Corporate Identification Number for companies
merchant[vkyc_exempt_status]vKYC Exempt StatusString/Number"Opted for Skip"Video KYC exemption status (see enum values below)
Registration Address
merchant[registration_address][address_line]Registration Address LineStringM1703, banashankariStreet address of registered office
merchant[registration_address][state]Registration StateStringKarnatakaState where business is registered
merchant[registration_address][city]Registration CityStringBangaloreCity where business is registered
merchant[registration_address][pincode]Registration PincodeString560001Postal code of registration address. The allowed character limit is 6
Operating Address
merchant[operating_address][address_line]Operating Address LineStringM1703, BanashankariStreet address of operating location
merchant[operating_address][state]Operating StateStringKarnatakaState where business operates
merchant[operating_address][city]Operating CityStringBangaloreCity where business operates
merchant[operating_address][pincode]Operating PincodeString560001Postal code of operating address. The allowed character limit is 6
Website Details
merchant[website_details][website_url]Website URLStringwww.borosil.comMain website URL
merchant[website_details][android_url]Android App URLStringwww.borosil.comAndroid application URL or download link
merchant[website_details][ios_url]iOS App URLStringwww.borosil.comiOS application URL or download link
Bank Details
merchant[bank_detail][bank_account_number]Bank Account NumberStringXXXXXXX4847Bank account number for settlements
merchant[bank_detail][holder_name]Account Holder NameStringPAYU PAYMENTS PRIVATE LIMITEDName of the bank account holder
merchant[bank_detail][ifsc_code]IFSC CodeStringSBIN0000093Indian Financial System Code for bank identification

vKYC Exempt Status Enum Values

Enum ValueDescription
not_applicablevKYC exemption is not applicable
Non face to faceNon face-to-face verification method
Physical Verification CompletedPhysical verification has been completed
BH Approval3 Business Head approval obtained
Whitelabeled4 Whitelabeled merchant status
Opted for SkipCurrent Value - Merchant has opted to skip vKYC

Validation Rules

  • If GST number is passed, ensure that address in the GST details match with the operating address provided in the API.

  • Bank details, once added, can not be updated via API. Reach out to PayU merchant care to update the bank details.


Format Validations

FieldRuleDescription
pancard_numberPAN FormatMust follow Indian PAN card format (10 alphanumeric characters)
gst_numberGST FormatMust follow Indian GST number format (15 characters)
cin_numberCIN FormatMust follow Corporate Identity Number format (21 characters)
pincodeLength: 6 digitsMust be exactly 6 numeric characters
ifsc_codeIFSC FormatMust follow Indian IFSC code format (11 characters)
website_urlURL FormatMust be a valid URL format

Business Rules

RuleDescription
PAN-Name MatchPAN card name should match the business entity name
Address ConsistencyRegistration and operating addresses can be different
Bank AccountBank account holder name should match PAN card name
Integration TypeMust be one of: Tools, ThirdParty

Expected Responses

  • Success: 200 OK with updated merchant details

  • Validation Error: 422 Unprocessable Entity with specific field errors

  • Unauthorized: 401 Unauthorized (if bearer token is invalid)

  • Not Found: 404 Not Found (if product_account_uuid doesn't exist)

  • Bad Request: 400 Bad Request (if required parameters are missing)

Language
URL
Click Try It! to start a request and see the response here!
Ask AI Beta

Hi! I am an AI Assistant. Ask me about PayU and get help with your integration.
Responses are generated by AI, may contain some mistakes.

EXAMPLE QUESTIONS