Skip to content

Retrieve a list of fiats

Request

Retrieve all available fiat currencies supported by Banxa.

Path
partnerstringrequired

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

orderTypestringrequired

Determines availability for Buy or Sell orders. By default if this value is not passed, then fiat availability for Buy orders will be returned.

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

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

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: string'

Responses

200

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