To achieve this, use the "currency" parameter in the API request you are sending to the invoice or white-label endpoints. This allows you to define the product price in a fiat currency (like USD, EUR, GBP, etc.), and OxaPay will automatically convert the amount to its equivalent in crypto at the time of payment, based on real-time rates.
Example:
If you want to charge 50 USD, you simply set "currency": "USD"
when sending the API request. The system will handle the crypto conversion automatically for the customer.