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
| Family | Events | data contains |
|---|---|---|
| Payments | 22 | payment |
| Refunds | 18 | payment and refund |
| Checkout sessions | 3 | checkoutSession and payment |
| Merchants | 2 | merchant |
| Merchant onboarding | 8 | onboarding |
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 |
|---|---|
6 | online |
1 | instore.card |
5 | instore.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.
| Event | When it is sent |
|---|---|
payment.{category}.created | A payment is saved. |
payment.online.authorized | A manual online authorization is confirmed and committed, including a zero-amount authorization. |
payment.{category}.updated | Its status changes to pending or another status without a dedicated event name. This is not a notification for every field edit. |
payment.{category}.succeeded | Its status changes to success. |
payment.{category}.failed | The entire payment changes to failed, rather than an individual payment attempt failing. |
payment.{category}.canceled | Its status changes to cancelled. |
payment.{category}.refunded | Tapaya marks the payment as refunded. |
payment.{category}.action_required | Its 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:
statusId | status | Meaning |
|---|---|---|
1 | pending | Processing has not reached a final outcome. |
2 | success | The payment or refund succeeded. |
3 | cancelled | The payment or refund was canceled. |
4 | refunded | The payment is marked as refunded by Tapaya. |
5 | failed | The payment or refund failed. |
6 | actionNeeded | Further 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.
| Event | When it is sent |
|---|---|
payment.{category}.refund.created | A refund is saved. |
payment.{category}.refund.updated | Its status changes to pending or another status without a dedicated event name. |
payment.{category}.refund.succeeded | Its status changes to success. |
payment.{category}.refund.failed | Its status changes to failed. |
payment.{category}.refund.canceled | Its status changes to cancelled. |
payment.{category}.refund.action_required | Its 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.
| Event | When it is sent |
|---|---|
checkout.session.created | A hosted session is saved. Replaying the same creation request with its idempotency key does not create another event. |
checkout.session.completed | The session first completes, including successful authorization when capture is manual. Later capture or cancellation does not repeat this event. |
checkout.session.expired | An 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.
{
"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.
| Event | When it is sent |
|---|---|
merchant.created | A merchant is created in your organization. |
merchant.status_changed | Activation, shell-merchant status, profile presence, or a processor account, submission, approval, or rejection changes. |
{
"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
}
]
}
}
}profileOnboardedmeans 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.updatedevent 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.
| Event | When it is sent |
|---|---|
merchant.onboarding.started | The first merchant profile and onboarding data are saved. |
merchant.onboarding.profile_completed | The first complete merchant profile is saved. |
merchant.onboarding.document_added | A new document is saved. Adds documentId, documentTypeId, paymentProcessorId, and source: "cache" for a staged document. |
merchant.onboarding.stakeholder_completed | A stakeholder's onboarding data is completed. Adds stakeholderId. |
merchant.onboarding.submitted | Onboarding is ready to submit to a processor. Adds paymentProcessorId. |
merchant.onboarding.approved | A processor account is approved for the first time. Adds paymentProcessorId. |
merchant.onboarding.rejected | Tapaya rejects the onboarding after a manual review. Adds reason, with requiredAction set to null. |
merchant.onboarding.action_required | Tapaya asks for more information after a manual review. Adds reason and requiredAction. |
{
"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.