Overview
The Account API lets you fund your Axiym accounts from your own bank accounts or wallets and withdraw funds back to them. A company or payout provider, for example, can use it to deposit funds from entries in its address book and move funds back to those entries. Deposits are sent outside the API using the deposit instructions of the receiving account. Creating a withdrawal prepares the instruction; an explicit confirmation begins execution.
The core resources
Axiym account
The Axiym account balance that deposits credit and withdrawals are funded from.
Address book entry
An external bank account or wallet address owned by your organization. It must be active before it can send a deposit or receive a withdrawal.
Deposit
The record of an incoming payment sent from an address book entry to the deposit instructions of an Axiym account.
Withdrawal
The instruction and lifecycle record for moving funds from an Axiym account to an approved destination. It must be confirmed before execution begins.
Event
A signed notification that a deposit, withdrawal, account, or address book entry changed.
How a deposit works
- Retrieve the deposit instructions of the Axiym account to fund.
- Send the funds from an active address book entry using those details.
- Process signed
deposit.*events and fetch the deposit when state matters. - Reconcile the completed deposit with the posted account credit.
How a withdrawal works
- Retrieve the Axiym account that will fund the withdrawal.
- Select an active address book entry with the same currency and a compatible route.
- Create the withdrawal once, using an idempotency key for retry safety. The response returns a
withdrawalIdinPENDING_CONFIRMATIONstatus. - Review the returned source, destination, amounts, and fee, then confirm that
withdrawalIdwith a separate idempotency key to begin execution. - Process signed events and fetch the current withdrawal when state matters.
- Reconcile the withdrawal with account activity and the receiving bank or blockchain record.
Where to go next
- Read Accounts and destinations before building destination selection.
- Read Depositing funds for deposit instructions and the deposit lifecycle.
- Read Withdrawal lifecycle for the creation and confirmation states.
- Follow Getting Started to implement the flow.