delete https://api.instantpay.in/contacts/profile
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
Name | Type | Requirement | Description |
---|---|---|---|
contactId | String | Mandatory | Id 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 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 Deleted successfully",
"data": null,
"timestamp": "2023-05-10 14:30:36",
"ipay_uuid": "h0059921e917-b16b-4f29-be48-8a43276da585",
"orderid": null,
"environment": "LIVE",
"internalCode": null
}