API Reference
Currencies

List currencies

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

Global currency catalog, the same for every merchant; it doesn't reflect what is enabled for your account.

Authorization

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

Query parameters

pageinteger

Page number, starting at 1.

pageSizeinteger

Items per page (maximum 100).

codestring

Filters by code.

namestring

Filters by name.

activeboolean

Filters by active or inactive currencies.

Responses

200Page of currencies.
itemsobject[]

Catalog currencies.

Show child attributes
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.

totalCountinteger

Total items that match the filters.

Example: 42
pageinteger

Current page.

Example: 1
pageSizeinteger

Items per page.

Example: 20
totalPagesinteger

Total pages.

Example: 3
hasPreviousPageboolean

Whether there is a previous page.

hasNextPageboolean

Whether there is a next page.

401Missing, expired or invalid token. Empty body.