Tapaya

Event Types

Choose the payment, refund, merchant, and onboarding changes your integration needs.

Select from these 53 event types, or enable an all-types subscription. Every notification uses the shared event envelope; this page shows what each event family puts inside data.

Event families

FamilyEventsdata contains
Payments22payment
Refunds18payment and refund
Checkout sessions3checkoutSession and payment
Merchants2merchant
Merchant onboarding8onboarding

Most integrations start with payment.online.succeeded, payment.online.failed, and payment.online.refund.succeeded. Platforms that onboard merchants add merchant.onboarding.approved and merchant.onboarding.action_required.

Payments

Replace {category} in the event names below with a value from this table. The category follows paymentMethodId, also used by payment-list filters. Refunds use the parent payment's category.

paymentMethodId{category} / paymentType
6online
1instore.card
5instore.cash

Only these three payment methods generate payment and refund events. Use the current event names when saving subscriptions; unqualified names such as payment.succeeded are rejected. Existing explicit subscriptions using the old names are expanded to the three categories.

These events describe the entire payment, across supported payment processors and channels. They contain data.payment, including the payment's status and statusId.

EventWhen it is sent
payment.{category}.createdA payment is saved.
payment.online.authorizedA manual online authorization is confirmed and committed, including a zero-amount authorization.
payment.{category}.updatedIts status changes to pending or another status without a dedicated event name. This is not a notification for every field edit.
payment.{category}.succeededIts status changes to success.
payment.{category}.failedThe entire payment changes to failed, rather than an individual payment attempt failing.
payment.{category}.canceledIts status changes to cancelled.
payment.{category}.refundedTapaya marks the payment as refunded.
payment.{category}.action_requiredIts status changes to actionNeeded.

Creating a payment in a non-pending state sends both payment.{category}.created and the matching status event, if you subscribe to both. Saving the same status again sends neither a new status event nor payment.{category}.updated.

status and statusId take these values in payment and refund snapshots:

statusIdstatusMeaning
1pendingProcessing has not reached a final outcome.
2successThe payment or refund succeeded.
3cancelledThe payment or refund was canceled.
4refundedThe payment is marked as refunded by Tapaya.
5failedThe payment or refund failed.
6actionNeededFurther action is needed.

Unknown future status IDs use status: "unknown" and keep their numeric statusId. Event names use succeeded and canceled; status values use success and cancelled.

payment.online.authorized reports a confirmed authorization separately from capture. Its data.payment.state is authorized, while legacy status and statusId remain pending and 1. Replaying confirmation or increasing an existing hold does not emit another authorization event.

Refunds

Refund events contain both data.payment and data.refund. The refund has its own ID, token, status, and requested and settlement amounts and currencies. Use the refund's ID to track it independently from the parent payment.

EventWhen it is sent
payment.{category}.refund.createdA refund is saved.
payment.{category}.refund.updatedIts status changes to pending or another status without a dedicated event name.
payment.{category}.refund.succeededIts status changes to success.
payment.{category}.refund.failedIts status changes to failed.
payment.{category}.refund.canceledIts status changes to cancelled.
payment.{category}.refund.action_requiredIts status changes to actionNeeded.

Creating a refund in a non-pending state can also send its matching status event. A successful refund does not by itself describe the final status of the whole payment: check data.payment.status and any separate payment.{category}.refunded notification.

Checkout sessions

Hosted Checkout lifecycle events contain data.checkoutSession and data.payment, with top-level paymentType: "online". Use merchantOrderId to correlate the event with your order.

EventWhen it is sent
checkout.session.createdA hosted session is saved. Replaying the same creation request with its idempotency key does not create another event.
checkout.session.completedThe session first completes, including successful authorization when capture is manual. Later capture or cancellation does not repeat this event.
checkout.session.expiredAn open session times out, or a newer hosted or embedded payment attempt replaces it. The reason is timeout or superseded.

The session has its own status: open, completed or expired. Check paymentStatus separately: authorized means funds are reserved; successful means the payment succeeded. A completed session alone is not proof of captured funds.

Timeouts are checked periodically in the background, so an expiration event can arrive after expiresAt. A pending payment or 3-D Secure action keeps the session open until its outcome is known. Expiring a session does not cancel or fail its payment.

