An operation that allows user to users to delete a single payment link
Last updated 22 days ago
Payment link removed successfully
const response = await fetch('http://localhost:3002/api/v1/direct-pay/{id}', { method: 'DELETE', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "success": false, "message": "Payment link removed successfully", "statusCode": 200, "code": "PAYMENT_LINK_REMOVED", "data": null }