Name | Type | Requirement | Description |
---|
gcId | String | Mandatory | Contact Id(You will get from Add Contact Response) |
pan | String | Optional | PAN Number |
cin | String | Optional | CIN Number |
gstin | String | Optional | GST Number |
tan | String | Optional | TAN Number |
udyam | String | Optional | Udhyam Number |
curl --location --request PATCH 'https://api.instantpay.in/contacts/business' \
--header 'X-Ipay-Auth-Code: 1' \
--header 'X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+5IEcETrD5Yx+Q=' \
--header 'X-Ipay-Client-Secret: 679db35f926b8d0240a8c0d28729528ee8e6d5effa5fa0b20c04454004d2d825' \
--header 'X-Ipay-Endpoint-Ip: 125.0.0.1' \
--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: 1
X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+5IEcETrD5Yx+Q=
X-Ipay-Client-Secret: 679db35f926b8d0240a8c0d28729528ee8e6d5effa5fa0b20c04454004d2d825
X-Ipay-Endpoint-Ip: 125.0.0.1
Content-Type: application/json
Content-Length: 144
{
"gcId" : "645b283b9b2e242ec80dd5c2",
"pan" : "AAOCS6028B",
"gstin" : "",
"cin" : "",
"tan" : "",
"udhyam" : ""
}
Parameter Name | Type | Description |
---|
statuscode | String | Instantpay status code |
actcode | String | Action code |
status | String | Status message |
data | Array | Response data(if Present) |
timestamp | String | Response time (YYYY-MM-DD HH:II:SS) |
ipay_uuid | String | Request reference number |
orderid | String | Transaction Id ( If transaction otherwise it is null ) |
environment | String | Live/Sandbox |
internalCode | String | it 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
}