- fee configuration is USD-canonical;
- only standalone service fees may try the configured debit order;
- money-out operations require the full settlement amount in one balance.
USD-canonical pricing
For fee services that use percentage and fixed components, configure both components in USD. The fixed value is expressed in USD cents by the admin surface and returned as a decimal USD amount. A fee row withasset: "USDT" or asset: "USDC" is rejected with 400 invalid_asset for these
services. Legacy rows may remain visible during migration, but the effective
view and new configuration are USD-canonical.
The fee currency is separate from the balance used to settle an operation:
the fee is resolved in USD, while the operation’s settlement asset may be
USD, USDT, USDC or a supported volatile asset. Spreads keep their asset
dimension and are not converted into fee rows.
ceil(100.00 × 1.50%) + 0.30 = 1.80 USD. The effective fee view is the
source of truth; do not infer fees from a legacy asset label.
Debit rules by operation
The standalone debit order is deterministic. It starts with the account’s
configured default, then tries
USD, USDT, and USDC, removing duplicates.
An invalid or disabled default is skipped. Every candidate is advisory-only
until the atomic ledger charge succeeds.
Payouts do not use this cascade. They must be fully funded by the selected
settlement asset. A race between the advisory check and the ledger charge is
expected to lose atomically and return the same 402 response; do not retry by
creating a new operation.
The fee-aware 402 response
The historical envelope remains stable:details is optional. Its base keys are asset, need, available and
missing, formatted in the debited asset. need_amount and need_fee are
present only when the server knows the exact split. USD twin keys are present
only for USD, USDT and USDC, whose value is exactly 1:1 here. They are not
present for BTC, GOLD, SILVER, PLATINUM, RWA assets or unknown assets.
If the numbers are unavailable, the server returns the compatible historical
body without details. Treat an absent block as a valid response.
Payout
Crypto withdrawal
Internal transfer
Standalone service fee
Banking fiat transfer
Cartola and metadata
Successful standalone charges appear as a debit movement with the service reference and the asset actually charged. The asset actually charged and its rate are recorded in the movement metadata; skipped candidates are operational logs only. A skipped candidate is not a charge and must not be reconciled as money movement. Payouts show one debit in the selected settlement asset and never carry standalone waterfall metadata. Read movements with a bounded date range:Safe retry and states
Never re-send or re-enqueue a transaction after a timeout or 5xx. Read its
status and let the client retry with the same key when appropriate.
FAQ
Can I configure a fee in USDT?
Can I configure a fee in USDT?
No for USD-canonical percentage/fixed services. Configure
asset: "USD".
USDT and USDC rows are legacy transition data, not new configuration.Will a payout use another balance when USD is short?
Will a payout use another balance when USD is short?
No. A payout uses 100% of its selected settlement asset. Only standalone
service fees use the default → USD → USDT → USDC candidate order.
Can I assume details is always present on a 402?
Can I assume details is always present on a 402?
No. It is optional. Always handle the stable
error and message envelope,
then parse details only when present.Should I create a new operation after a 402 race?
Should I create a new operation after a 402 race?
No. The atomic ledger may reject an advisory check lost to a concurrent debit.
Use the same idempotency key after the account is funded.
Where do I verify the effective fee?
Where do I verify the effective fee?
Call
GET /v1/rates. Its fees array is the resolved account view and uses
USD for canonical fee rows; asset_prices and settlement describe balances
and spreads separately.