Wallet summary
package main
import ( "fmt" "net/http" "io")
func main() {
url := "https://api.feitpay.com/v1/wallet?currency=EUR"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("FeitPay-Environment", "test") req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close() body, _ := io.ReadAll(res.Body)
fmt.Println(res) fmt.Println(string(body))
}const url = 'https://api.feitpay.com/v1/wallet?currency=EUR';const options = { method: 'GET', headers: {'FeitPay-Environment': 'test', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Active organization for dashboard sessions. Ignored for API keys (the key determines the organization).
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.
Query Parameters
Section titled “Query Parameters”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).
Display currency of the estimate and deposit minimums.
Responses
Section titled “Responses”The wallet.
object
Currency of the estimate and of deposit minimums (a price currency, GET /v1/price-currencies).
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.
Every asset with a balance had a rate (otherwise the estimate leaves the others out).
When the oldest rate used was read.
object
Can be paid out or exchanged now.
Integer amount in the asset’s smallest unit.
Held for payouts, exchanges and transfers in progress.
Integer amount in the asset’s smallest unit.
Decimal string. Never a float.
Integer amount in the asset’s smallest unit.
Decimal string. Never a float.
Integer amount in the asset’s smallest unit.
Held for transfers to other FeitPay accounts waiting for a second member’s approval (ADR-0034).
Integer amount in the asset’s smallest unit.
Available + reserved.
Integer amount in the asset’s smallest unit.
Indicative value of total in the wallet’s display currency; null without a rate.
Fiat per whole unit of the asset from the payment processor (at most a minute old); null when unavailable.
Destinations on this network may need a memo / destination tag.
Display name of the coin itself, without the network (“Tether”, “Bitcoin”).
Display name of the network the coin moves on (“TRON”, “BNB Smart Chain”, “Ethereum”).
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.
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.
object
Balance deposits can be created now.
Exchanges between coins can be created now (see exchange_assets).
Payout batches can be created now.
Payouts can be requested now.
Transfers to another FeitPay account can be sent now (ADR-0034).
Coins a deposit can use, with the minimum in display_currency. Empty when deposits are off.
object
The deposit shows a memo that must be included with the transfer.
Smallest deposit in the wallet’s display currency.
Display name of the coin itself, without the network (“Tether”, “Bitcoin”).
Display name of the network the coin moves on (“TRON”, “BNB Smart Chain”, “Ethereum”).
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.
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.
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).
Asset keys that can be exchanged with each other. Empty when the exchange is off.
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.
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.
object
object
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.
Human-readable explanation in English.
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.
object
object
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.
Human-readable explanation in English.
Example
{ "error": { "type": "invalid_request_error" }}Too many requests. See Retry-After.
object
object
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.
Human-readable explanation in English.
Example
{ "error": { "type": "invalid_request_error" }}