Skip to main content
This guide explains the three fee contracts that integrators must implement:
  • 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.
The API remains provider-neutral. Amounts are decimal strings; never use floating point arithmetic for money. For the complete normalized error catalog, see Errors.

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 with asset: "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.
For an operation amount of USD 100.00, the fee is 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

The payout fee is included in the exact total, but no amount/fee split is reported when that split is not attributable independently of settlement pricing.

Crypto withdrawal

Internal transfer

No USD twins are emitted for BTC. The transfer is not partially created.

Standalone service fee

The charge is idempotent. A failed candidate does not create a partial fee, and a later retry must use the same operation’s idempotency key.

Banking fiat transfer

Banking rail fees are exact in the operation currency. Banking assets do not receive USD twins unless the API explicitly identifies the asset as USD, USDT or USDC.

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

No for USD-canonical percentage/fixed services. Configure asset: "USD". USDT and USDC rows are legacy transition data, not new configuration.
No. A payout uses 100% of its selected settlement asset. Only standalone service fees use the default → USD → USDT → USDC candidate order.
No. It is optional. Always handle the stable error and message envelope, then parse details only when present.
No. The atomic ledger may reject an advisory check lost to a concurrent debit. Use the same idempotency key after the account is funded.
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.
Last modified on November 29, 2026