ACP-267: Primary Network validator uptime requirement increases from 80% to 90%.Read the proposal
Transak

Transak

Transak is a global fiat-to-crypto payment gateway that enables users to buy cryptocurrencies with fiat directly within your application.

Back

Overview

Transak is a global fiat-to-crypto payment gateway and on-ramp for blockchain applications. Users can purchase cryptocurrencies using traditional payment methods directly within your app, without navigating external exchanges. It supports 130+ cryptocurrencies across 100+ countries.

Features

  • Global Coverage: Support for users in 100+ countries with local payment methods, currencies, and languages.
  • Multiple Payment Methods: Credit/debit cards, bank transfers, Apple Pay, Google Pay, and regional payment options.
  • Extensive Crypto Support: On-ramp to 130+ cryptocurrencies, including native tokens for custom L1s.
  • Flexible Integration Options: Widget, SDK, and API solutions to fit your application's needs.
  • Customizable Widget: White-labeled integration that matches your application's design.
  • KYC/AML Compliance: Built-in compliance processes that meet regulatory requirements across jurisdictions.
  • Risk Management: Advanced fraud prevention systems that protect both users and merchants.
  • Automated Payouts: Direct deposit of purchased crypto to user wallets.
  • Fiat Off-Ramp: Select regions support converting crypto back to fiat (where permitted by regulations).
  • NFT Checkout: Allow users to purchase NFTs directly with fiat payment methods.
  • Partner Dashboard: Analytics and management tools to track conversions and optimize performance.

Getting Started

  1. Sign Up: Visit the Transak Partner Dashboard and create an account to get your API key.

  2. Choose Integration Method:

    • Direct URL Integration: The simplest approach:

      const transakUrl = new URL('https://global.transak.com/');
      transakUrl.searchParams.append('apiKey', 'YOUR_API_KEY');
      transakUrl.searchParams.append('defaultCryptoCurrency', 'AVAX');
      transakUrl.searchParams.append('network', 'avalanche');
      transakUrl.searchParams.append('walletAddress', userWalletAddress);
      
      window.open(transakUrl.href, '_blank');
    • SDK Integration: For web applications, add the Transak SDK to your project:

      npm install @transak/transak-sdk
      import transakSDK from '@transak/transak-sdk';
      
      const transak = new transakSDK({
        apiKey: 'YOUR_API_KEY',
        environment: 'PRODUCTION', // or 'STAGING' for testing
        defaultCryptoCurrency: 'AVAX',
        network: 'avalanche',
        walletAddress: userWalletAddress, // Pre-fill user's wallet
        themeColor: '000000', // Custom color in hex
        hostURL: window.location.origin,
        widgetHeight: '650px',
        widgetWidth: '450px',
        hideMenu: false,
        exchangeScreenTitle: 'Buy Crypto',
        disableWalletAddressForm: false,
      });
      
      transak.init();
  3. Handle Events: Listen for transaction events:

    transak.on(transak.EVENTS.TRANSAK_WIDGET_CLOSE, () => {
      // Handle widget close
    });
    
    transak.on(transak.EVENTS.TRANSAK_ORDER_SUCCESSFUL, (orderData) => {
      // Handle successful purchase
      console.log(orderData);
    });
    
    transak.on(transak.EVENTS.TRANSAK_ORDER_FAILED, (orderData) => {
      // Handle failed purchase
      console.log(orderData);
    });
  4. Set Up Webhooks (Optional): Implement server-side webhooks to receive transaction updates:

    // Example Express.js webhook handler
    app.post('/transak-webhook', (req, res) => {
      const payload = req.body;
      
      if (payload.status === 'COMPLETED') {
        // Process completed transaction
      }
      
      res.status(200).send('Webhook received');
    });
  5. Test in Staging: Use the staging environment with test cards to verify your integration before going live.

Documentation

For more details, visit the Transak Documentation.

Use Cases

Wallets: Let users purchase crypto directly within your wallet app.

DeFi Platforms: On-ramp for users to acquire tokens needed for DeFi services.

NFT Marketplaces: Enable direct NFT purchases with fiat, skipping the crypto acquisition step.

GameFi Applications: Let gamers purchase in-game assets or tokens without prior crypto knowledge.

Decentralized Applications: Reduce friction by integrating a native fiat entry point.

Pricing

Transak operates on a transaction fee model:

  • Fee Range: Typically 0.5% to 3% per transaction
  • Custom Fee Structure: Enterprise solutions with custom fee arrangements available
  • Revenue Sharing: Partnership opportunities with revenue sharing for qualified partners
  • No Monthly Fees: Pay only for successful transactions

The fee structure can vary by region, payment method, and transaction volume. For detailed pricing information, contact Transak's sales team.

Is this guide helpful?

Developer:

Transak

Categories:

Fiat On-Ramp

Available For:

C-Chain
All Avalanche L1s

Website:

https://transak.com/

Documentation:

https://docs.transak.com/