The snapshot includes id, merchantOrderId, paymentId, amount, currency, createdAt, expiresAt, completedAt and reason. Amounts are integer minor units: 1500 with CZK means CZK 15.00. The payment belongs to this session, even when a newer session replaces it. Session access tokens, customer details and redirect URLs are omitted.

data
{
  "checkoutSession": {
    "id": "019a0000-0000-7000-8000-000000000006",
    "merchantOrderId": "order-2026-001",
    "paymentId": "019a0000-0000-7000-8000-000000000003",
    "status": "completed",
    "paymentStatus": "successful",
    "amount": 1500,
    "currency": "CZK",
    "createdAt": "2026-11-03T12:00:00.000000Z",
    "expiresAt": "2026-11-03T12:30:00.000000Z",
    "completedAt": "2026-11-03T12:05:00.000000Z",
    "reason": null
  },
  "payment": {
    "id": "019a0000-0000-7000-8000-000000000003",
    "token": "example_payment_token",
    "merchantId": "019a0000-0000-7000-8000-000000000005",
    "status": "success",
    "statusId": 2,
    "requestedAmount": 1500,
    "requestedCurrencyId": 203,
    "settlementAmount": 1500,
    "settlementCurrencyId": 203
  }
}

Merchants

Merchant events contain data.merchant with an id, a token, and a snapshot of saved merchant status.

EventWhen it is sent
merchant.createdA merchant is created in your organization.
merchant.status_changedActivation, shell-merchant status, profile presence, or a processor account, submission, approval, or rejection changes.
data
{
  "merchant": {
    "id": "019a0000-0000-7000-8000-000000000005",
    "token": "example_merchant_token",
    "status": {
      "isActive": true,
      "isShellMerchant": false,
      "profileOnboarded": true,
      "processors": [
        {
          "paymentProcessorId": 2,
          "hasAccount": true,
          "submitted": true,
          "approved": true,
          "rejected": false,
          "submittedAt": "2026-10-29T10:00:00+00:00",
          "approvedAt": "2026-10-30T12:00:00+00:00",
          "rejectedAt": null
        }
      ]
    }
  }
}
  • profileOnboarded means a profile exists. It does not mean a processor approved the merchant or that every payment method is ready.
  • Processor account identifiers and private processor rejection messages are not included. The processor ID above is illustrative.
  • Updating unchanged values or editing unrelated merchant details sends no event. There is no merchant.updated event and no merchant-deletion event.

Merchant onboarding

Onboarding events contain data.onboarding. Its status matches the event's final segment, and some events add the fields named below.

EventWhen it is sent
merchant.onboarding.startedThe first merchant profile and onboarding data are saved.
merchant.onboarding.profile_completedThe first complete merchant profile is saved.
merchant.onboarding.document_addedA new document is saved. Adds documentId, documentTypeId, paymentProcessorId, and source: "cache" for a staged document.
merchant.onboarding.stakeholder_completedA stakeholder's onboarding data is completed. Adds stakeholderId.
merchant.onboarding.submittedOnboarding is ready to submit to a processor. Adds paymentProcessorId.
merchant.onboarding.approvedA processor account is approved for the first time. Adds paymentProcessorId.
merchant.onboarding.rejectedTapaya rejects the onboarding after a manual review. Adds reason, with requiredAction set to null.
merchant.onboarding.action_requiredTapaya asks for more information after a manual review. Adds reason and requiredAction.
data
{
  "onboarding": {
    "status": "action_required",
    "reason": "The submitted company document is no longer valid.",
    "requiredAction": "Upload a current company registration document."
  }
}

Onboarding and merchant status events describe different aspects of a change. The same saved profile or processor approval can produce both event families when you subscribe to both; do not assume an order between them. Events are not backfilled for historical onboarding activity.

Diagnostic tests

Use the Platform's test action to send webhook.test. It includes test: true, merchantId: null, and data.message, with no payment or merchant state. It cannot be selected as an event subscription.

See Verify and Test to check delivery without creating a payment.

Missing something on this page?Request a feature. We attach this page so the team sees the context.