Name | Type | Requirement | Description |
---|
gcId | String | Mandatory | Contact Id(You will get from Add Contact Response) |
contactPersonName | String | Mandatory | Name of the Contact Person |
email | String | Mandatory | Email ID |
mobile | String | Mandatory | Mobile Number |
description | String | Mandatory | Remarks |
curl --location 'https://api.instantpay.in/contacts/person' \
--header 'XContent-Type: application/json' \
--header 'X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOQ8l80uxEOrgU6T3Oc4znVc=' \
--header 'X-Ipay-Client-Secret: 55bb356f8d28953c47b40286db23b3aba8e3902e6a0d923f90730e9f6e4b3fcb' \
--header 'X-Ipay-Endpoint-Ip: 14.142.186.142' \
--header 'X-Ipay-Auth-Code: 1' \
--header 'Content-Type: application/json' \
--data-raw '{
"gcId" : "645383ba4acec95a32089822",
"contactPersonName" : "Karthik",
"email" : "testkartk123@gmail",
"mobile" : "9219113815",
"description" : "test desc for karthik"
}'
POST /contacts/person HTTP/1.1
Host: api.instantpay.in
XContent-Type: application/json
X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOQ8l80uxEOrgU6T3Oc4znVc=
X-Ipay-Client-Secret: 55bb356f8d28953c47b40286db23b3aba8e3902e6a0d923f90730e9f6e4b3fcb
X-Ipay-Endpoint-Ip: 14.142.186.142
X-Ipay-Auth-Code: 1
Content-Type: application/json
Content-Length: 196
{
"gcId" : "645383ba4acec95a32089822",
"contactPersonName" : "Karthik",
"email" : "testkartk123@gmail",
"mobile" : "9219113815",
"description" : "test desc for karthik"
}
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": "Contact Person Added Successfully",
"data": {
"gcId": "645383ba4acec95a32089822",
"contactPersonName": "Karthik",
"email": "testkartk123@gmail",
"mobile": "9219113815",
"description": "test desc for karthik",
"callingCode": "+91",
"updated_at": "2023-05-04T11:20:56.115000Z",
"created_at": "2023-05-04T11:20:56.115000Z",
"_id": "6453951835fca2f80f074002"
},
"timestamp": "2023-05-04 16:50:56",
"ipay_uuid": "h0059916095e-b71e-4253-a449-2cda8d2429cb",
"orderid": null,
"environment": "LIVE",
"internalCode": null
}