Buy

Facilitating Crypto Purchases Through the Criptan API

At Criptan, we make it seamless for your clients to buy cryptocurrencies through our API. Here's how it works:

  1. Utilize Your Account Balance: To initiate a purchase, you'll use the currency available in your account balance.

  2. Generate a Quote: We start by creating a quote for your desired crypto purchase using the quote endpoint.

    • Specify the purchase amount using the "amount" parameter.

    • Choose the currency you wish to use, whether it's EUR or USDC.

    • Define the operation with BUY as side.

    • Select the cryptocurrency pair you want (e.g., BTC_EUR to buy Bitcoin with euros).

  3. Confirm Your Purchase: After generating the quote, you'll use the confirmation endpoint to accept the transaction. You'll need the unique ID provided in the quote response. Keep in mind that you have a 15-second window to confirm the operation, with the duration depending on the specific cryptocurrency pair and user tier.

  4. Check Your Balance: To verify the success of the operation, you can always check your account balance.

.

Explore here a real-world example that illustrates the user experience of Buying assets with Criptan. This walkthrough provides valuable insights into how end-users seamlessly navigate the process.

Last updated