Webhooks

Stables sends a webhook event whenever something meaningful happens in your account — a customer is created, a verification status changes, a transfer progresses, or a deposit arrives in a virtual account.

Every event is delivered as a common envelope with a full resource snapshot in event_object. For how to subscribe, verify signatures and inspect deliveries, see the Configure webhooks guide.

Event Types

Event typeDescription
customer.createdA customer record was created.
customer.updatedA customer record was updated.
kyc_link.updated.status_transitionedA customer's KYC/KYB verification status changed.
transfer.createdA transfer (onramp or offramp) was initiated.
transfer.updated.status_transitionedA transfer's status changed (e.g. funds collected, completed, failed).
transfer.action_requiredA transfer needs action from you before it can continue (for example, information requested in an RFI).
virtual_account.createdA virtual account was created for a customer.
virtual_account.activity.createdA deposit was received into a virtual account.
virtual_account.activity.updated.status_transitionedA virtual account deposit's payout progressed (processing, completed, or failed).
virtual_account.fee_charge_failedA virtual account fee could not be charged (insufficient balance). Carries the billing month, amount and grace deadline.
virtual_account.deactivatedA virtual account was deactivated. reason is tenant_request, customer_request or nonpayment.
virtual_account.reactivatedA deactivated virtual account was reactivated.
travel_rule.wallet_verification_requiredA transaction is held pending Travel Rule wallet ownership verification. Only relevant for self-custody withdrawals.
rfi.created / rfi.updated / rfi.resolvedA request for information (RFI) was opened, changed, or resolved.
entitlement.requestedAn entitlement was requested for a customer.
entitlement.updated.status_transitionedAn entitlement moved to a new phase (event_object_status carries the phase).
entitlement.updated.requirements_changedAn entitlement's outstanding requirements changed without a phase change.
prefund.wallet.createdA balance (prefund) deposit wallet was created.
prefund.deposit.receivedA deposit was credited to your balance.
prefund.withdrawal.completed / prefund.withdrawal.failedA withdrawal from your balance completed or failed.
quote.createdReserved for future use — not yet emitted.
quote.updated.status_transitionedReserved for future use — not yet emitted.

On status-transition events, the envelope's event_object_status field carries the new status that triggered the event; event_object.status is the current, authoritative state of the resource.

Customer events

customer.created fires when a customer record is created; customer.updated fires on any update. Both carry the customer resource:

FieldDescription
customer_idCustomer UUID.
external_customer_idYour own reference for this customer; null if you didn't set one.
customer_typeCUSTOMER_TYPE_INDIVIDUAL or CUSTOMER_TYPE_BUSINESS.
emailCustomer email.
phoneOmitted when not set.
first_name / last_nameIndividuals only; omitted when not set.
company_nameBusinesses only; omitted when not set.
created_at / updated_atISO 8601 timestamps.

Example

{
  "api_version": "v1",
  "event_id": "0f4b2b1e-6a1c-4bd0-9a4d-8f2f4f4a9c1b",
  "event_developer_id": "3f6e2d8a-9b3c-4c2f-8a1d-5e7f9b2c4d6e",
  "event_category": "customer",
  "event_type": "customer.created",
  "event_object_id": "b7a1c9d3-2e4f-4a6b-8c0d-1e3f5a7b9c2d",
  "event_object": {
    "customer_id": "b7a1c9d3-2e4f-4a6b-8c0d-1e3f5a7b9c2d",
    "external_customer_id": "cust-1042",
    "customer_type": "CUSTOMER_TYPE_INDIVIDUAL",
    "email": "[email protected]",
    "first_name": "Jane",
    "last_name": "Doe",
    "created_at": "2026-08-01T02:15:00.000Z",
    "updated_at": "2026-08-01T02:15:00.000Z"
  },
  "event_created_at": "2026-08-01T02:15:00.000Z"
}

Verification (KYC/KYB) events

When subscribed to kyc_link.updated.status_transitioned, your webhook endpoint receives an event each time a customer's verification (KYC/KYB) status changes. Use the event_object_status field to identify the transition:

event_object_statusMeaning
VERIFICATION_IN_PROGRESSVerification submitted and awaiting review (or still in review).
VERIFICATION_APPROVEDVerification approved.
VERIFICATION_REJECTEDVerification rejected (final decision, no further review).
VERIFICATION_REQUIRES_ACTIONThe applicant must take action — typically correct and resubmit their documents.

