Delete Address

Request Parameters

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

Sample Request

curl --location --request DELETE 'https://api.instantpay.in/contacts/address' \
--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 '{
    "gcId":"645383ba4acec95a32089822",
    "addressId": "6453883b1b3f10b8f1093092"
}'
DELETE /contacts/address 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: 89

{
    "gcId":"645383ba4acec95a32089822",
       "addressId": "6453883b1b3f10b8f1093092"
}

Response 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
{
    "statuscode": "TXN",
  "actcode": null,
    "status": "Address Deleted successfully",
    "data": null,
    "timestamp": "2023-05-04 16:31:13",
    "ipay_uuid": "h00699160252-2be9-4df2-b032-647b27d2fa2c",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null
Language
Click Try It! to start a request and see the response here!