Capvant

Upload your funding agreement

put
https://sandbox.capvant.com/v1/deals/{ref}/agreement
PUT
/deals/{ref}/agreement

File name shown to the client. Defaults to funding-agreement.pdf.

The PDF, base64 encoded.

White label completion: send your agreement as a PDF and the client signs it on the marketplace, in the brand they applied through. The document carries your name; the journey does not leave the marketplace, so there is no link to follow and nothing to rebuild on your side. Maximum 15 MB. Send it once the client has accepted your firm offer. When the client signs, deal.agreement_signed fires and the signature verification reference appears on the completion state.

Authorization

ApiKeyAuth
X-API-Key<token>

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

ref*string

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.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

Shell
curl -X PUT "https://sandbox.capvant.com/deals/string/agreement" \  -H "Content-Type: application/json" \  -d '{    "content": "string"  }'
JSON
{  "ok": true,  "agreement": {    "filename": "string",    "bytes": 0  }}