Delete Person

Request Parameters

gcIdStringMandatoryContact Id(You will get from Add Contact Response)
personIdStringMandatoryPerson Id

Sample Request

curl --location --request DELETE '' \
--header 'XContent-Type: application/json' \
--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 '{

    "personId" : "6453951835fca2f80f074002"
DELETE /contacts/person HTTP/1.1
XContent-Type: application/json
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: 88


    "personId" : "6453951835fca2f80f074002"

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 )
    "statuscode": "TXN",
    "actcode": null,
    "status": "Person Deleted successfully",
    "data": null,
    "timestamp": "2023-05-04 16:53:20",
    "ipay_uuid": "h00699160a3a-fe31-4aa7-a765-4464f9590db0",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null
Click Try It! to start a request and see the response here!