FaTPay Docs
🇺🇸 English
🇺🇸 English
  • Overview
  • Get Started
    • Onboarding
    • Quickstarts
  • Best Practices
    • Exchanges
    • Crypto Projects
    • Wallets
    • Affiliate Partners
    • NFT
  • Reference
    • Integration Tutorial
      • On-ramp Widget Customization
      • NFT Checkout Widget Customization
      • Interface Customization
      • Widget Themes Gallery
      • Widget Signature
    • API Reference
      • APIs
        • List all cryptocurrencies
        • List all fiat currencies and payment methods
        • Retrieve quoted price
        • List all orders
      • Webhooks
        • Webhook for order events
      • API Signature & Webhook Validation
  • Appendix
    • Demo
      • Widget Signature Demo
      • API Signature Demo
      • Webhook Validation Demo
    • Languages
    • Fiat Currencies
    • Cryptocurrencies (on-ramp)
    • Cryptocurrencies (NFT Checkout)
    • Errors
Powered by GitBook
On this page
  • Set up a quick integration
  • Try advanced configuration
  • Exemple
  • Best practices
  1. Get Started

Quickstarts

Off you go...

PreviousOnboardingNextExchanges

Last updated 2 years ago

Set up a quick integration

The simplest way to integrate FaTPay is to redirect your users to our widget via our website. This can be done with just a link via a button on your website, or in your app opening the browser.

Users can directly buy cryptocurrency to their wallet via the link below:

You can just do exactly this and lead your users in the direction of FaTPay where they can buy cryptocurrency to use in your app. This can be done without going through our onboarding process.

The core URL is https://ramp.fatpay.xyz/home and don't forget appending partnerId=public as query parameter.

Now you get the fundamental FaTPay widget URL.

https://ramp.fatpay.xyz/home?partnerId=public

You could choose either

Redirect mode
<a href="https://ramp.fatpay.xyz/home?partnerId=public" target="_blank">Buy with FaTPay</a>

or

Embeded mode
<iframe
  src="https://ramp.fatpay.xyz/home?partnerId=public&windowOpen=1"
  allow="accelerometer; autoplay; camera; gyroscope; payment"
  width="100%"
  height="100%"
  frameborder="0"
/>
</iframe>

We suggest to append windowOpen=1 to get rid of 403 Forbidden iframe error.

Now so far this is just the default widget setup, in the next chapter we'll explain how you can start customizing your FaTPay integration to create the optimal experience for your users.

Try advanced configuration

Exemple

If it's expected to

  • choose Thai as default language;

  • specify fiat currency as USD;

  • set default amount as $200;

  • set default cryptocurrency as USDC(ERC20);

  • limit cryptocurrency options as USDC(ERC20)/USDT(ERC20);

All you need is to

add certain query parameters to the widget URL.

https://ramp.fatpay.xyz/home?partnerId=public&language=th&defaultFiatCurrency=usd&amount=200&cryptoCurrency=USDT_ERC20,USDC_ERC20&defaultCurrency=USDT_ERC20

Please check [On-ramp Widget Customization] [NFT Checkout Widget Customization] for more the widget customization options.

What's more...

If you want to change the interface theme, you could just append one more query parameter - theme to the widget URL.

https://ramp.fatpay.xyz/home?partnerId=public&language=th&defaultFiatCurrency=usd&amount=200&cryptoCurrency=USDT_ERC20,USDC_ERC20&defaultCurrency=USDT_ERC20&theme=green

There are even more options [Interface Customization] to customize the user interface.

Best practices

Now you can start customizing how FaTPay will work for your users. Basically The FaTPay widget is controlled by passing query parameters, which you can do directly in the URL. You can see all of the customization options available .

here
Exchanges
Crypto Projects
Wallets
Affiliate Partners
NFT
FaTPay
Buy with FaTPay
Logo