The event_object is the KYC link resource: kyc_link_id, customer_id, kyc_level, status, and lifecycle timestamps. submitted_at, approved_at and rejected_at are omitted until the corresponding step has happened. On VERIFICATION_REQUIRES_ACTION events, the object also carries reasons (each with a reason_code and description) and requirements (what the customer needs to resubmit).

Webhooks use the uppercase forms above (VERIFICATION_APPROVED, INDIVIDUAL_BASE). The REST customer resource reports the same state in lowercase, under verification_levels[].level and verification_levels[].status (for example individual_base and approved).

Example

{
  "api_version": "v1",
  "event_id": "5b9d3f1a-7c2e-4a8b-9d0f-3e5a7c9b1d4f",
  "event_developer_id": "3f6e2d8a-9b3c-4c2f-8a1d-5e7f9b2c4d6e",
  "event_category": "kyc_link",
  "event_type": "kyc_link.updated.status_transitioned",
  "event_object_id": "8e2a4c6d-9f1b-4d3e-8a5c-7b9d1f3a5c7e",
  "event_object_status": "VERIFICATION_APPROVED",
  "event_object": {
    "kyc_link_id": "8e2a4c6d-9f1b-4d3e-8a5c-7b9d1f3a5c7e",
    "customer_id": "b7a1c9d3-2e4f-4a6b-8c0d-1e3f5a7b9c2d",
    "kyc_level": "INDIVIDUAL_BASE",
    "status": "VERIFICATION_APPROVED",
    "submitted_at": "2026-08-01T03:00:00.000Z",
    "approved_at": "2026-08-01T03:45:00.000Z",
    "created_at": "2026-08-01T02:15:00.000Z",
    "updated_at": "2026-08-01T03:45:00.000Z"
  },
  "event_created_at": "2026-08-01T03:45:00.000Z"
}

Transfer events

transfer.created fires when a transfer is initiated; transfer.updated.status_transitioned fires on each status change. The event_object is the transfer resource:

FieldDescription
transfer_idTransfer UUID.
customer_idCustomer the transfer belongs to.
typeTRANSFER_TYPE_ONRAMP or TRANSFER_TYPE_OFFRAMP.
statusCurrent transfer status — see Transfer states.
feesFee breakdown; included only when the transfer carries a withdrawal fee.
refundRefund details; included on REFUND_PENDING, REFUNDED and REFUND_FAILED transitions — see Refunds.
created_at / updated_atISO 8601 timestamps.

The webhook uses uppercase values for type and status, while the REST transfer resource returns them in lowercase (offramp, completed).

Status values: CREATED, COMPLIANCE_HOLD, AWAITING_FUNDS_COLLECTION, FUNDS_COLLECTED, IN_PROGRESS, PAYMENT_SUBMITTED, PAYMENT_PROCESSED, COMPLETED, FAILED, CANCELLED, EXPIRED, REFUND_PENDING, REFUNDED, REFUND_FAILED.

transfer.updated.status_transitioned is emitted on the transitions into COMPLETED, FAILED and the three refund statuses.

Accounts on the legacy payment flow receive a payment resource instead: payment_id, customer_id, payment_type (PAYMENT_TYPE_ONRAMP / PAYMENT_TYPE_OFFRAMP), and status (PAYMENT_STATUS_PENDING, PAYMENT_STATUS_COMPLETED, PAYMENT_STATUS_FAILED, PAYMENT_STATUS_CANCELLED).

Example

{
  "api_version": "v1",
  "event_id": "9f3b5d7c-1e4a-4d8b-9a2c-5e7f9b1d3a6c",
  "event_developer_id": "3f6e2d8a-9b3c-4c2f-8a1d-5e7f9b2c4d6e",
  "event_category": "transfer",
  "event_type": "transfer.updated.status_transitioned",
  "event_object_id": "4c8d2e6f-0a1b-4c3d-8e5f-7a9b1c3d5e7f",
  "event_object_status": "COMPLETED",
  "event_object": {
    "transfer_id": "4c8d2e6f-0a1b-4c3d-8e5f-7a9b1c3d5e7f",
    "customer_id": "b7a1c9d3-2e4f-4a6b-8c0d-1e3f5a7b9c2d",
    "type": "TRANSFER_TYPE_OFFRAMP",
    "status": "COMPLETED",
    "created_at": "2026-08-01T02:20:00.000Z",
    "updated_at": "2026-08-01T02:45:00.000Z"
  },
  "event_created_at": "2026-08-01T02:45:00.000Z"
}

Virtual account events

