Utilities
Get supported countries and subdivisions for a fiat rail code
Changed onReturns valid country and subdivision codes for a specific fiat rail code.
get/api/utilities/countries/{fiatRailCode}
Request
- Base URLhttps://api.muralpay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fiatRailCode'usd' | 'cop' | 'cop-bre-b' | 'cop-cobre-balance' | 'ars' | 'eur' | 'mxn' | 'mxn-debit-card' | 'brl' | 'clp' | 'pen' | 'bob' | 'crc' | 'zar' | 'usd-peru' | 'usd-china' | 'usd-panama' | 'usd-hong-kong' | 'usd-el-salvador' required
Fiat rail code that identifies the currency and rail combination
Response
List of countries and subdivisions allowed for the specified fiat rail code
Example response
{
"count": 3,
"countries": [
{
"alpha2Code": "US",
"name": "United States",
"subdivisions": [
{
"code": "NY",
"name": "New York"
}
]
}
]
}Changes
- warning
added the new
SignedAgreementRequiredExceptionenum value to theresponse property for the response status - info
added the new enum value
mxn-debit-cardto thepathrequest parameterfiatRailCode - info
added the new enum value
usd-el-salvadorto thepathrequest parameterfiatRailCode - info
added the non-success response with the status
- warning