Skip to content
Developer Docs

Event Reference ​

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:

  • The receiving HTTPS endpoint.
  • The environment: Sandbox or Production.
  • The webhook event types to subscribe to.

Once configured, Zertiban will push real-time notifications whenever a relevant state change occurs.

Functional event model ​

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.

LevelRepresents
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 ​

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.

EventWhen it is emitted
FLOW_IN_PROGRESSAt least one operation in the flow was opened
FLOW_COMPLETEDAll operations in the flow completed successfully
FLOW_REJECTEDAll operations were rejected
FLOW_NOT_COMPLETEDThe flow ended with no operation completed
FLOW_PARTIALLY_COMPLETEDSome operations completed and the rest did not
FLOW_EXPIREDAll operations expired
FLOW_CANCELLEDThe flow was cancelled

FLOW_IN_PROGRESS ​

json
{
  "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"
  }
}
json
{
  "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"
  }
}

FLOW_REJECTED ​

json
{
  "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"
  }
}
json
{
  "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"
  }
}

FLOW_NOT_COMPLETED ​

json
{
  "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"
  }
}
json
{
  "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"
  }
}

FLOW_PARTIALLY_COMPLETED ​

json
{
  "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"
  }
}
json
{
  "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"
  }
}

FLOW_COMPLETED ​

json
{
  "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"
  }
}
json
{
  "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"
  }
}

FLOW_EXPIRED ​

json
{
  "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"
  }
}
json
{
  "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"
  }
}

FLOW_CANCELLED ​

json
{
  "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"
  }
}
json
{
  "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 ​

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.

EventWhen it is emittedSuggested action
OPERATION_OPENEDThe payer opens the operation URLLog the open or interaction start
OPERATION_COMPLETEDThe operation completes successfullyMark the invoice or charge as paid
OPERATION_REJECTEDThe user or the bank rejects the operationNotify the collections team
OPERATION_EXPIREDThe operation reaches its expiration dateMark as overdue
OPERATION_CANCELLEDThe operation is cancelled via API or DashboardUpdate internal state

OPERATION_OPENED ​

json
{
  "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"
  }
}
json
{
  "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"
  }
}

OPERATION_REJECTED ​

json
{
  "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"
  }
}
json
{
  "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"
  }
}

OPERATION_COMPLETED ​

json
{
  "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"
  }
}
json
{
  "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"
  }
}

OPERATION_EXPIRED ​

json
{
  "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"
  }
}
json
{
  "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"
  }
}

OPERATION_CANCELLED ​

json
{
  "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"
  }
}
json
{
  "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 ​

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.

EventWhen it is emittedSuggested action
PSD2_PAYMENT_STATUS_PENDINGThe payment was initiated and is pendingLog the payment as in progress
PSD2_PAYMENT_STATUS_AUTHORIZEDThe bank authorised the payment successfullyConfirm bank authorisation
PSD2_PAYMENT_STATUS_SETTLEDThe payment was settled successfullyReconcile and close the charge
PSD2_PAYMENT_STATUS_PENDING_SETTLEDThe payment is pending final settlementKeep financial tracking active
PSD2_PAYMENT_STATUS_REJECTEDThe payment was rejectedHandle the incident or retry

Emission rules and idempotency ​

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.

PSD2_PAYMENT_STATUS_PENDING ​

json
{
  "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"
      }
    }
  }
}
json
{
  "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"
      }
    }
  }
}

PSD2_PAYMENT_STATUS_AUTHORIZED ​

json
{
  "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"
      }
    }
  }
}
json
{
  "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.

json
{
  "status": {
    "status": "PAYMENT_DETAILS_AUTHORIZED_FAILED",
    "code": "AUTHORIZED",
    "step": "PAYMENT_DETAILS_AUTHORIZED_FAILED"
  }
}
json
{
  "status": {
    "status": "PAYMENT_DETAILS_AUTHORIZED_REJECTED",
    "code": "AUTHORIZED",
    "step": "PAYMENT_DETAILS_AUTHORIZED_REJECTED"
  }
}

PSD2_PAYMENT_STATUS_PENDING_SETTLED ​

json
{
  "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"
      }
    }
  }
}
json
{
  "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.

json
{
  "status": {
    "status": "PAYMENT_DETAILS_PENDING_SETTLED_FAILED",
    "code": "PENDING_SETTLED",
    "step": "PAYMENT_DETAILS_PENDING_SETTLED_FAILED"
  }
}
json
{
  "status": {
    "status": "PAYMENT_DETAILS_PENDING_SETTLED_REJECTED",
    "code": "PENDING_SETTLED",
    "step": "PAYMENT_DETAILS_PENDING_SETTLED_REJECTED"
  }
}

PSD2_PAYMENT_STATUS_SETTLED ​

json
{
  "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"
      }
    }
  }
}
json
{
  "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.

json
{
  "status": {
    "status": "PAYMENT_DETAILS_SETTLED_FAILED",
    "code": "SETTLED",
    "step": "PAYMENT_DETAILS_SETTLED_FAILED"
  }
}
json
{
  "status": {
    "status": "PAYMENT_DETAILS_SETTLED_REJECTED",
    "code": "SETTLED",
    "step": "PAYMENT_DETAILS_SETTLED_REJECTED"
  }
}

PSD2_PAYMENT_STATUS_REJECTED ​

json
{
  "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"
      }
    }
  }
}
json
{
  "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"
      }
    }
  }
}

