Skip to content

Retrieve a list of fiats

Request

Returns the fiat currencies available to your partner account for buy or sell orders. Each currency lists the payment methods that accept it, with the minimum and maximum amount for each, so you can check an amount before you request a quote.

Path
partnerstringrequired

This is the partner code provided to you during onboarding. e.g. metamask.

orderTypestringrequired

Whether to return availability for buy or sell orders.

Default:"buy"
Enum:"buy""sell"
Headers
Acceptstring
Default:"application/json"
x-api-keystring

This is the API Key that has been provided to you during onboarding.

Example:YOUR_API_KEY
curl -i -X GET \
  'https://docs.banxa.com/_mock/products/hosted-checkout/openapi/{partner}/v2/fiats/{orderType}' \
  -H 'Accept: application/json' \
  -H 'x-api-key: YOUR_API_KEY'

Responses

List of supported fiat currencies.

Bodyapplication/json
Array [
idstring
Example:"USD"
descriptionstring
Example:"US Dollar"
symbolstring
Example:"$"
supportedPaymentMethodsArray of objects
]
Response
[ { "id": "USD", "description": "US Dollar", "symbol": "$", "supportedPaymentMethods": [ … ] } ]