Delete Beneficiary

When a beneficiary is no longer needed, deleting them from your list helps keep your account organized. Removing outdated or inactive beneficiaries ensures your list remains relevant, reducing the chances of errors in future transactions. This function gives you full control over who you can transfer funds to.

Header Parameters

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

Request Parameter

Parameter NameTypeRequirementDescription
payerArrayMandatoryPayer details
payer.bankProfileIdStringMandatoryUnique Bank Profile Id
payer.accountNumberStringMandatoryAccount number of the Connected Bank
payeeArrayMandatoryPayee details
payee.beneficiaryIdStringMandatoryAccount Holder Name
payee.payeeListIdStringMandatoryIFS Code
payee.accountNumberStringMandatoryAccount Number of End User
beneficiaryTypeStringMandatorybeneficiary Type
otpReferenceStringMandatoryotpReference
otpStringMandatoryotp

Sample Request

curl --location --globoff '{{host}}/payments/payout/deleteBeneficiary' \
--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 '{
    "payer": {
        "bankProfileId": "19993295906",
        "accountNumber": "923020006320724"
    },
    "payee": {
        "beneficiaryId": "",
        "payeeListId": 317512375,
        "accountNumber": "0987654321"
    },
    "beneficiaryType": "OTHERS",
    "otpReference": "",
    "otp": ""
}'
POST /payments/payout/deleteBeneficiary HTTP/1.1
Host: {{host}}
-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: 315

{
    "payer": {
        "bankProfileId": "19993295906",
        "accountNumber": "923020006320724"
    },
    "payee": {
        "beneficiaryId": "",
        "payeeListId": 317512375,
        "accountNumber": "0987654321"
    },
    "beneficiaryType": "OTHERS",
    "otpReference": "",
    "otp": ""
}

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

📘

Note :

When received OTP for Deleting Beneficiary call this API for OTP Verification

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