Organisation events ​

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.

EventWhen it is emittedSuggested action
BUSINESS_ACTIVATEDA client organisation completes its registration and becomes activeIssue a delegated token for it and start operating

BUSINESS_ACTIVATED ​

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:

json
{
  "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"
  }
}
json
{
  "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.

Invitation events ​

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:

typeOrigin
TEAM_MEMBERSHIPInvitation of a user to the organisation's team, sent from the Dashboard (Invite a user)
COLLABORATOR_ORIGINInvitation 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.

EventWhen it is emittedSuggested action
BUSINESS_INVITATION_CREATEDA pending invitation has been issued, either new or as the resend of another oneShow the invitation as pending
BUSINESS_INVITATION_ACCEPTEDThe invitee has accepted the invitationMark the access as granted
BUSINESS_INVITATION_EXPIREDThe invitation link has expired without being acceptedOffer to resend it
BUSINESS_INVITATION_CANCELLEDThe invitation has been cancelled: it was resent, another one replaced it, or the organisation was activatedIf 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:

FieldDescription
uuidIdentifier of the invitation
statusPENDING, ACCEPTED, EXPIRED or CANCELLED
typeTEAM_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.

BUSINESS_INVITATION_CREATED ​

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.

json
{
  "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"
  }
}
json
{
  "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"
  }
}

BUSINESS_INVITATION_ACCEPTED ​

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.

json
{
  "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"
  }
}

BUSINESS_INVITATION_EXPIRED ​

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.

json
{
  "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"
  }
}

BUSINESS_INVITATION_CANCELLED ​

status is CANCELLED. It always adds cancellationReason:

cancellationReasonMeaning
RESENTThe invitation was resent; the new one replaces it
SUPERSEDEDA more recent invitation to the same email was issued
BUSINESS_ACTIVATEDThe 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.

json
{
  "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"
  }
}

Beneficiary account events ​

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.

EventWhen it is emittedSuggested action
CREDITOR_ACCOUNT_VERIFICATION_PENDINGThe bank has not confirmed the verification payment yet; the result is delayedShow the request as pending
CREDITOR_ACCOUNT_VERIFICATION_COMPLETEDThe beneficiary account has been added to the organisationStore creditorAccount.uuid and start using it
CREDITOR_ACCOUNT_VERIFICATION_FAILEDThe beneficiary account has not been addedReport 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:

FieldDescription
uuidIdentifier of the request to add the beneficiary account
statusPENDING, COMPLETED or FAILED: the final segment of eventType
channelChannel 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.

CREDITOR_ACCOUNT_VERIFICATION_PENDING ​

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.

json
{
  "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"
  }
}
json
{
  "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"
  }
}

CREDITOR_ACCOUNT_VERIFICATION_COMPLETED ​

Adds creditorAccount, the beneficiary account that has been registered:

FieldDescription
creditorAccount.uuidcreditorAccountUuid of the new account, the one you can pass when registering operations
creditorAccount.aliasAccount alias. Omitted when it has none
creditorAccount.isDefaultWhether it is the organisation's default beneficiary account
json
{
  "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
    }
  }
}
json
{
  "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
    }
  }
}

CREDITOR_ACCOUNT_VERIFICATION_FAILED ​

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.

verificationResultMeaning
VERIFIEDOwnership was verified, but registration failed afterwards. The reason is in registrationResult
OWNER_MISMATCHThe account holder reported by the bank does not match the organisation
NOT_DETERMINABLEThe bank did not provide the account holder's name, so it could not be checked
METHOD_FAILEDThe verification payment was not completed

registrationResult is only present when registration was actually attempted:

registrationResultMeaning
ALREADY_ACTIVEThe account is already registered and enabled for the organisation
ALREADY_DISABLEDThe account is already registered but disabled. Enable it from the Dashboard instead of adding it
UNAVAILABLEThe account cannot be linked to this organisation
BUSINESS_NOT_ACTIVEThe organisation stopped being active before registration completed
ACCOUNT_NOT_REPORTEDThe bank confirmed ownership but did not provide the account number
INVALID_ACCOUNT_TYPEThe bank provided the account in a format other than IBAN
INVALID_ACCOUNT_NUMBERThe account number failed validation

In every case the €0.01 verification payment, if it was charged, is refunded.

json
{
  "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"
  }
}
json
{
  "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"
  }
}
json
{
  "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"
  }
}

What does resource contain in each event? ​

The resource payload depends on the event type:

Event typeContents
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

Functional recommendations ​

Use PSD2 events for bank reconciliation ​

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.

Use 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.

Idempotent webhook consumers ​

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.