Delete Contact

Streamline your contact management with Instantpay’s Delete Contact API. It's a must-have for businesses wanting to keep their contact lists current. Our API lets you easily remove unneeded contacts. It keeps your database focused on valuable connections.

The Delete Contact API is ideal for businesses with dynamic contact lists. It simplifies removing outdated or irrelevant contacts. This lets you focus on nurturing valuable relationships.

Integrating this API will optimise your contact management. It will retain only the most important connections that drive your business.

Request Parameters

NameTypeRequirementDescription
contactIdStringMandatoryId of the Contact

Sample Request

curl --location --request DELETE 'https://api.instantpay.in/contacts/profile' \
--header 'Content-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}}' \
--data '{
    "contactId":"6447f86b1a1767723d055989"


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

{
    "contactId":"6447f86b1a1767723d055989"


}

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": "Contact Deleted successfully",
    "data": null,
    "timestamp": "2023-05-10 14:30:36",
    "ipay_uuid": "h0059921e917-b16b-4f29-be48-8a43276da585",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null
}
Language
Click Try It! to start a request and see the response here!