API Reference
Currencies

Get a currency

GET/currencies/api/v1/{code}
Base URL: https://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.com

One currency by ISO code, case-insensitive.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

codestringrequired

ISO 4217 code.

Example: "BRL"

Responses

200The currency.
codestring

ISO 4217 code; the value to send in currency.

Example: "BRL"
namestring

Currency name.

Example: "Brazilian Real"
decimalPlacesinteger

Decimal places; use it to format and round.

Example: 2
activeboolean

false means the currency accepts no new transactions.

401Missing, expired or invalid token. Empty body.
404Code not in the catalog.
successbooleanrequired

Always false on errors.

Example: false
codeintegerrequired

5001 resource not found, 2001 unprocessable input, 1001 validation error (in Mimicr), 4009 key already registered (in Mimicr).

Example: 5001
messagestringrequired

Error message.

Example: "Deposit intent not found."