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
  • query supported fiat currencies
  • Objects definition
  • fiatCurrency
  • paymentOption
  1. Reference
  2. API Reference
  3. APIs

List all fiat currencies and payment methods

List all the fiat currencies and its' payment methods supported by FaTPay

PreviousList all cryptocurrenciesNextRetrieve quoted price

Last updated 2 years ago

Retrieves all supported fiat currencies and its' payment methods. 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 fiat currencies are available, the resulting array data will be empty.

query supported fiat currencies

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

List all the fiat currencies 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": [
        {
            "fiatCurrency": "USD",
            "name": "USD",
            "paymentOptions": [
                {
                    "name": "CARD_PAYMENT",
                    "processingTime": "3 - 7Min",
                    "icon": "https://fatpay.xyz/img/1.png",
                    "maxAmount": 4000,
                    "minAmount": 1
                }
            ]
        },
        {
            "fiatCurrency": "THB",
            "name": "THB",
            "paymentOptions": [
                {
                    "name": "BANK_CARD_TRANSFER",
                    "processingTime": "3 - 7Min",
                    "icon": "https://fatpay.xyz/img/2.png",
                    "maxAmount": 1400000,
                    "minAmount": 1
                }
            ]
        }
    ]
}

Objects definition

fiatCurrency

Key
Format
Required
Description

fiatCurrency

String

Y

ISO code of fiat currency, e.g. USD, THB, etc.

name

String

Y

Fiat currency name, e.g. US Dollar

paymentOptions

Object

Y

paymentOption

Key
Format
Required
Description

name

String

Y

Name of payment option. e.g. CREDIT_DEBIT_CARD

processingTime

String

Y

Estimated processing time. e.g. 3 - 7Min

icon

String

Y

maxAmount

Decimal

Y

Maximum charge amount, up to two decimal places. e.g. 4000

minAmount

Decimal

Y

Minimum charge amount, up to two decimal places. e.g. 10

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

Array of

Icon of payment option. e.g.

fiatCurrency
fiatCurrency
https://fatpay.xyz/img/1.png
PaymentOption
Signature