Create a repayment

Requires scope repayment:create.

Applied as a waterfall — interest, then fees, then principal — so a repayment smaller than the accrued interest moves no principal at all. Headroom for future draws is restored once it lands.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
integer
≥ 1

The margin warning this repayment is curing, by its number on this facility. Optional, and worth sending whenever it applies.
CLC can guess — a repayment that lands while a warning is open is probably the cure — but a borrower who repays for their own reasons during a warning window makes that guess wrong, and the guess decides whether a deadline was met. Say which one and there is nothing to infer.

string
required
^\d+(\.\d+)?$

String decimal, never a float

string
required
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