Buy
Facilitating Crypto Purchases Through the Criptan API
Last updated
Facilitating Crypto Purchases Through the Criptan API
Last updated
At Criptan, we make it seamless for your clients to buy cryptocurrencies through our API. Here's how it works:
Utilize Your Account Balance: To initiate a purchase, you'll use the currency available in your account balance.
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).
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.
Check Your Balance: To verify the success of the operation, you can always .
.