Developer Docs
English
English
Full catalogue of webhook events Zertiban emits on every relevant state change.
Webhook events are the primary real-time sync mechanism between Zertiban and the customer's integrated systems. Every relevant change in the life cycle of a flow, an operation, a PSD2 payment, an organisation, an invitation or a beneficiary account automatically produces a signed webhook event, so external systems can react immediately without polling the API.
Webhook delivery must be enabled with Zertiban beforehand. During onboarding the customer must provide:
Once configured, Zertiban will push real-time notifications whenever a relevant state change occurs.
Zertiban's event system is organised in six functional layers: three covering distinct layers of the transactional process, and three covering the organisation's set-up: its life cycle, its invitations and its beneficiary accounts.
| Level | Represents |
|---|---|
FLOW_* | Aggregate state of the full set of operations |
OPERATION_* | Individual actions taken by the end user |
PSD2_PAYMENT_* | Real banking state of the PSD2 payment |
BUSINESS_* | State of an organisation within Zertiban |
BUSINESS_INVITATION_* | State of an invitation to join an organisation |
CREDITOR_ACCOUNT_VERIFICATION_* | Outcome of a request to add a beneficiary account |
FLOW_* events represent the aggregate state of the full set of operations attached to a flow.
In most current integrations a flow holds a single operation, so flow events usually mirror that operation's outcome directly. That said, Zertiban's architecture is prepared to support multiple operations within the same flow.
| Event | When it is emitted |
|---|---|
| FLOW_IN_PROGRESS | At least one operation in the flow was opened |
| FLOW_COMPLETED | All operations in the flow completed successfully |
| FLOW_REJECTED | All operations were rejected |
| FLOW_NOT_COMPLETED | The flow ended with no operation completed |
| FLOW_PARTIALLY_COMPLETED | Some operations completed and the rest did not |
| FLOW_EXPIRED | All operations expired |
| FLOW_CANCELLED | The flow was cancelled |
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "FLOW_IN_PROGRESS",
"eventUuid": "ddd6c831-b815-5a12-856f-7b9a331200e7",
"timestamp": "2026-09-17T09:40:02.115Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "IN_PROGRESS"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "FLOW_IN_PROGRESS",
"eventUuid": "ddd6c831-b815-5a12-856f-7b9a331200e7",
"timestamp": "2026-09-17T09:40:02.115Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "IN_PROGRESS"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "FLOW_REJECTED",
"eventUuid": "7cf54949-de85-5a0a-b0eb-c0cad009f78a",
"timestamp": "2026-09-17T09:46:31.902Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "REJECTED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "FLOW_REJECTED",
"eventUuid": "7cf54949-de85-5a0a-b0eb-c0cad009f78a",
"timestamp": "2026-09-17T09:46:31.902Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "REJECTED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "FLOW_NOT_COMPLETED",
"eventUuid": "f55ba01d-230a-5eda-85ca-6977c3c813d2",
"timestamp": "2026-09-17T09:52:07.338Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "NOT_COMPLETED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "FLOW_NOT_COMPLETED",
"eventUuid": "f55ba01d-230a-5eda-85ca-6977c3c813d2",
"timestamp": "2026-09-17T09:52:07.338Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "NOT_COMPLETED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "FLOW_PARTIALLY_COMPLETED",
"eventUuid": "f096c465-a9c2-5c5f-8678-fa0d1216f84c",
"timestamp": "2026-09-17T09:55:44.061Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "PARTIALLY_COMPLETED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "FLOW_PARTIALLY_COMPLETED",
"eventUuid": "f096c465-a9c2-5c5f-8678-fa0d1216f84c",
"timestamp": "2026-09-17T09:55:44.061Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "PARTIALLY_COMPLETED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "FLOW_COMPLETED",
"eventUuid": "e4159bb3-dce9-5105-a1be-07e2272a969f",
"timestamp": "2026-09-17T09:41:12.482Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "COMPLETED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "FLOW_COMPLETED",
"eventUuid": "e4159bb3-dce9-5105-a1be-07e2272a969f",
"timestamp": "2026-09-17T09:41:12.482Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "COMPLETED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "FLOW_EXPIRED",
"eventUuid": "59cb274a-35d9-595b-b6fa-67b3fe5c6b62",
"timestamp": "2026-09-24T00:00:05.004Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "EXPIRED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "FLOW_EXPIRED",
"eventUuid": "59cb274a-35d9-595b-b6fa-67b3fe5c6b62",
"timestamp": "2026-09-24T00:00:05.004Z",
"resource": {
"uuid": "39b71b93-e646-40eb-8d6b-abc728e40851",
"externalId": "INV-2026-000123",
"status": "EXPIRED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "FLOW_CANCELLED",
"eventUuid": "f29bef98-7975-5919-b609-19f4aa2feecd",
"timestamp": "2026-09-17T11:20:49.750Z",
"resource": {
"uuid": "8c5e3e83-5145-4c57-8d3f-ac5f9c6652f2",
"externalId": null,
"status": "CANCELLED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "FLOW_CANCELLED",
"eventUuid": "f29bef98-7975-5919-b609-19f4aa2feecd",
"timestamp": "2026-09-17T11:20:49.750Z",
"resource": {
"uuid": "8c5e3e83-5145-4c57-8d3f-ac5f9c6652f2",
"externalId": null,
"status": "CANCELLED"
}
}OPERATION_* events reflect the functional state of an individual operation carried out by the end user. They let you monitor the payer's actual behaviour inside the flow and react in real time to functional changes in the process.
| Event | When it is emitted | Suggested action |
|---|---|---|
| OPERATION_OPENED | The payer opens the operation URL | Log the open or interaction start |
| OPERATION_COMPLETED | The operation completes successfully | Mark the invoice or charge as paid |
| OPERATION_REJECTED | The user or the bank rejects the operation | Notify the collections team |
| OPERATION_EXPIRED | The operation reaches its expiration date | Mark as overdue |
| OPERATION_CANCELLED | The operation is cancelled via API or Dashboard | Update internal state |
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "OPERATION_OPENED",
"eventUuid": "fdba93d4-3f32-5fce-8c6b-36736e67f492",
"timestamp": "2026-09-17T09:40:02.117Z",
"resource": {
"uuid": "bd51a1af-7779-4010-a876-0630851a1858",
"externalId": "OP-2026-000123",
"status": "OPENED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "OPERATION_OPENED",
"eventUuid": "fdba93d4-3f32-5fce-8c6b-36736e67f492",
"timestamp": "2026-09-17T09:40:02.117Z",
"resource": {
"uuid": "bd51a1af-7779-4010-a876-0630851a1858",
"externalId": "OP-2026-000123",
"status": "OPENED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "OPERATION_REJECTED",
"eventUuid": "40df6070-422c-520f-af35-f1331317b125",
"timestamp": "2026-09-17T09:46:31.900Z",
"resource": {
"uuid": "bd51a1af-7779-4010-a876-0630851a1858",
"externalId": "OP-2026-000123",
"status": "REJECTED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "OPERATION_REJECTED",
"eventUuid": "40df6070-422c-520f-af35-f1331317b125",
"timestamp": "2026-09-17T09:46:31.900Z",
"resource": {
"uuid": "bd51a1af-7779-4010-a876-0630851a1858",
"externalId": "OP-2026-000123",
"status": "REJECTED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "OPERATION_COMPLETED",
"eventUuid": "13e83b92-13d8-5b6d-94c0-05feb58d3189",
"timestamp": "2026-09-17T09:41:12.480Z",
"resource": {
"uuid": "bd51a1af-7779-4010-a876-0630851a1858",
"externalId": "OP-2026-000123",
"status": "COMPLETED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "OPERATION_COMPLETED",
"eventUuid": "13e83b92-13d8-5b6d-94c0-05feb58d3189",
"timestamp": "2026-09-17T09:41:12.480Z",
"resource": {
"uuid": "bd51a1af-7779-4010-a876-0630851a1858",
"externalId": "OP-2026-000123",
"status": "COMPLETED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "OPERATION_EXPIRED",
"eventUuid": "d863ec53-51f6-5434-83d0-96de7e909fb3",
"timestamp": "2026-09-24T00:00:05.001Z",
"resource": {
"uuid": "bd51a1af-7779-4010-a876-0630851a1858",
"externalId": "OP-2026-000123",
"status": "EXPIRED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "OPERATION_EXPIRED",
"eventUuid": "d863ec53-51f6-5434-83d0-96de7e909fb3",
"timestamp": "2026-09-24T00:00:05.001Z",
"resource": {
"uuid": "bd51a1af-7779-4010-a876-0630851a1858",
"externalId": "OP-2026-000123",
"status": "EXPIRED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "OPERATION_CANCELLED",
"eventUuid": "ea318317-8c89-5ffd-8c4d-77cc51bdf3f5",
"timestamp": "2026-09-17T11:20:49.748Z",
"resource": {
"uuid": "bd51a1af-7779-4010-a876-0630851a1858",
"externalId": "OP-2026-000123",
"status": "CANCELLED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "OPERATION_CANCELLED",
"eventUuid": "ea318317-8c89-5ffd-8c4d-77cc51bdf3f5",
"timestamp": "2026-09-17T11:20:49.748Z",
"resource": {
"uuid": "bd51a1af-7779-4010-a876-0630851a1858",
"externalId": "OP-2026-000123",
"status": "CANCELLED"
}
}PSD2_PAYMENT_* events represent the real banking state of a PSD2 payment processed by Zertiban. Unlike the functional flow or operation events, these events reflect the payment's banking evolution directly within the PSD2 infrastructure and allow syncing real financial states with ERPs, reconciliation systems or treasury engines.
They are emitted automatically as the payment progresses through the banking ecosystem and provide full visibility on the real financial state of the transaction.
| Event | When it is emitted | Suggested action |
|---|---|---|
| PSD2_PAYMENT_STATUS_PENDING | The payment was initiated and is pending | Log the payment as in progress |
| PSD2_PAYMENT_STATUS_AUTHORIZED | The bank authorised the payment successfully | Confirm bank authorisation |
| PSD2_PAYMENT_STATUS_SETTLED | The payment was settled successfully | Reconcile and close the charge |
| PSD2_PAYMENT_STATUS_PENDING_SETTLED | The payment is pending final settlement | Keep financial tracking active |
| PSD2_PAYMENT_STATUS_REJECTED | The payment was rejected | Handle the incident or retry |
PSD2 events follow specific rules to avoid duplicates and guarantee functional consistency.
Event deduplication. Before emitting a PSD2 webhook, Zertiban verifies that no event has already been sent for the same payment and the same PSD2 status. This guarantees delivery idempotency and prevents functional duplicates.
Special restriction for rejected payments. The PSD2_PAYMENT_STATUS_REJECTED event is only emitted if the payment has previously reached a valid prior transactional state in its life cycle. This keeps the functional sequence of financial states consistent.
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "PSD2_PAYMENT_STATUS_PENDING",
"eventUuid": "778fb46b-f31f-524c-87da-fc25e8c2f99e",
"timestamp": "2026-09-17T09:41:05.233Z",
"resource": {
"paymentUuid": "14c56ab6-d0f0-4b13-9a9a-d9e722aff880",
"psd2Payment": {
"status": {
"status": "PAYMENT_STATUS_PENDING",
"code": "PENDING",
"step": "PAYMENT_STATUS_PENDING"
}
}
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "PSD2_PAYMENT_STATUS_PENDING",
"eventUuid": "778fb46b-f31f-524c-87da-fc25e8c2f99e",
"timestamp": "2026-09-17T09:41:05.233Z",
"resource": {
"paymentUuid": "14c56ab6-d0f0-4b13-9a9a-d9e722aff880",
"psd2Payment": {
"status": {
"status": "PAYMENT_STATUS_PENDING",
"code": "PENDING",
"step": "PAYMENT_STATUS_PENDING"
}
}
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "PSD2_PAYMENT_STATUS_AUTHORIZED",
"eventUuid": "0904353e-f46f-550c-99c7-0744ca63f4cf",
"timestamp": "2026-09-17T09:41:09.871Z",
"resource": {
"paymentUuid": "14c56ab6-d0f0-4b13-9a9a-d9e722aff880",
"psd2Payment": {
"status": {
"status": "PAYMENT_DETAILS_VALID_AUTHORIZED",
"code": "AUTHORIZED",
"step": "PAYMENT_DETAILS_AUTHORIZED_VALID"
}
}
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "PSD2_PAYMENT_STATUS_AUTHORIZED",
"eventUuid": "0904353e-f46f-550c-99c7-0744ca63f4cf",
"timestamp": "2026-09-17T09:41:09.871Z",
"resource": {
"paymentUuid": "14c56ab6-d0f0-4b13-9a9a-d9e722aff880",
"psd2Payment": {
"status": {
"status": "PAYMENT_DETAILS_VALID_AUTHORIZED",
"code": "AUTHORIZED",
"step": "PAYMENT_DETAILS_AUTHORIZED_VALID"
}
}
}
}Other psd2Payment.status variants. The rest of the body is identical.
{
"status": {
"status": "PAYMENT_DETAILS_AUTHORIZED_FAILED",
"code": "AUTHORIZED",
"step": "PAYMENT_DETAILS_AUTHORIZED_FAILED"
}
}{
"status": {
"status": "PAYMENT_DETAILS_AUTHORIZED_REJECTED",
"code": "AUTHORIZED",
"step": "PAYMENT_DETAILS_AUTHORIZED_REJECTED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "PSD2_PAYMENT_STATUS_PENDING_SETTLED",
"eventUuid": "85a73fb3-00d0-58f5-8a82-fff1336e30c5",
"timestamp": "2026-09-17T09:41:10.406Z",
"resource": {
"paymentUuid": "14c56ab6-d0f0-4b13-9a9a-d9e722aff880",
"psd2Payment": {
"status": {
"status": "PAYMENT_DETAILS_VALID_PENDING_SETTLED",
"code": "PENDING_SETTLED",
"step": "PAYMENT_DETAILS_VALID_PENDING_SETTLED"
}
}
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "PSD2_PAYMENT_STATUS_PENDING_SETTLED",
"eventUuid": "85a73fb3-00d0-58f5-8a82-fff1336e30c5",
"timestamp": "2026-09-17T09:41:10.406Z",
"resource": {
"paymentUuid": "14c56ab6-d0f0-4b13-9a9a-d9e722aff880",
"psd2Payment": {
"status": {
"status": "PAYMENT_DETAILS_VALID_PENDING_SETTLED",
"code": "PENDING_SETTLED",
"step": "PAYMENT_DETAILS_VALID_PENDING_SETTLED"
}
}
}
}Other psd2Payment.status variants. The rest of the body is identical.
{
"status": {
"status": "PAYMENT_DETAILS_PENDING_SETTLED_FAILED",
"code": "PENDING_SETTLED",
"step": "PAYMENT_DETAILS_PENDING_SETTLED_FAILED"
}
}{
"status": {
"status": "PAYMENT_DETAILS_PENDING_SETTLED_REJECTED",
"code": "PENDING_SETTLED",
"step": "PAYMENT_DETAILS_PENDING_SETTLED_REJECTED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "PSD2_PAYMENT_STATUS_SETTLED",
"eventUuid": "33936899-3ca5-5345-9c8e-0ce358bed0a3",
"timestamp": "2026-09-17T14:02:51.640Z",
"resource": {
"paymentUuid": "14c56ab6-d0f0-4b13-9a9a-d9e722aff880",
"psd2Payment": {
"status": {
"status": "PAYMENT_DETAILS_VALID_SETTLED",
"code": "SETTLED",
"step": "PAYMENT_DETAILS_SETTLED_VALID"
}
}
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "PSD2_PAYMENT_STATUS_SETTLED",
"eventUuid": "33936899-3ca5-5345-9c8e-0ce358bed0a3",
"timestamp": "2026-09-17T14:02:51.640Z",
"resource": {
"paymentUuid": "14c56ab6-d0f0-4b13-9a9a-d9e722aff880",
"psd2Payment": {
"status": {
"status": "PAYMENT_DETAILS_VALID_SETTLED",
"code": "SETTLED",
"step": "PAYMENT_DETAILS_SETTLED_VALID"
}
}
}
}Other psd2Payment.status variants. The rest of the body is identical.
{
"status": {
"status": "PAYMENT_DETAILS_SETTLED_FAILED",
"code": "SETTLED",
"step": "PAYMENT_DETAILS_SETTLED_FAILED"
}
}{
"status": {
"status": "PAYMENT_DETAILS_SETTLED_REJECTED",
"code": "SETTLED",
"step": "PAYMENT_DETAILS_SETTLED_REJECTED"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "PSD2_PAYMENT_STATUS_REJECTED",
"eventUuid": "fdeb032c-9380-549e-b05e-23dfa2e90a64",
"timestamp": "2026-09-17T09:43:18.512Z",
"resource": {
"paymentUuid": "6f1e9c3b-2a8d-4e7f-b5c0-9d4a2e8f1b77",
"psd2Payment": {
"status": {
"status": "PAYMENT_STATUS_REJECTED_PAYMENT_REJECTED",
"code": "REJECTED",
"step": "PAYMENT_STATUS_REJECTED"
}
}
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "PSD2_PAYMENT_STATUS_REJECTED",
"eventUuid": "fdeb032c-9380-549e-b05e-23dfa2e90a64",
"timestamp": "2026-09-17T09:43:18.512Z",
"resource": {
"paymentUuid": "6f1e9c3b-2a8d-4e7f-b5c0-9d4a2e8f1b77",
"psd2Payment": {
"status": {
"status": "PAYMENT_STATUS_REJECTED_PAYMENT_REJECTED",
"code": "REJECTED",
"step": "PAYMENT_STATUS_REJECTED"
}
}
}
}This family exists for Partners and Agents. A collaborator registers client organisations and cannot operate on their behalf until they are active; BUSINESS_* events are what tell it so. Invitations have their own family: Invitation events.
They sit outside the transactional cycle: they report an organisation's state, not a charge. If you integrate Zertiban for your own organisation they add nothing — you already know when you completed your own registration.
| Event | When it is emitted | Suggested action |
|---|---|---|
| BUSINESS_ACTIVATED | A client organisation completes its registration and becomes active | Issue a delegated token for it and start operating |
The resource carries the activated organisation's UUID in uuid and its state in status. It has no externalId, and resource.uuid matches metadata.businessUuid:
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "BUSINESS_ACTIVATED",
"eventUuid": "4abd98ec-3b8a-5e1a-b2c0-829fb0125869",
"timestamp": "2026-09-16T16:12:40.207Z",
"resource": {
"uuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"status": "ACTIVE"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "BUSINESS_ACTIVATED",
"eventUuid": "4abd98ec-3b8a-5e1a-b2c0-829fb0125869",
"timestamp": "2026-09-16T16:12:40.207Z",
"resource": {
"uuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"status": "ACTIVE"
}
}If the registration is attributed to several collaborators, the organisation receives the copy without collaboration and each collaborator receives its own carrying its own identifier (b47d2e91-6c0a-4f5e-8a3d-1e9c7b2f4d58 for the second one).
resource.uuid is the UUID of the client organisation that has just been activated: the one you will pass as target_tenant when requesting the delegated token. metadata.collaboration.businessUuid is your own collaborator UUID, the one the registration was attributed to. If the registration is attributed to several collaborators, each one receives its own copy carrying its own identifier.
You must have the type subscribed on your webhook: having an endpoint registered does not imply receiving it. And deduplicate by eventUuid, which is identical across every copy of the same event and every one of its retries.
BUSINESS_INVITATION_* events report the state changes of an invitation to join an organisation. They share the BUSINESS_* prefix but are a separate family: the resource is the invitation, not the organisation.
There are two kinds of invitation, carried in resource.type:
type | Origin |
|---|---|
TEAM_MEMBERSHIP | Invitation of a user to the organisation's team, sent from the Dashboard (Invite a user) |
COLLABORATOR_ORIGIN | Invitation issued through a collaborator: the one the administrator of a client organisation receives when a Partner or Agent registers it |
The organisation always receives them. If the invitation comes from a collaborator, that collaborator receives them too, with its UUID in metadata.collaboration.businessUuid, as explained in Collaborator attribution.
| Event | When it is emitted | Suggested action |
|---|---|---|
| BUSINESS_INVITATION_CREATED | A pending invitation has been issued, either new or as the resend of another one | Show the invitation as pending |
| BUSINESS_INVITATION_ACCEPTED | The invitee has accepted the invitation | Mark the access as granted |
| BUSINESS_INVITATION_EXPIRED | The invitation link has expired without being accepted | Offer to resend it |
| BUSINESS_INVITATION_CANCELLED | The invitation has been cancelled: it was resent, another one replaced it, or the organisation was activated | If it carries replacedByInvitationUuid, track the new invitation |
_CREATED is the only non-final state: _ACCEPTED, _EXPIRED or _CANCELLED will follow. An invitation never produces two final events.
The resource of this family has no externalId. It always includes:
| Field | Description |
|---|---|
uuid | Identifier of the invitation |
status | PENDING, ACCEPTED, EXPIRED or CANCELLED |
type | TEAM_MEMBERSHIP or COLLABORATOR_ORIGIN |
_CREATED and _CANCELLED add the fields specific to their status, which are omitted from the others.
Subscription
Each of these types must be subscribed on your webhook configuration for you to receive it, like any other type.
status is PENDING. If the invitation was issued as the resend of another one, it adds resentFromInvitationUuid with the identifier of the previous one. If that one was still pending, it is closed with BUSINESS_INVITATION_CANCELLED and reason RESENT, or with BUSINESS_INVITATION_EXPIRED if its link had already expired; if it was already EXPIRED, it emits no further event. The previous invitation's event and this one can arrive in any order: see Ordering and out-of-order delivery.
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "a9b6e1c1-3b49-4a2f-9d3e-3c9a1c66f6a3"
},
"eventType": "BUSINESS_INVITATION_CREATED",
"eventUuid": "1e4f7a2b-8c3d-4e9f-a0b1-2c3d4e5f6a78",
"timestamp": "2026-10-15T08:45:12.104Z",
"resource": {
"uuid": "4e8a2c6d-1f3b-4d5e-8a7c-9b0d1e2f3a41",
"status": "PENDING",
"type": "TEAM_MEMBERSHIP"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "a9b6e1c1-3b49-4a2f-9d3e-3c9a1c66f6a3",
"collaboration": {
"businessUuid": "9b1f0e6a-2f3a-4a1e-9c3a-2a6b1c7d8e9f"
}
},
"eventType": "BUSINESS_INVITATION_CREATED",
"eventUuid": "3f0c2b1a-9d8e-4c7b-a6f5-0e1d2c3b4a59",
"timestamp": "2026-10-15T09:00:00.512Z",
"resource": {
"uuid": "7d2c1a4e-5b6f-4c8d-9e0a-1b2c3d4e5f60",
"status": "PENDING",
"type": "COLLABORATOR_ORIGIN",
"resentFromInvitationUuid": "2b7b0d8b-2d7b-4f63-9ddc-8e2c6a5c0b3a"
}
}status is ACCEPTED. For a COLLABORATOR_ORIGIN invitation, accepting it is the step before the client organisation becomes active: once it is, you will receive BUSINESS_ACTIVATED.
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "a9b6e1c1-3b49-4a2f-9d3e-3c9a1c66f6a3"
},
"eventType": "BUSINESS_INVITATION_ACCEPTED",
"eventUuid": "5c1d9e7a-3b2f-4a8c-b6d4-9e0f1a2b3c47",
"timestamp": "2026-10-16T10:30:00.271Z",
"resource": {
"uuid": "4e8a2c6d-1f3b-4d5e-8a7c-9b0d1e2f3a41",
"status": "ACCEPTED",
"type": "TEAM_MEMBERSHIP"
}
}status is EXPIRED. The invitation link expired without anyone accepting it; to invite the user again it has to be resent, which issues a new invitation.
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "a9b6e1c1-3b49-4a2f-9d3e-3c9a1c66f6a3"
},
"eventType": "BUSINESS_INVITATION_EXPIRED",
"eventUuid": "6d2e0f8b-4c3a-4b9d-87e5-0f1a2b3c4d58",
"timestamp": "2026-10-22T00:00:00.038Z",
"resource": {
"uuid": "9a1b3c5d-7e8f-4a0b-b2c4-d6e8f0a1b2c3",
"status": "EXPIRED",
"type": "TEAM_MEMBERSHIP"
}
}status is CANCELLED. It always adds cancellationReason:
cancellationReason | Meaning |
|---|---|
RESENT | The invitation was resent; the new one replaces it |
SUPERSEDED | A more recent invitation to the same email was issued |
BUSINESS_ACTIVATED | The organisation was activated and the invitation is no longer needed |
With RESENT or SUPERSEDED it also adds replacedByInvitationUuid, the identifier of the invitation that replaces it; with BUSINESS_ACTIVATED it is omitted.
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "a9b6e1c1-3b49-4a2f-9d3e-3c9a1c66f6a3",
"collaboration": {
"businessUuid": "9b1f0e6a-2f3a-4a1e-9c3a-2a6b1c7d8e9f"
}
},
"eventType": "BUSINESS_INVITATION_CANCELLED",
"eventUuid": "8a7b6c5d-4e3f-4a2b-9c1d-0e9f8a7b6c5d",
"timestamp": "2026-10-20T08:00:00.645Z",
"resource": {
"uuid": "7d2c1a4e-5b6f-4c8d-9e0a-1b2c3d4e5f60",
"status": "CANCELLED",
"type": "COLLABORATOR_ORIGIN",
"cancellationReason": "RESENT",
"replacedByInvitationUuid": "0c3d5e7f-9a1b-4c2d-8e4f-6a8b0c2d4e61"
}
}CREDITOR_ACCOUNT_VERIFICATION_* events report the outcome of a request to add a beneficiary account to an organisation, created from the Dashboard or with Create a creditor-account verification attempt.
Adding an account is not immediate: the account holder authorises a €0.01 verification payment from their bank, Zertiban checks that the account holder matches the organisation, and only then registers it. These events tell you how that process ended without having to poll the request.
| Event | When it is emitted | Suggested action |
|---|---|---|
| CREDITOR_ACCOUNT_VERIFICATION_PENDING | The bank has not confirmed the verification payment yet; the result is delayed | Show the request as pending |
| CREDITOR_ACCOUNT_VERIFICATION_COMPLETED | The beneficiary account has been added to the organisation | Store creditorAccount.uuid and start using it |
| CREDITOR_ACCOUNT_VERIFICATION_FAILED | The beneficiary account has not been added | Report the reason and, where relevant, offer a retry |
The full sequence is: request created → holder redirected to the bank → _PENDING (optional) → _COMPLETED or _FAILED. Details of the request are in Beneficiary accounts.
CREDITOR_ACCOUNT_VERIFICATION_PENDING is not final: _COMPLETED or _FAILED will always follow, and the wait may last days. If the bank confirms in time there is no pending event and you receive the final one directly. A request never produces two final events.
The resource of this family differs from the others: uuid identifies the request (the one returned by the creation endpoint), not the account, and there is no externalId. It always includes:
| Field | Description |
|---|---|
uuid | Identifier of the request to add the beneficiary account |
status | PENDING, COMPLETED or FAILED: the final segment of eventType |
channel | Channel the request was created from: API or DASHBOARD |
Each event adds the fields specific to its status, which are omitted from the others.
If a collaborator creates the request with its delegated token, the request is attributed to it: the organisation and the collaborator receive the same body, with metadata.collaboration.businessUuid identifying the collaborator, as explained in Collaborator attribution.
Subscription
Each of these types must be subscribed on your webhook configuration for you to receive it. Configurations that already existed when they were released were subscribed to all three by default, using the URL of their first subscription; on a new configuration, request them like any other type.
Adds pendingReason, why the result is delayed. Its only value today is PAYMENT_PENDING (the bank has received the verification payment but has not confirmed it yet); others may be added, so handle unknown values gracefully.
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "CREDITOR_ACCOUNT_VERIFICATION_PENDING",
"eventUuid": "4f6c2a1e-8d3b-4c7a-9e15-2b7d0f3a6c91",
"timestamp": "2026-10-09T09:14:02.318Z",
"resource": {
"uuid": "b8f1c0d2-6a3e-4f19-9c47-2d51e0a7b6f3",
"status": "PENDING",
"channel": "API",
"pendingReason": "PAYMENT_PENDING"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "CREDITOR_ACCOUNT_VERIFICATION_PENDING",
"eventUuid": "4f6c2a1e-8d3b-4c7a-9e15-2b7d0f3a6c91",
"timestamp": "2026-10-09T09:14:02.318Z",
"resource": {
"uuid": "b8f1c0d2-6a3e-4f19-9c47-2d51e0a7b6f3",
"status": "PENDING",
"channel": "API",
"pendingReason": "PAYMENT_PENDING"
}
}Adds creditorAccount, the beneficiary account that has been registered:
| Field | Description |
|---|---|
creditorAccount.uuid | creditorAccountUuid of the new account, the one you can pass when registering operations |
creditorAccount.alias | Account alias. Omitted when it has none |
creditorAccount.isDefault | Whether it is the organisation's default beneficiary account |
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "CREDITOR_ACCOUNT_VERIFICATION_COMPLETED",
"eventUuid": "9a3e5d7c-1b2f-4e8a-b6c4-7d0e2f9a1b35",
"timestamp": "2026-10-09T09:19:08.744Z",
"resource": {
"uuid": "b8f1c0d2-6a3e-4f19-9c47-2d51e0a7b6f3",
"status": "COMPLETED",
"channel": "API",
"creditorAccount": {
"uuid": "5a9d3e17-4b28-4c60-9f31-8e7a2d0b6c54",
"alias": "Collections account",
"isDefault": true
}
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "CREDITOR_ACCOUNT_VERIFICATION_COMPLETED",
"eventUuid": "9a3e5d7c-1b2f-4e8a-b6c4-7d0e2f9a1b35",
"timestamp": "2026-10-09T09:19:08.744Z",
"resource": {
"uuid": "b8f1c0d2-6a3e-4f19-9c47-2d51e0a7b6f3",
"status": "COMPLETED",
"channel": "API",
"creditorAccount": {
"uuid": "5a9d3e17-4b28-4c60-9f31-8e7a2d0b6c54",
"alias": "Collections account",
"isDefault": true
}
}
}Always adds verificationResult, the outcome of the ownership check, and sometimes registrationResult, why the account could not be registered. Read registrationResult first: when present, it is the more specific reason.
verificationResult | Meaning |
|---|---|
VERIFIED | Ownership was verified, but registration failed afterwards. The reason is in registrationResult |
OWNER_MISMATCH | The account holder reported by the bank does not match the organisation |
NOT_DETERMINABLE | The bank did not provide the account holder's name, so it could not be checked |
METHOD_FAILED | The verification payment was not completed |
registrationResult is only present when registration was actually attempted:
registrationResult | Meaning |
|---|---|
ALREADY_ACTIVE | The account is already registered and enabled for the organisation |
ALREADY_DISABLED | The account is already registered but disabled. Enable it from the Dashboard instead of adding it |
UNAVAILABLE | The account cannot be linked to this organisation |
BUSINESS_NOT_ACTIVE | The organisation stopped being active before registration completed |
ACCOUNT_NOT_REPORTED | The bank confirmed ownership but did not provide the account number |
INVALID_ACCOUNT_TYPE | The bank provided the account in a format other than IBAN |
INVALID_ACCOUNT_NUMBER | The account number failed validation |
In every case the €0.01 verification payment, if it was charged, is refunded.
{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "CREDITOR_ACCOUNT_VERIFICATION_FAILED",
"eventUuid": "c2d8e4f6-3a5b-4c9d-8e1f-6b7a0c2d4e83",
"timestamp": "2026-10-09T09:21:40.152Z",
"resource": {
"uuid": "d1e7f3a9-2b4c-4d6e-9f81-3a5c7e9b1d24",
"status": "FAILED",
"channel": "DASHBOARD",
"verificationResult": "VERIFIED",
"registrationResult": "UNAVAILABLE"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334"
},
"eventType": "CREDITOR_ACCOUNT_VERIFICATION_FAILED",
"eventUuid": "e6a0b2c4-5d7f-4e9a-8b1c-3d5f7a9b0c26",
"timestamp": "2026-10-09T09:23:15.907Z",
"resource": {
"uuid": "4b8d2f6a-9c1e-4a3b-8d5f-7e9a1c3b5d62",
"status": "FAILED",
"channel": "API",
"verificationResult": "OWNER_MISMATCH"
}
}{
"metadata": {
"apiVersion": "v1",
"businessUuid": "3b90ee0e-f85e-4591-a0b2-5c785a860334",
"collaboration": {
"businessUuid": "208da71f-aac8-4a74-8a3d-c07fa7cca9f6"
}
},
"eventType": "CREDITOR_ACCOUNT_VERIFICATION_FAILED",
"eventUuid": "e6a0b2c4-5d7f-4e9a-8b1c-3d5f7a9b0c26",
"timestamp": "2026-10-09T09:23:15.907Z",
"resource": {
"uuid": "4b8d2f6a-9c1e-4a3b-8d5f-7e9a1c3b5d62",
"status": "FAILED",
"channel": "API",
"verificationResult": "OWNER_MISMATCH"
}
}resource contain in each event? The resource payload depends on the event type:
| Event type | Contents |
|---|---|
FLOW_* | Aggregate information about the flow |
OPERATION_* | Operation information |
PSD2_PAYMENT_* | PSD2 payment information |
BUSINESS_* | uuid and status of the organisation concerned |
BUSINESS_INVITATION_* | uuid, status and type of the invitation, plus the fields specific to each status |
CREDITOR_ACCOUNT_VERIFICATION_* | uuid, status and channel of the request, plus the fields specific to each status |
PSD2_PAYMENT_* events represent the real financial state of the payment and are the best source for bank reconciliation, ERP updates, treasury and financial automation.
OPERATION_COMPLETED for UX and business logic The OPERATION_COMPLETED event represents the functional completion of the user experience and is typically used to release orders, mark invoices, show confirmations or advance business processes.
Every webhook consumer must be designed to tolerate retries, duplicate events and out-of-order delivery. Persist eventUuid and apply idempotent processing, see Delivery and Retries.
The webhook endpoint should verify the signature, persist the event, respond 200 OK and process in the background. This improves resilience and avoids unnecessary retries.