virtual_account.created fires when a virtual account is provisioned for a customer. The payload includes the deposit instructions (fields not applicable to the account's payment rails are null) and the deposit handling mode (auto_payout, hold, or manual).

{
  "api_version": "v1",
  "event_id": "5a9c1e3f-7b0d-4e6a-9f8b-0c2e4a6c8e1b",
  "event_developer_id": "3f6e2d8a-9b3c-4c2f-8a1d-5e7f9b2c4d6e",
  "event_category": "virtual_account",
  "event_type": "virtual_account.created",
  "event_object_id": "2e4a6c8b-0d3f-4a5c-8e7f-9b1d3f5a7c9e",
  "event_object": {
    "virtual_account_id": "2e4a6c8b-0d3f-4a5c-8e7f-9b1d3f5a7c9e",
    "customer_id": "b7a1c9d3-2e4f-4a6b-8c0d-1e3f5a7b9c2d",
    "status": "activated",
    "currency": "AUD",
    "deposit_handling_mode": "auto_payout",
    "workflow_type": "fiat_to_crypto",
    "source_deposit_instructions": {
      "payment_rails": ["au_bank_transfer"],
      "bank_beneficiary_name": "Jane Doe",
      "bank_account_number": "12345678",
      "bank_routing_number": "062000",
      "iban": null,
      "bic": null,
      "pix_key": null,
      "clabe": null,
      "account_holder_name": "Jane Doe",
      "pay_id": null
    },
    "created_at": "2026-08-01T02:30:00.000Z"
  },
  "event_created_at": "2026-08-01T02:30:00.000Z"
}

virtual_account.activity.created fires when a deposit is received into a virtual account (event_object_status: "received"). The payload includes the deposit amount and, when known, the sender's name and payment reference.

virtual_account.activity.updated.status_transitioned fires as the deposit's payout progresses — event_object_status is processing, completed, or failed. Completed payouts include the on-chain details (payout_amount with network, payout_transaction_hash, payout_address); failed payouts include payout_error.

{
  "api_version": "v1",
  "event_id": "9e3a5c7d-1f4b-4d0e-8b2f-4a6c8e0b2f5a",
  "event_developer_id": "3f6e2d8a-9b3c-4c2f-8a1d-5e7f9b2c4d6e",
  "event_category": "virtual_account.activity",
  "event_type": "virtual_account.activity.updated.status_transitioned",
  "event_object_id": "4a6c8e0b-2d5f-4c7a-9e1b-3f5a7c9e1b4d",
  "event_object_status": "completed",
  "event_object": {
    "deposit_id": "4a6c8e0b-2d5f-4c7a-9e1b-3f5a7c9e1b4d",
    "virtual_account_id": "2e4a6c8b-0d3f-4a5c-8e7f-9b1d3f5a7c9e",
    "deposited_at": "2026-08-01T05:00:00.000Z",
    "deposit_amount": { "amount": "150.00", "currency": "AUD" },
    "handling_mode": "auto_payout",
    "status": "completed",
    "sender_name": "Jane Doe",
    "sender_reference": "INV-2091",
    "payout_amount": { "amount": "97.85", "currency": "USDT", "network": "polygon" },
    "payout_transaction_hash": "0x6f9a1c3e5b7d9f1a3c5e7b9d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a",
    "payout_address": "0x1a2B3c4D5e6F7a8B9c0D1e2F3a4B5c6D7e8F9a0B"
  },
  "event_created_at": "2026-08-01T05:02:00.000Z"
}

Amounts are decimal strings in major units (e.g. "150.00").

Travel Rule events

travel_rule.wallet_verification_required is optional — it's only relevant if your customers withdraw to self-custody (unhosted) wallets. It fires when a transaction is held pending Travel Rule wallet ownership verification. The payload includes the verification URL the customer must complete and when it expires:

{
  "api_version": "v1",
  "event_id": "1a5c7e9b-3f6d-4e2a-9c4b-6e8a0c2e4a7c",
  "event_developer_id": "3f6e2d8a-9b3c-4c2f-8a1d-5e7f9b2c4d6e",
  "event_category": "travel_rule",
  "event_type": "travel_rule.wallet_verification_required",
  "event_object_id": "txn-ref-8842",
  "event_object": {
    "transaction_reference_id": "txn-ref-8842",
    "verification_url": "https://verify.example.com/payment-sources/confirm?token=abc123",
    "expires_at": "2026-08-02T02:20:00.000Z"
  },
  "event_created_at": "2026-08-01T02:20:00.000Z"
}

Quote events

quote.created and quote.updated.status_transitioned are reserved for future use and are not yet emitted. Don't build against them until they ship.

On this page