v1
latestOpenAPI 3.0.02026-07-2431146358.7 KBDelete Mandate
This API allows the merchant to delete the mandate using the mandateid.
Through this action, the mandate set to a ‘deleted’ status at the issuer. Some card networks (RuPay, Amex) require the customer to complete an additional AFA using the payment method linked with the mandate to approve the deletion process.
Headers
BD-TraceID is a unique identifier passed by the merchant to ensure request idempotency. Requests with identical BD-TraceID within a 24 hour window would fail.
Request timestamp to identify date and time of origin of request. Example, a value of BD-Timestamp 20210113180403 identifies the request to have originated on 13th January 2021 at 06:04:03 PM.
Request Content-Type to take the values application/jose
Accept Response Content-Type to take the values application/jose
Request body
Example request
{
"mercid": "BDMERCID",
"mandateid": "MA19E400049927"
}Response
OK
Example response
{
"transactionid": "U4560001099939",
"mandateid": "MA19E400049927",
"mercid": "BDMERCID",
"customer_refid": "CSREF00001",
"subscription_refid": "SUBREF101",
"subscription_desc": "Unlimited Plan",
"start_date": "2021-05-08",
"end_date": "2059-12-31",
"amount": "299.28",
"ru": "https://www.merchant.com",
"customer": {
"first_name": "John",
"last_name": "Doe",
"mobile": "9022979988",
"email": "abc@xyz.com"
},
"debit_day": "1",
"additional_info": {
"additional_info1": "Details1",
"additional_info2": "Details2",
"additional_info3": "Details3",
"additional_info4": "Details4",
"additional_info5": "Details5",
"additional_info6": "Details6",
"additional_info7": "Details7"
},
"card": {
"type": "debit, credit, prepaid",
"masked_value": "xxxxxxxxxxxx1001",
"network": "VISA, MASTER"
}
}