Use Cases
E-commerce Flow
In an e-commerce scenario, merchants can leverage OxaPay's cryptocurrency payment gateway to offer customers the option to make purchases using various cryptocurrencies. The flow for this use case is as follows:
1. The payer selects item/items for purchase, determining the total sum.
2. The payer selects the preferred payment currency.
3. The merchant generates a payment link using the OxaPay API's "Create an Invoice" endpoint. This endpoint allows the merchant to create a payment link with all the necessary payment details, such as the payment amount, currency, and other optional parameters like expiration time, feePaidByPayer, and underPaidCover.
4. The API generates a unique payment link for the payer, containing the payment details.
5. The payer receives the payment link and can click on it to proceed with the payment. Alternatively, the merchant can display the payment link on their website or send it via email or any other communication channel.
6. When the payer clicks on the payment link, they are redirected to OxaPay's payment gateway to complete the payment.
7. OxaPay's payment gateway displays the payment details and prompts the payer to select their desired cryptocurrency and network.
8. After selecting the payment currency and network, OxaPay's payment gateway generates a specific payment address for the payer to send the cryptocurrency.
9. The payer's crypto wallet application opens with the specified payment address pre-filled.
10. The payer initiates the payment by sending the required cryptocurrency to the generated payment address.
11. OxaPay's system monitors the transaction and updates the payment status in real-time.
12. After a successful payment, the payer receives a payment confirmation alert on the page.
13. The payer can then click on the "Return to Website" button to redirect to the merchant's specified returnUrl (if provided)
14. The merchant's system receives a callback with payment information, such as transaction status, currency, amount, and fees.
15. The merchant updates the order status and processes the purchase, allowing the payer to access their purchased goods or services.
16. The merchant can access detailed payment-related information in their OxaPay accounts, providing transparency and easy management.
E-commerce with Seamless Payment Flow
In an e-commerce scenario, merchants can leverage OxaPay's payment link feature to create a seamless payment experience for their customers. The flow for this use case, which includes the creation of a payment link, is as follows:
1. The payer selects item/items for purchase, determining the total sum.
2. The payer selects the preferred payment currency.
3. The system retrieves the exchange rate for the selected currency and estimates the total amount in cryptocurrency.
4. The merchant calls the "Create white-label" method to generate a payment link and obtain the payment address (e.g., a BTC wallet address for BTC payments).
5. The payer is provided with the payment address and can initiate the payment by sending the required cryptocurrency to the given address.
6. The payer can scan the QR code or manually copy the address and proceed with the payment using their preferred crypto wallet application.
7. When the payer sends the cryptocurrency to the payment address, OxaPay's system receives a callback containing payment information, such as transaction status, currency, amount, and fees.
8. The merchant's system updates the payment status based on the callback information, completing the purchase process.
9. The merchant can access all payment-related information in their OxaPay accounts, ensuring transparency and easy management.
Investment Flow
For investment platforms or websites, OxaPay offers a seamless crypto deposit and balance management flow. The steps for this use case are as follows:
1. The user has a crypto balance on the website.
2. The user selects the desired payment currency for making a deposit.
3. The merchant calls the "Create static address" method to generate a permanent deposit address for the selected currency.
4. The website displays the deposit address (e.g., BTC address) to the user, who can initiate the deposit by sending the cryptocurrency to the provided address.
5. The user can scan the QR code or manually copy the address and proceed with the deposit using their crypto wallet application.
6. After the user sends the cryptocurrency to the deposit address, OxaPay's system receives a callback containing deposit information, such as transaction status, currency, amount, and fees.
7. The merchant updates the user's crypto balance based on the callback information, reflecting the deposited amount in the user's account.
8. All relevant information about the deposit and user's balance is accessible in the merchant's OxaPay account.
Withdrawal Flow
In scenarios where users want to withdraw funds from their crypto balance on a website or platform, OxaPay simplifies the withdrawal process. The steps are as follows:
1. The merchant has a crypto balance in their OxaPay account, which includes user funds.
2. A user requests a withdrawal from their balance on the website.
3. The merchant uses the OxaPay API's "/api/send" method to initiate a payout, providing the user's desired withdrawal address and amount.
4. OxaPay's system sends the funds to the user's provided crypto address.
5. After processing the payout, the merchant's system receives a callback containing transaction parameters, such as transaction status, currency, amount, and fees.
6. The merchant updates the user's crypto balance, deducting the withdrawn amount from the user's account.
7. The merchant can access comprehensive information about the transaction and balance in their OxaPay accounts, ensuring transparency and easy tracking.
Global Freelance Marketplace
1. A global freelance marketplace connects freelancers and clients from around the world for various projects and services.
2. To facilitate secure and efficient cross-border payments, the freelance marketplace integrates OxaPay's payment gateway.
3. When a client hires a freelancer and agrees on a project's terms, they proceed to make a payment for the services rendered.
4. The client selects their preferred cryptocurrency and network for payment on the freelance marketplace's payment page.
5. OxaPay's payment gateway calculates the total amount in the selected cryptocurrency based on the current exchange rate.
6. The client is redirected to OxaPay's payment gateway to complete the transaction.
7. OxaPay's payment gateway generates a specific payment address for the client to send the cryptocurrency.
8. The client's crypto wallet application opens with the payment address pre-filled.
9. The client initiates the payment by sending the required cryptocurrency to the generated payment address.
10. OxaPay's system monitors the transaction and updates the payment status in real-time.
11. After a successful payment, the freelancer is notified of the payment and can proceed with the project.
12. The freelancer delivers the completed project to the client through the freelance marketplace's platform.
13. The client reviews and approves the project's completion.
14. Upon approval, the freelance marketplace receives a callback from OxaPay's payment gateway with payment information, such as transaction status, currency, amount, and fees.
15. The freelance marketplace releases the payment to the freelancer's account on the platform.
16. The freelancer can access their earnings and withdraw funds to their crypto wallet at any time.
17. The freelancer can view detailed payment-related information in their OxaPay accounts for transparency and financial tracking.
By integrating OxaPay's payment gateway, the freelance marketplace streamlines global payments for freelancers and clients, enabling them to transact in various cryptocurrencies securely and conveniently. The ability to select payment currency and network provides clients with flexibility in cross-border transactions, while real-time payment status updates ensure transparency and efficiency. Additionally, OxaPay's comprehensive payment information and management features enable the freelance marketplace to enhance financial tracking and provide a seamless payment experience for both clients and freelancers.
Online Gaming Platform with In-Game Purchases:
1. Players on an online gaming platform want to make in-game purchases to enhance their gaming experience.
2. The gaming platform integrates OxaPay's payment gateway to offer cryptocurrency payment options for in-game purchases.
3. When a player decides to make an in-game purchase, the gaming platform prompts them to select their preferred cryptocurrency for payment.
4. OxaPay's payment gateway calculates the total amount in the selected cryptocurrency based on the current exchange rate.
5. The player is directed to OxaPay's payment gateway to complete the transaction. They can choose their desired cryptocurrency and network for payment.
6. OxaPay's payment gateway generates a specific payment address for the player to send the cryptocurrency.
7. The player's crypto wallet application opens with the payment address pre-filled.
8. The player initiates the payment by sending the required cryptocurrency to the generated payment address.
9. OxaPay's system monitors the transaction and updates the payment status in real-time.
10. After a successful payment, the player receives a payment confirmation alert from their crypto wallet application.
11. The player returns to the gaming platform, and the in-game purchase is instantly credited to their gaming account.
12. The gaming platform receives a callback with payment information, such as transaction status, currency, amount, and fees.
13. The gaming platform updates the player's account with the purchased in-game items or currency, providing them with an enhanced gaming experience.
14. The gaming platform can access detailed payment-related information in their OxaPay accounts, ensuring transparency and seamless management of in-game purchases.
By integrating OxaPay's payment gateway, online gaming platforms can offer a secure, fast, and convenient way for players to make in-game purchases using various cryptocurrencies. The ability to select payment currency and network provides players with flexibility, while real-time payment status updates and payment confirmations ensure a smooth and reliable payment process. Additionally, OxaPay's comprehensive payment information and management features enable the gaming platform to streamline payment tracking and enhance the overall gaming experience for players.
These use cases demonstrate the versatility of OxaPay's cryptocurrency payment gateway, offering seamless payment processing, deposit management, and withdrawal functionalities to cater to various business needs. OxaPay's API integration provides the necessary tools and flexibility to enhance crypto-based transactions and offer an efficient payment solution for businesses and customers alike.
Last updated