Create a facility

Underwriting runs inline, so the response already carries the decision. On approval
the facility comes back APPROVED with its credit_limit, CLC has registered the
lien and set the required-collateral floor, and the borrower can draw against it.
On a decline it comes back DECLINED with a decline_reason. Nothing further is
required of you either way.

CLC also emits facility.decisioned for the same decision, so a consumer that
only listens to webhooks stays in sync. It carries no information the response did
not already give you.

Requires scope facility:create and an ELIGIBLE borrower.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
string
enum
required
Allowed:
Headers
string
required
length ≤ 255

Required on every mutation. Unique per (tenant, key). Stored 24 h; a replay returns the original response with Idempotent-Replay: true.

string
required
^[0-9]{10}$

Unix seconds. Requests outside a ±5 minute window are rejected, and the value is part of the signed canonical request.

string
required
length between 88 and 88
^[A-Za-z0-9+/]{86}==$

Base64 of the Ed25519 signature over the canonical request. Ed25519 signatures are always 64 bytes, so this is always 88 characters ending in ==.

Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json