Beneficiary Delete

Header Parameters

NameTypeDescriptionMandatory (M) , Optional (O)Provided by INSTANTPAY (Y/N)
X-Ipay-Auth-CodeStringAuth Code - 1 (Fixed)MY
X-Ipay-Client-IdStringUnique Client IDMY
X-Ipay-Client-SecretStringUnique secret keyMY
X-Ipay-Outlet-IdStringMerchant unique IDMY
X-Ipay-Endpoint-IpStringEnd Customer IP AddressMN

Request Parameters

NameTypeDescription
remitterMobileNumberStringRemitter Mobile Number
beneficiaryIdStringBeneficiary ID

Sample Request

curl --location 'https://api.instantpay.in/fi/remit/out/domestic/v2/beneficiaryDelete' \
--header 'X-Ipay-Endpoint-Ip: 14.142.186.142' \
--header 'X-Ipay-Client-Id: YWY3OTAzYxxxxxxxxxxxxxxxxxt+5IEcETrD5Yx+Q=' \
--header 'X-Ipay-Client-Secret: 82e4755d7c1cf636816xxxxxxxxxxxxxxxxxxxxxx3000aa5b56fc926d1' \
--header 'X-Ipay-Auth-Code: 1' \
--header 'X-Ipay-Outlet-Id: 72762' \
--header 'Content-Type: application/json' \
--data '{
    "remitterMobileNumber": "9876543210",
    "beneficiaryId": "bc607ec901164b636d747cda039e99cf"
}'
POST /fi/remit/out/domestic/v2/beneficiaryDelete HTTP/1.1
Host: api.instantpay.in
X-Ipay-Endpoint-Ip: 14.142.186.142
X-Ipay-Client-Id: YWY3OTAzYzNxxxxxxxxxxxxxt+5IEcETrD5Yx+Q=
X-Ipay-Client-Secret: 82e4755d7c1cf636816axxxxxxxxxxxxxxxxxx00aa5b56fc926d1
X-Ipay-Auth-Code: 1
X-Ipay-Outlet-Id: 72762
Content-Type: application/json
Content-Length: 101

{
    "remitterMobileNumber": "9876543210",
    "beneficiaryId": "bc607ec901164b636d747cda039e99cf"
}

Response Parameters

NameTypeDescription
statuscodeStringInstantPay Status Code
actcodeStringAction Code
statusStringStatus Message
dataArrayResponse Data (If Present)
timestampStringCurrent time (YYYY-MM-DD HH:II:SS)
ipay_uuidStringRequest reference number
orderidStringTransaction Id ( If transaction otherwise it is null )
environmentStringLive

Sample Response

{
    "statuscode": "OTP",
    "actcode": null,
    "status": "OTP Successfully sent",
    "data": {
        "beneficiaryId": "bc607ec901164b636d747cda039e99cf",
        "validity": "2024-11-05 15:24:50",
        "referenceKey": "IDwRJSrFsTtuvlqxKVO85GsBBiPD/kyqvi71VEZxPKmFVBwbxX7XkH33DwJW1rqv"
    },
    "timestamp": "2024-11-05 15:09:50",
    "ipay_uuid": "h0009d6a5179-133f-45a1-b29d-0435cfba2839-iqsBiKQIDQ7p",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null
}

📘

Important Point

When calling the Beneficiary Deletion API, if the status code is OTP, you must validate the OTP using the Beneficiary Deletion Verify endpoint. However, if the status code is TXN, no OTP validation is needed, as the beneficiary is deleted automatically.

Language
Click Try It! to start a request and see the response here!