LogoLogo
  • GENERAL
    • About Criptan
    • Get started
      • Introduction
      • 1. Activate your account
      • 2. Add funds to your balance
      • 3. Start interacting with the API
    • API
      • Introduction
      • Authentication
        • Auth Transactions and Earn
          • API Reference
        • Auth Business (Criptan Pay)
      • Real-Time API (WebSockets)
        • OHLCV
        • TICKERS
      • Webhooks
        • Transactions and Earn Webhooks
        • Business Webhooks
      • API reference
      • Changelog
    • Developer tools
      • Sandbox
      • Support
      • Feedback
    • Security
  • Transactions
    • General
      • Overview
      • Available exchange
      • Geographic availability
      • Use cases
        • Buy
          • UX example
        • Sell
          • UX example
        • Send crypto
          • UX example
        • Receive crypto
          • UX example
        • Recurring purchases
          • UX example
        • Check history
      • FAQ
    • API Reference
      • Trades
      • Withdrawals
      • Information
  • Earn
    • General
      • Overview
      • Geographic availability
      • Use cases
        • 3, 6, 12 months
          • Make a deposit
            • UX example
          • Set up auto-renew a deposit automatically
            • UX example
        • Flex
          • Make a deposit
            • UX example
          • Make a withdrawal
            • UX example
          • Cancel a withdrawal
            • UX example
          • Set up reinvest or not rewards
            • UX example
        • Flex and 3, 6, 12 months
          • Receiving Rewards
      • FAQ
    • API Reference
  • Business (Criptan Pay)
    • General
      • Business (Criptan Pay)
      • Onboarding
      • Payment Button
      • Charges
      • FAQ
    • API Reference
      • Charge
      • Generate charge receipt
      • Get payment
    • Types CPay definitions
      • BusinessAccount
      • BusinessCharge
Powered by GitBook
On this page
  1. Transactions
  2. General
  3. Use cases

Buy

Facilitating Crypto Purchases Through the Criptan API

PreviousUse casesNextUX example

Last updated 1 year ago

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 .

.

Explore 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.

check your account balance
here