Lender API
Two API families, one authentication and error model. The Lender API (/v1) lets funding partners pull their deal flow, report statuses, submit offers, message clients, and receive webhooks. The Partner API (/partner/v1) lets referral partners submit and track referrals and receive webhooks. Both are authenticated with an X-API-Key header and share the same error envelope, rate limit, and webhook signing scheme.
The Lender API is the funding side of the marketplace: pull the deals routed to your lane, report what you did with them, submit offers, message the client and collect the documents you need.
Every request carries an X-API-Key header. Every response uses the same error envelope and every list is paged the
same way. Start on the sandbox server: the playground on each page below sends there by
default.
Operations
Meta
Liveness and auth check.
Deals
Read and update deals routed to your lane. You never create one: a business applies on the marketplace, the request is matched against your lane, and the deal is pushed to your endpoint or waits in the list. See the deal lifecycle guide for the three ways a deal can reach you and for what the object carries before and after the client uploads documents.
Messages
The client conversation on a deal.
Documents
Typed document requests on a deal.
Completion
Close out an accepted deal without the client leaving the marketplace: attach your agreement, read the confirmed payout account, follow the signing state.
Webhooks
Register endpoints to receive deal events.
Test deals
Create and remove test deals in the sandbox. These two calls exist on sandbox.capvant.com only; every other endpoint works on both hosts.
Inbound status
Push deal status changes to Capvant from your own system. One URL per lender, one JSON shape for everyone. No API key: the secret in the URL identifies you. Copy the URL from your Lender Hub, Integration page.
Base URLs
| Environment | Base URL |
|---|---|
| Sandbox | https://sandbox.capvant.com/v1 |
| Production | https://api.capvant.com/v1 |
