Update Business

Instantpay's Update Business API helps businesses keep their info accurate and current. This API lets you update existing business details. It keeps your database current and relevant.

The Update Business API offers a simple way to manage changes to contact staff, addresses, and other key business details in real-time. This API is vital for organisations that value strong business ties. It provides the flexibility to adapt to changing information. This supports efficiency and improves relationship management.

Request Parameters

NameTypeRequirementDescription
gcIdStringMandatoryContact Id(You will get from Add Contact Response)
panStringOptionalPAN Number
cinStringOptionalCIN Number
gstinStringOptionalGST Number
tanStringOptionalTAN Number
udyamStringOptionalUdhyam Number

Sample Request

curl --location --request PATCH 'https://api.instantpay.in/contacts/business' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
--header 'Content-Type: application/json' \
--data '{
    
    "gcId" : "645b283b9b2e242ec80dd5c2",
    "pan" : "AAOCS6028B",
    "gstin" : "",
    "cin" : "",
    "tan" : "",
    "udhyam" : ""

}'
PATCH /contacts/business HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: {{authCode}}
X-Ipay-Client-Id: {{clientId}}
X-Ipay-Client-Secret: {{clientSecret}}
X-Ipay-Endpoint-Ip: {{endPointIP}}
Content-Type: application/json
Content-Length: 144

{
    
    "gcId" : "645b283b9b2e242ec80dd5c2",
    "pan" : "AAOCS6028B",
    "gstin" : "",
    "cin" : "",
    "tan" : "",
    "udhyam" : ""

}

Response Parameter

Parameter NameTypeDescription
statuscodeStringInstantpay status code
actcodeStringAction code
statusStringStatus message
dataArrayResponse data(if Present)
timestampStringResponse time (YYYY-MM-DD HH:II:SS)
ipay_uuidStringRequest reference number
orderidStringTransaction Id ( If transaction otherwise it is null )
environmentStringLive/Sandbox
internalCodeStringit will be null
{
    "statuscode": "TXN",
    "actcode": null,
    "status": "Business Updated Successfully",
    "data": {
        "gcId": "645383ba4acec95a32089822",
        "pan": "AAOCS6028B",
        "panVerified": true,
        "cin": "L1710MH1973PLC019786",
        "cinVerified": false,
        "gstin": "29AAOCS6028B9Z9",
        "gstinVerified": false,
        "tan": "",
        "tanVerified": false,
        "udyam": "",
        "udyamVerified": true
    },
    "timestamp": "2023-05-04 16:37:43",
    "ipay_uuid": "h006991604a6-2757-4040-97fb-550a17b7e48e",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null
}
Language
Click Try It! to start a request and see the response here!