OxaPay Docs
Legacy
Legacy
  • Introduction
  • Getting Started
  • Integrations
    • Payment Links
    • Donations
    • Merchant API
    • Payout API
    • Plugins
      • WooCommerce
      • WISECP
      • Clientexec
      • Blesta
      • WHMCS
      • PrestaShop
      • Easy Digital Downloads
      • Paid Memberships Pro
      • Gravity Forms
      • Restrict Content Pro
    • Merchant and Payout Service with API
  • API Reference
    • Creating an Invoice
    • Creating White-Label Payment
    • Creating Static Wallet
    • Revoking Static Wallet
    • Static Wallets List
    • Payment Information
    • Payment History
    • Accepted Coins
    • Price
    • Creating Payout
    • Payout Information
    • Payout History
    • Account Balance
    • Exchange Rate
    • Exchange Calculate
    • Exchange Pairs
    • Exchange Request
    • Exchange History
    • Supported Currencies
    • Supported Fiat Currencies
    • Supported Networks
    • System Status
    • Result code table
    • Merchant status table
    • Payout status table
  • Webhook
  • Use Cases
  • Troubleshooting
Powered by GitBook
On this page
  1. API Reference

Supported Fiat Currencies

This API request will return a comprehensive list of supported fiat currencies and their price. Each currency is represented by a key-value pair, where the key is the currency code (e.g., USD, AUD) and the value is an object containing details such as symbol, name, price, and display precision.

This data can be used to populate a user interface and allows merchants to create invoices using fiat currencies.

POST https://api.oxapay.com/api/fiats

{
  "result": integer, // The result code indicates the success or failure of the request.
  "message": string, // A message providing additional information about the result.
  "data": array of Object // An array containing the supported fiat currencies in OxaPay. Each currency is represented as a object.
}

Sample output

{
  "result": 100,
  "message": "Successful operation",
  "data": {
    "USD": {
      "symbol": "USD",
      "name": "United States Dollar",
      "price": "1",
      "displayPrecision": "0.001"
    },
    "AMD": {
      "symbol": "AMD",
      "name": "Armenian Dram",
      "price": "0.00246243",
      "displayPrecision": "0.1"
    },
    "AUD": {
      "symbol": "AUD",
      "name": "Australian Dollar",
      "price": "0.65220935",
      "displayPrecision": "0.001"
    },
    "AZN": {
      "symbol": "AZN",
      "name": "Azerbaijani Manat",
      "price": "0.58823529",
      "displayPrecision": "0.001"
    },
    ...
  }
}
PreviousSupported CurrenciesNextSupported Networks

Last updated 12 months ago