Learn how to accept crypto-payments with our services.
The payment process is as follows :
- Your client initiate a payment on your frontend with the help of drengr-connect
- Your backend initiate the payment on our API so that we can monitor it on the blockchain
- Once the payment is settled a webhook is invoked to your url. You can also poll the /{paymentId} endpoint which will give you the same infos.
- When the payment is settled you can resume your payment process
If your app requires a different workflow for the payments feel free to contact us : contact@drengr.io
Here is a visual representation of the workflow :

Let's break down what happens :
- Your client initiate a payment on your frontend with the help of drengr-connect
- You retrieve the uncompleted payment information and add the necessary information. You then call our payment API to initiate the payment.
- You store the paymentId we sent you to track this particular payment.
- Once the payment has been settled we send a POST request containing to your callbackUrl. The body of the POST is the same as you would get on the /{paymentId} endpoint.
- You resume your payment process
- Your frontend checks if your payment has been confirmed
- You can start the payment confirmed process