Skip to content

Wallet summary

GET
/v1/wallet
curl --request GET \
--url 'https://api.feitpay.com/v1/wallet?currency=EUR' \
--header 'Authorization: Bearer <token>' \
--header 'FeitPay-Environment: test'

The organization’s custodial balance per asset (exact amounts), with what is reserved for payouts and conversions in progress, an indicative estimate of the total in the organization’s display currency (currency, default: the default_currency of its first store) at the payment processor’s last rates (read in the background, never used to price anything; a page load never waits for a processor), the coins a balance deposit can use with their minimums, the assets that can be exchanged, and which wallet features are on. API keys restricted to one store cannot read it.

FeitPay-Organization
string

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

FeitPay-Environment
string
default: test
Allowed values: test live

test (default) or live for dashboard sessions. API keys determine the environment. Until the platform is in production, configuration (stores, webhook endpoints, payment links) is live and money movement answers payments_not_enabled.

currency

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

Display currency of the estimate and deposit minimums.

The wallet.

Media typeapplication/json
object
object
required
string
Allowed value: wallet
livemode
required
boolean
display_currency
required

Currency of the estimate and of deposit minimums (a price currency, GET /v1/price-currencies).

string
/^[A-Z]{3}$/
estimated_total
required

Indicative total of every asset’s total in display_currency at the processor’s current rates, rounded to cents. Only an estimate: payouts, deposits and exchanges are always exact in each asset. Null when no asset could be priced.

string | null
/^(0|[1-9][0-9]*)\.[0-9]{2}$/
estimate_complete
required

Every asset with a balance had a rate (otherwise the estimate leaves the others out).

boolean
rates_at
required

When the oldest rate used was read.

string | null format: date-time
assets
required
Array<object>
object
asset
required
string
name
required
string
symbol
required
string
chain
required
string
divisibility
required
integer
available
required

Can be paid out or exchanged now.

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

Integer amount in the asset’s smallest unit.

string
/^[0-9]+$/
reserved
required

Held for payouts, exchanges and transfers in progress.

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

Integer amount in the asset’s smallest unit.

string
/^[0-9]+$/
pending_payouts
required

Decimal string. Never a float.

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

Integer amount in the asset’s smallest unit.

string
/^[0-9]+$/
pending_conversions
required

Decimal string. Never a float.

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

Integer amount in the asset’s smallest unit.

string
/^[0-9]+$/
pending_transfers

Held for transfers to other FeitPay accounts waiting for a second member’s approval (ADR-0034).

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

Integer amount in the asset’s smallest unit.

string
/^[0-9]+$/
total
required

Available + reserved.

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

Integer amount in the asset’s smallest unit.

string
/^[0-9]+$/
estimated_value
required

Indicative value of total in the wallet’s display currency; null without a rate.

string | null
/^(0|[1-9][0-9]*)\.[0-9]{2}$/
rate
required

Fiat per whole unit of the asset from the payment processor (at most a minute old); null when unavailable.

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

Destinations on this network may need a memo / destination tag.

boolean
coin_name

Display name of the coin itself, without the network (“Tether”, “Bitcoin”).

string
network_name

Display name of the network the coin moves on (“TRON”, “BNB Smart Chain”, “Ethereum”).

string
popular

Rank among the best-known coins for pickers (1 first: USDT on every network, TRON, Ethereum and BNB Smart Chain first, then ETH, USDC, SOL, BNB, XRP, LTC, DOGE, TRX, TON, BCH). Null for every other coin.

integer | null
>= 1
order

Position of the coin in FeitPay’s display order for lists and pickers (1 first). The best-known coins come first (popular), then the others alphabetically; coins with a higher minimum payment are listed after them. Clients sort by it when present.

integer
>= 1
features
required
object
deposits
required

Balance deposits can be created now.

boolean
exchange
required

Exchanges between coins can be created now (see exchange_assets).

boolean
mass_payouts
required

Payout batches can be created now.

boolean
payouts
required

Payouts can be requested now.

boolean
transfers

Transfers to another FeitPay account can be sent now (ADR-0034).

boolean
deposit_options
required

Coins a deposit can use, with the minimum in display_currency. Empty when deposits are off.

Array<object>
object
asset
required
string
symbol
required
string
chain
required
string
name
required
string
memo
required

The deposit shows a memo that must be included with the transfer.

boolean
minimum_amount
required

Smallest deposit in the wallet’s display currency.

string | null
available
required
boolean
unavailable_reason
required
string | null
Allowed values: temporarily_unavailable
coin_name

Display name of the coin itself, without the network (“Tether”, “Bitcoin”).

string
network_name

Display name of the network the coin moves on (“TRON”, “BNB Smart Chain”, “Ethereum”).

string
popular

Rank among the best-known coins for pickers (1 first: USDT on every network, TRON, Ethereum and BNB Smart Chain first, then ETH, USDC, SOL, BNB, XRP, LTC, DOGE, TRX, TON, BCH). Null for every other coin.

integer | null
>= 1
order

Position of the coin in FeitPay’s display order for lists and pickers (1 first). The best-known coins come first (popular), then the others alphabetically; coins with a higher minimum payment are listed after them. Clients sort by it when present.

integer
>= 1
currency

Set when this option takes deposits in one currency only: PIX (asset: brl, chain: pix) is requested in BRL, and minimum_amount is then in BRL. Absent for coins (the wallet’s display currency applies).

string
exchange_assets
required

Asset keys that can be exchanged with each other. Empty when the exchange is off.

Array<string>
loading

True right after a restart while coin details, deposit options or rates are still being read in the background (a request never waits more than about a second for them). Balances are always exact; ask again shortly for the rest. Absent otherwise.

boolean

Example

{
"object": "wallet",
"assets": [
{
"name": "USDT (TRX)",
"available": "59.90",
"available_units": "99834",
"reserved": "59.90",
"reserved_units": "99834",
"pending_payouts": "59.90",
"pending_payouts_units": "99834",
"pending_conversions": "59.90",
"pending_conversions_units": "99834",
"pending_transfers": "59.90",
"pending_transfers_units": "99834",
"total": "59.90",
"total_units": "99834",
"coin_name": "Tether",
"network_name": "TRON"
}
],
"deposit_options": [
{
"unavailable_reason": "temporarily_unavailable",
"coin_name": "Tether",
"network_name": "TRON"
}
]
}

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