Delete a test deal
Only ever deletes rows recognised as test deals by their internal.invalid contact email; a real deal's ref always 404s here. Sandbox only: call it on sandbox.capvant.com with your usual API key (the Lender API has no separate sandbox key). On the production host it answers 404, because a test deal is a sandbox object.
Authorization
ApiKeyAuth Lender keys start with cv_live_; Partner keys start with cv_pk_. Shown once at creation, sent on every request. The Lender API has no separate sandbox key: the same cv_live_ key works on sandbox.capvant.com, where only your test deals exist.
In: header
Path Parameters
The deal reference as it appears on the deal, for example 93A41205CE. Case-insensitive. Treat it as an opaque string: do not validate a prefix or a pattern.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://sandbox.capvant.com/test/deals/string"{ "ok": true, "ref": "string", "deleted": true}Create a test deal POST
Previous Page
Inbound status
Push deal status changes to Capvant from your own system. One URL per lender, one JSON shape for everyone, and your own lead id is enough to find the deal. No API key: the secret in the URL identifies you. Copy the URL from your Lender Hub, Integration page.
