Axiym

Axiym accounts and balances

An Axiym account is the balance-holding resource at the center of the Trade API. It represents funds held with Axiym in one currency and connected to one payment rail.

It is not an external bank account or wallet. Those are registered separately as registered external accounts and establish where deposits may originate and withdrawals may be sent.

Within one client's resources, there is at most one account for each currency and payment-rail combination. This lets a conversion pair identify its sell and buy sides by currency and payment rail; the API resolves the corresponding account identifiers when the conversion is created.

For example, a client might have:

AccountCurrencyPayment railPurpose
USD Axiym accountUSDBank railHold USD received by Axiym, sell USD in permitted conversions, and fund USD withdrawals.
USDT Axiym accountUSDTBlockchain networkHold USDT received by Axiym, sell USDT in permitted conversions, and fund USDT withdrawals.

The API identifies each account with an accountId. Use this identifier when retrieving deposit instructions, statements, and other account-specific resources.

Axiym accounts and registered external accounts

These resources serve different roles and their identifiers are not interchangeable.

Axiym accountRegistered external account
Where it existsWith AxiymAt an external bank or on a blockchain network
What it representsA balance held with AxiymAn owned bank account or wallet registered with Axiym
IdentifieraccountIddestinationId
DepositsReceives the resulting account creditMust be the origin of the incoming payment
WithdrawalsSupplies the balance through sourceAccountIdReceives the outgoing payment through destinationId

Deposit instructions belong to an Axiym account. They tell you where to send funds to credit that account; they do not replace registration of the external account from which the payment originates.

What an account tells you

An account contains:

FieldMeaning
accountIdThe stable identifier for the balance held with Axiym.
currencyThe currency held by the account.
paymentRailsThe bank rail or blockchain network on which the account settles.
balanceThe current amount held with Axiym in the account's currency.
statusWhether the account is active, suspended, or closed.

Amounts are returned as decimal strings. Treat the API value as a decimal amount rather than converting it to a binary floating-point number.

How balances change

An account balance changes when a ledger movement is posted:

  • a completed deposit credits an account;
  • a completed withdrawal debits an account;
  • a completed conversion debits its sellAccount and credits its buyAccount; or
  • an operational adjustment posts directly to the ledger.

Use the current balance when you need the amount currently held with Axiym. Use the account statement when you need to explain how that balance changed.

Account statements

An account statement provides opening and closing balances, totals for credits and debits, and the individual ledger entries for a period.

The totals reconcile as follows:

opening balance + total credited - total debited = closing balance

Each entry has a direction (CREDIT or DEBIT), a positive amount, and the balance after the movement. When the entry relates to a deposit, conversion, or withdrawal, it also contains the type and identifier of that resource.

This lets you move from a balance difference to the business operation that caused it.

Account status

StatusMeaning
ACTIVEThe account is available for permitted operations.
SUSPENDEDUse of the account is temporarily restricted.
CLOSEDThe account has been permanently retired.

Do not assume that having an account grants access to every currency conversion. The available directions are defined separately by conversion pairs.