Axiym

Create withdrawal

Creates a withdrawal from your Axiym account to a whitelisted external bank account or wallet.

Requirements

  • sourceAccountId must identify an Axiym account belonging to your organization.
  • destinationId must identify an external account registered in your organization's address book.
  • The source Axiym account and the external account must both be ACTIVE and use the same currency.

The response includes the withdrawal, source account, and destination details and has status PENDING_CONFIRMATION. Creation does not begin execution; confirm the returned withdrawalId with POST /withdrawals/{withdrawalId}/confirm.

AuthorizationBearer <token>

In: header

Header Parameters

X-Request-Id?string

Optional identifier for tracing a request end to end. A UUID is recommended. Axiym returns it in the X-Request-Id response header and records it in logs. If omitted, Axiym generates one. Include it when contacting support.

Formatuuid
Idempotency-Key*string

A unique key for safely retrying this request. Reuse the same key with the same request method, endpoint, and payload to obtain the original result without repeating the operation. Use a new key for each new operation, including separate keys for creation and confirmation. A UUID is recommended.

Lengthlength <= 255

Request Body

application/json

A withdrawal from your Axiym account to a whitelisted external account identified by destinationId. Both accounts must be ACTIVE and use the same currency. Creating the withdrawal returns PENDING_CONFIRMATION; call POST /withdrawals/{withdrawalId}/confirm to begin execution.

sourceAccountId*string

Source account identifier (UUID).

Formatuuid
sourceAmount*object

Amount to debit from the source account. Its currency must be the source account currency.

destinationId*string

Identifier of the whitelisted external account in your address book. It must be ACTIVE and use the source Axiym account's currency.

Formatuuid
reference?string

Text shown to the recipient, typically the invoice number.

Lengthlength <= 140
supportingDocuments?array<SupportingDocumentInput>

Documents supporting the payment, such as an invoice. Required where the destination corridor requires evidence.

Itemsitems <= 10
externalReference?ExternalReference

Your reference for correlation, echoed back on related objects.

Lengthlength <= 255

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json