Skip to main content

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

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

data schema

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

Example