Delete Note

Use Instantpay's Delete Note API to maintain a focused, organised dataset. It's a must-have tool for businesses that want to optimise data management. This API lets you remove outdated notes. It keeps your info focused on the most relevant details.

The Delete Note API is ideal for organisations with dynamic datasets. It simplifies deleting unnecessary notes. This supports a more effective data strategy. This solution will help businesses manage their data. It will retain only the valuable information that supports better decision-making.

Request Parameters

NameTypeRequirementDescription
gcIdStringMandatoryContact Id(You will get from Add Contact Response)
noteIdStringMandatoryNote Unique Id

Sample Request

curl --location --request DELETE 'https://api.instantpay.in/contacts/note' \
--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 '{
    "gcId":"645383ba4acec95a32089822",
    "noteId" : "6453992d54c74877510e5372"
}'
DELETE /contacts/note HTTP/1.1
Host: api.instantpay.in
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: 84

{
    "gcId":"645383ba4acec95a32089822",
    "noteId" : "6453992d54c74877510e5372"
}

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": "Note Deleted successfully",
    "data": null,
    "timestamp": "2023-05-04 17:18:12",
    "ipay_uuid": "h0689916131c-7155-4e09-ad4c-51f73390208a",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null
}
 
Language
Click Try It! to start a request and see the response here!