Replace the portfolio source

Besides the changes you push, CLC reads portfolios on its own, so one missed push
does not leave the collateral stale. Point us at an endpoint of yours and we will
call it.

Give a full HTTPS URL containing the {borrower_id} placeholder, which CLC
substitutes the borrower's id on each call, so you have to store our
bor_… id alongside the portfolio on your side. Plain HTTP is rejected.

CLC issues a GET and expects the same body it would accept on
PUT /v1/borrowers/{borrowerId}/portfolio,
as_of plus the complete positions.

If your endpoint needs authentication, set header_name and header_value and
CLC sends that header on every call. Sending a name without a value is rejected.
The value is stored write-only: it is never returned by
GET /v1/portfolio-source and never appears in a
response.

Requires scope borrower:write.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
uri
required
^https://

Full HTTPS URL containing the {borrower_id} placeholder, which CLC replaces on each call. Plain HTTP is rejected.

string

Header CLC sends on every call, if your endpoint needs one

string

Required whenever you send header_name. Write-only, stored encrypted and never returned.

Headers
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