Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.zestequity.com/llms.txt

Use this file to discover all available pages before exploring further.

When fired

Emitted after a Zest admin approves the SPV request and the underlying SPV is fully materialised — i.e. an Opportunity, Vehicle, SP, and SPC have been created and committed.

Envelope fields

eventId
string
required
Unique per delivery.
eventType
string
required
Always "spv_request.completed".
occurredAt
string (ISO 8601 UTC)
required
Timestamp of the approval.
data
object
required
See payload schema below.

data schema

spvRequestSlug
string
required
Stable Zest-side identifier of the SPV request.
templateId
string
required
Contract template id used.
templateVersion
string
required
Contract template version.
tenantSlug
string
required
Tenant slug.
attributes
object
required
The originally-submitted, validated attributes map.
status
string
required
Always "approved" for this event.
materialisedRefs
object
required
Slugs of the materialised entities. Keys: opportunitySlug, vehicleSlug, spSlug, spcSlug.
approvedAt
string (ISO 8601 UTC)
required
Timestamp the admin approved the request.

Example

{
  "eventId": "wde_84a72f12d77a09bb",
  "eventType": "spv_request.completed",
  "occurredAt": "2026-05-08T09:30:00.000Z",
  "data": {
    "spvRequestSlug": "svr_a1b2c3",
    "templateId": "syndicate_secondary",
    "templateVersion": "1.0.0",
    "tenantSlug": "acme",
    "attributes": { "underlyingCompanySlug": "co_acme" },
    "status": "approved",
    "materialisedRefs": {
      "opportunitySlug": "opp_zyx789",
      "vehicleSlug": "veh_klm456",
      "spSlug": "sp_qrs321",
      "spcSlug": "spc_def987"
    },
    "approvedAt": "2026-05-08T09:30:00.000Z"
  }
}