Name | Type | Requirement | Description |
---|
contactId | String | Mandatory | Id of the Contact |
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"
}
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
}