diff --git a/docs/guides/sender.md b/docs/guides/sender.md index 67c76e7..f6181d3 100644 --- a/docs/guides/sender.md +++ b/docs/guides/sender.md @@ -87,7 +87,7 @@ const accountName = "https://api.paycrest.io/v1/verify-account"; const createOrder = "https://api.paycrest.io/v1/sender/orders"; try { - const response = await fetch(accountName, { + const response = await fetch(createOrder, { method: "POST", headers: { "Content-Type": "application/json", "API-Key": "208a4aef-1320-4222-82b4-e3bca8781b4b" }, body: JSON.stringify(orderParams) @@ -215,4 +215,9 @@ Once you deploy your server and get the endpoint, you can listen to payment orde If pending, your frontend would have to continue pollling till it gets back a conclusive response - either `expired`, `settled`, or `refunded`. -**P.S**: This backend structure can be done in any custom way depending on your app as long as the webhook validates and stores the correct payload sent to it. \ No newline at end of file +**P.S**: This backend structure can be done in any custom way depending on your app as long as the webhook validates and stores the correct payload sent to it. + +## Tutorial +- [Building a Payment App with Next.js and Sender API for Off-Ramping USDT to Nigerian Naira +](https://www.dropbox.com/scl/fi/623tezxwdkklvyps4tj77/Tutorial_-Building-a-Payment-App-with-Next.js-and-Sender-API-for-Off-Ramping-USDT-to-Nigerian-Naira.paper?dl=0&rlkey=aqjefcjn4s1f45qltuqvbbd1v&st=mu56n7js) +- [Video walkthrough of the Demo App](https://www.dropbox.com/scl/fi/fn1n1qfuyvxqgj7ohimzx/Screencast-from-2025-03-28-18-16-39-1.mp4?rlkey=jw180krj8mbme6wehl6nhvgxs&e=1&dl=0)