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
  • List all cryptocurrencies
  • Objects definition
  • cryptoCurrency
  1. Reference
  2. API Reference
  3. APIs

List all cryptocurrencies

List all the fiat currencies supported by FaTPay

PreviousAPIsNextList all fiat currencies and payment methods

Last updated 2 years ago

Retrieves all supported cryptocurrencies. And returns a Map with a data property that contains an array of objects. Each entry in the array is a separate object. If no more cryptocurrencies are available, the resulting array data will be empty.

List all cryptocurrencies

GET https://api.ramp.fatpay.xyz/open/api/onramp/token

List all the cryptocurrencies supported by FaTPay

Headers

Name
Type
Description

Content-Type*

String

application/json

X-Fp-Version*

String

FaTPay API version e.g. v1.0

X-Fp-Timestamp*

Integer

Unix timestamp in second e.g. 1661346861

X-Fp-Nonce*

Integer

Random integer e.g. 868964

X-Fp-Partner-Id*

String

Partner ID assigned by FaTPay as Premium Partner e.g. 2yQrS9A0xmM8xpfa

X-Fp-Signature*

String

{
    "code": 10000,
    "msg": "Success",
    "data": [
        {
            "cryptoCurrency": "USDT",
            "network": "ethereum_mainnet",
            "cryptoCurrencyCode": "USDT_ERC20"
        },
        {
            "cryptoCurrency": "USDC",
            "network": "ethereum_mainnet",
            "cryptoCurrencyCode": "USDC_ERC20"
        }
    ]
}

Objects definition

cryptoCurrency

Key
Format
Required
Description

cryptoCurrency

String

Y

Cryptocurrency name, e.g. USDT/USDC

network

String

Y

Cryptocurrency blockchain, e.g. ethereum_mainnet

cryptoCurrencyCode

String

Y

Cryptocurrency code, e.g. USDT_ERC20

generated by APIPrivateKey e.g. zbBQ+1nv/5up9riH1wbTSSMmkb26LQj3g1cNWsutOordOrtpk8agcA5D5bdYaGeVlHK0qZ2MlUV+ZfOK9cXMuficeIm5fnEjMEm7s1IZtSivMt5te7EFqe52dtVFafE4hUgwqH6QBZB0yZ1FSqHs2dOCI0e8RKJQBDitxtHkibStl1Jt5wulzzq96qWbbVnwoBqGDT52OtwwEcDqMI4SIAzUAdBhAuLqUig1U4Ne9ufT8B1aAohEk5fvn/Sbom21bEjLdgbt5PwH2wmmuBx4tq31IgcP4V+qEBILY2eMAFzkvxNXaX3PsLbj9NpgyIc3HQl0FtRq3gdN7FsSvyvcWA==

cryptoCurrency
cryptoCurrency
Signature