An operation that allows user to users to find all direct pay
Last updated 1 month ago
Payment link found
const response = await fetch('http://localhost:3002/api/v1/direct-pay', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "success": false, "message": "Payment link found", "statusCode": 200, "code": "PAYMENT_LINK_FOUND", "data": [ { "createdAt": "2024-09-28T16:34:28.827Z", "isLiveResource": false, "associateId": "1602d9", "status": "pending", "tempCustomer": null, "amount": 1000, "note": "string" } ] }