Axiym

Events

Account API webhooks cover withdrawals, account movements, whitelisted own accounts, and subscription tests. Each event is delivered as a webhook envelope with a type and a compact data payload.

Webhooks are notifications, not state transfer: the payload carries just enough to route the event and correlate it with your records. Fetch the authoritative withdrawal via GET /withdrawals/{withdrawalId} when you need amounts, fees, or the transaction hash.

Event envelope

FieldDescription
idUnique webhook event identifier. Use this for de-duplication.
timestampTime when Axiym created the event.
typeEvent name.
dataCompact event payload.

The exact data schema and a full payload example for every event are in the Events reference — it is the source of truth for webhook payloads.

Withdrawal events

EventMeaning
withdrawal.createdA withdrawal was created and is awaiting execution.
withdrawal.heldA withdrawal was stopped by a review, compliance, or operational gate.
withdrawal.completedA withdrawal completed successfully.
withdrawal.canceledA withdrawal was canceled before completion. Carries reasonCode.
withdrawal.rejectedA withdrawal was rejected and will not complete. Carries reasonCode.

Account events

EventMeaning
account.creditedA posted movement credited the account. Carries the movement amount.
account.debitedA posted movement debited the account. Carries the movement amount.

account.credited / account.debited describe immutable posted movements, so the amount is part of the event; the current balance is not — fetch it via GET /accounts/{accountId}. Movements linked to an API resource carry relatedResourceType / relatedResourceId so you can avoid double-counting withdrawals you already track.

Whitelisted own account events

EventMeaning
destination.createdA new destination was registered and is awaiting review.
destination.activatedThe whitelisted own account became usable for withdrawals.
destination.suspendedThe whitelisted own account was temporarily suspended.
destination.closedThe whitelisted own account was permanently retired.

Subscription events

EventMeaning
subscription.testA test delivery requested for a webhook subscription. Its data is { "test": "OK" }.

Processing guidance

  • Verify the webhook signature before processing the payload.
  • De-duplicate deliveries by the event id.
  • Use withdrawalId and externalReference to correlate the event with your own records.
  • Treat webhooks as at-least-once delivery. Duplicate events can occur.
  • Fetch the withdrawal from the API if ordering matters or if you need the latest state before continuing.