Delete Contact

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-Client-Id: YWY3OTAzYzNlM2ExZTJlOQ8l80uxEOrgU6T3Oc4znVc=' \
--header 'X-Ipay-Client-Secret: 55bb356f8d28953c47b40286db23b3aba8e3902e6a0d923f90730e9f6e4b3fcb' \
--header 'X-Ipay-Endpoint-Ip:  14.142.186.142' \
--header 'X-Ipay-Auth-Code: 1' \
--data '{
    "contactId":"6447f86b1a1767723d055989"


}
'
DELETE /contacts/profile HTTP/1.1
Host: api.instantpay.in
Content-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-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!