Skip to content

List the currencies payments can be priced in, with their minimums

GET
/v1/price-currencies
curl --request GET \
--url https://api.feitpay.com/v1/price-currencies \
--header 'Authorization: Bearer <token>'

Every fiat currency a payment intent, checkout session, payment link or invoice can be priced in (currency), with its ISO 4217 decimals and, for live payments, the smallest amount accepted right now. EUR, BRL, USD and GBP (popular) have fixed minimums; every other currency’s minimum is the EUR one converted at the current exchange rate and rounded up to a clean amount, so it moves with the rate. A currency without a current exchange rate is listed with available: false (unavailable_reason: rate_unavailable) and new live payments in it are refused with 403 currency_unavailable until the rate is back. minimum_amount is what the API enforces when a payment is created; some coins ask for more (standard_minimum_amount, and each coin’s own minimum at checkout). Served from memory and cacheable for a minute; any member or API key may read it.

FeitPay-Organization
string

Active organization for dashboard sessions. Ignored for API keys (the key determines the organization).

The price currencies, EUR, BRL, USD and GBP first, then alphabetical by code.

Media typeapplication/json
object
object
required
string
Allowed value: list
data
required
Array<object>
object
object
required
string
Allowed value: price_currency
code
required

ISO 4217 code of a price currency. GET /v1/price-currencies lists them with their decimals and, for live payments, the current minimum; amounts use the currency’s minor units (no decimals for JPY, three for KWD).

string
Allowed values: EUR BRL USD GBP AED ARS AUD BDT BHD BMD CAD CHF CLP CNY CZK DKK GEL HKD HUF IDR ILS INR JPY KRW KWD LKR MXN MYR NGN NOK NZD PHP PKR PLN SAR SEK SGD THB TRY TWD UAH VND ZAR
name
required

English name (clients show their own localized name).

string
symbol
required

The symbol commonly shown with amounts (the code when it has none).

string
decimals
required

ISO 4217 minor units. Amounts in this currency have at most this many decimals.

integer
<= 3
popular
required

EUR, BRL, USD and GBP: listed first, with fixed minimums.

boolean
available
required

A new live payment can be priced in it now (false without a current exchange rate).

boolean
unavailable_reason
required

Why it is not available; null when it is.

string | null
Allowed values: rate_unavailable
minimum_amount
required

Smallest live payment, payment link or invoice total accepted in this currency now (refused below with 422 amount_below_minimum).

string | null
/^(0|[1-9][0-9]*)(\.[0-9]+)?$/
standard_minimum_amount
required

Minimum of most coins. When it is above minimum_amount, only some coins accept the smaller amounts and the customer chooses one of those at checkout.

string | null
/^(0|[1-9][0-9]*)(\.[0-9]+)?$/
has_more
required
boolean
next_cursor
required
null
livemode
required
boolean
rates_at
required

When the oldest exchange rate behind the converted minimums was read; null when none is used.

string | null format: date-time

Example

{
"object": "list",
"data": [
{
"object": "price_currency",
"code": "EUR",
"unavailable_reason": "rate_unavailable"
}
],
"has_more": false
}

Missing or invalid credentials.

Media typeapplication/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found_error conflict_error idempotency_error rate_limit_error feature_unavailable_error api_error
code
required

Stable machine-readable reason. Known values are listed in ErrorCode; clients localize by code and show message (English) only for a code they do not know. New codes may be added at any time.

string
message
required

Human-readable explanation in English.

string
param
string
request_id
required
string

Example

{
"error": {
"type": "invalid_request_error"
}
}

Authenticated but not permitted. Any route may also answer request_blocked when abuse protection has blocked the client IP for a while.

Media typeapplication/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found_error conflict_error idempotency_error rate_limit_error feature_unavailable_error api_error
code
required

Stable machine-readable reason. Known values are listed in ErrorCode; clients localize by code and show message (English) only for a code they do not know. New codes may be added at any time.

string
message
required

Human-readable explanation in English.

string
param
string
request_id
required
string

Example

{
"error": {
"type": "invalid_request_error"
}
}

Too many requests. See Retry-After.

Media typeapplication/json
object
error
required
object
type
required
string
Allowed values: invalid_request_error authentication_error permission_error not_found_error conflict_error idempotency_error rate_limit_error feature_unavailable_error api_error
code
required

Stable machine-readable reason. Known values are listed in ErrorCode; clients localize by code and show message (English) only for a code they do not know. New codes may be added at any time.

string
message
required

Human-readable explanation in English.

string
param
string
request_id
required
string

Example

{
"error": {
"type": "invalid_request_error"
}
}
Retry-After
integer