Add Business

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 '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" : "AT****79B",
    "gstin" : "",
    "cin" : "",
    "tan" : "",
    "udhyam" : ""

}'
POST /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" : "ATP*****9B",
    "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 DetailsAdded Successfully",
    "data": {
        "gcId": "645b283b9b2e242ec80dd5c2",
        "pan": "ATPPA8879B",
        "panVerified": false,
        "updated_at": "2023-05-10T07:17:40.015000Z",
        "created_at": "2023-05-10T07:17:40.015000Z",
        "_id": "645b4514f5f25662ef00f892"
    },
    "timestamp": "2023-05-10 12:47:40",
    "ipay_uuid": "h0069921c446-b52c-4d77-895d-7e244b22fed8",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null
}
Language
Click Try It! to start a request and see the response here!