Skip to content

Get public pricing plans

GET
/v1/public/pricing
curl --request GET \
--url 'https://api.feitpay.com/v1/public/pricing?locale=en'

Plan names, feature lines and the disclaimer are returned in locale (else the best supported language of Accept-Language, else English). A line without a translation is returned in English.

locale
string
Allowed values: en pt-BR fi

Language of reference text (plan names and features, network caveats, disclaimers). Without it the best supported language of Accept-Language is used, else English. Codes, ids and amounts are never translated.

Public plans from the fee-schedule registry (indicative).

Media typeapplication/json
object
object
required
string
Allowed value: pricing
locale
required
string
Allowed values: en pt-BR fi
indicative
required
boolean
disclaimer
required
string
plans
required
Array<object>
object
id
required
string
name
required
string
version
required
integer
percentage_bps
required
integer
fixed_fee
required

Decimal string. Never a float.

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

Decimal string. Never a float.

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

Decimal string. Never a float.

string
/^(0|[1-9][0-9]*)(\.[0-9]+)?$/
currency
required
string
included_volume
required
string | null
availability
required
string
Allowed values: available indicative contact_sales
features
required
Array<string>

Example

{
"object": "pricing",
"locale": "en",
"plans": [
{
"fixed_fee": "59.90",
"monthly_fee": "59.90",
"minimum_monthly_fee": "59.90",
"availability": "available"
}
]
}

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"
}
}