Axiym

Create withdrawal

Creates a withdrawal from your Axiym account to one of your address book entries.

Requirements

  • sourceAccountId and destinationId must belong to your company.
  • Both accounts must be ACTIVE and use the same currency.
  • Third-party external accounts are not allowed.

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 that makes a funds-moving request safe to retry. Reusing the key returns the original result instead of creating a duplicate. A UUID is recommended.

Lengthlength <= 255

Request Body

application/json

A withdrawal from sourceAccountId to an address book entry. sourceAmount is debited from the source account in its currency. The destinationId 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 address book entry to pay. It must be ACTIVE and in 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