πŸ”΅Payment Flow

The CoinbarPay payment flow is designed to deliver a seamless and secure experience for both you as a merchant and your customers. This topic outlines the various steps involved in processing a cryptocurrency payment using CoinbarPay, starting from the initial request token creation until the user is redirected back to your web application.

1. Request Token Creation

The payment process begins by creating a request token through the CoinbarPay API. This token will be used to identify the transaction and securely pass essential information between your web application and the CoinbarPay Web Gateway.

To create the request token, make an API call with the necessary transaction details, such as the amount, currency, customer information, and any additional data required for processing the payment.

The API will respond with a unique token that represents the payment request and can be used to initiate the transaction.

Use the link to go :

⏺️Request New Payment (web page)

2. Opening CoinbarPay Web Gateway

Once you have received the payment request token from the API, you can redirect your customer to the CoinbarPay Web Gateway. To do this, you will need to construct a URL with the following format:

Use the link to go :

⏺️Payment Gateway

3. User Completes Payment

On the CoinbarPay Web Gateway, the user can choose their desired payment method type and select the cryptocurrency they wish to use for the transaction. Once they have provided the necessary payment information and initiated the transaction, CoinbarPay will handle the payment processing in the background.

4. Redirect to Merchant's Web Application

After the user has completed their payment, CoinbarPay will automatically redirect the user back to your web application, specifically to the callback URL configured in the CoinbarPay Dashboard. This ensures a smooth return flow for the user, and you can use this opportunity to show a confirmation message or initiate post-payment processing.

Warning

Info

By following this payment flow, you can provide your customers with a secure, seamless, and hassle-free cryptocurrency payment experience, while maintaining full control and customization of your payment gateway integration.

Last updated