Axiym

Withdrawal lifecycle

View Markdown

Creating a withdrawal returns an instruction in PENDING_CONFIRMATION status. It does not begin execution. Confirm the returned withdrawalId with POST /withdrawals/{withdrawalId}/confirm to move it into PENDING and begin processing.

Processing is asynchronous, and the statuses do not form one fixed linear sequence. A withdrawal can be held and later return to pending processing before reaching a terminal outcome.

The diagram uses operational labels. The exact API statuses are listed below.

StatusMeaning
PENDING_CONFIRMATIONCreated and awaiting the explicit confirmation request. Execution has not started.
PENDINGConfirmed and awaiting or undergoing execution.
HELDProcessing is temporarily on hold. Continue monitoring the withdrawal.
COMPLETEDCompleted successfully.
CANCELEDCanceled before completion; inspect reasonCode.
REJECTEDRejected and not completed; inspect reasonCode.

Treat the current withdrawal resource as authoritative. Events are notifications and may arrive more than once or out of order.

Account activity

A withdrawal debits sourceAmount from the source account. The fee is deducted from this amount, so the recipient receives destinationAmount, equal to sourceAmount less fee.

Use the withdrawal resource for processing status and outcome details. Use the account's current balance and its statement for posted activity. Reconcile the withdrawal debit using relatedResourceType: WITHDRAWAL and the withdrawalId as relatedResourceId; do not infer completion from a balance change alone.

On this page