v1
latestOpenAPI 3.0.02026-07-2431146358.7 KBPayment Links
Delete Link
This API can be used to delete a previously created payment link
post/delete
Headers
BD-Traceidstring required
Example:20201203182838
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.
BD-Timestampstring required
Example:20201203182838
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.
Content-Typestring required
Example:application/json
Request Content-Type to take the values application/jose
Acceptstring required
Example:application/jose
Accept Response Content-Type to take the values application/jose
Request body
Example request
{
"data": {
"mercid": "BDMERCID",
"linkid": "LP20240701lepFL",
"merc_link_ref_no": "testlink01"
}
}Response
OK
Example response
{
"data": {
"linkid": "LP20240701lepFL",
"amount": "299.28",
"payment_method_allowed": "card,upi",
"flow_type": "payment",
"customer": {
"first_name": "John",
"last_name": "Doe",
"mobile": "9022979988",
"email": "abc@xyz.com"
},
"udf": [
{
"sequence": 1,
"field_label": "Quote number",
"field_value": "162728383"
}
],
"additional_info": {
"additional_info1": "Details1",
"additional_info2": "Details2",
"additional_info3": "Details3",
"additional_info4": "Details4",
"additional_info5": "Details5",
"additional_info6": "Details6",
"additional_info7": "Details7"
},
"forwarding_url": "https://www.merchant.com",
"link_expiry_date": "2024-08-14T17:57:31.262889064",
"link_desc": "Apparel - Format shirt, Trousers - 4 nos.",
"link_title": "Instagram Purchase",
"minimum_partial_amount": "299.28"
}
}