Learn how to accept crypto-payments with our services.

The payment process is as follows :

  1. Your client initiate a payment on your frontend with the help of drengr-connect
  2. Your backend initiate the payment on our API so that we can monitor it on the blockchain
  3. 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.
  4. 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 :

1428

Let's break down what happens :

  1. Your client initiate a payment on your frontend with the help of drengr-connect
  2. You retrieve the uncompleted payment information and add the necessary information. You then call our payment API to initiate the payment.
  3. You store the paymentId we sent you to track this particular payment.
  4. 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.
  5. You resume your payment process
  6. Your frontend checks if your payment has been confirmed
  7. You can start the payment confirmed process