v1

latestOpenAPI 3.0.02026-08-04134348905.1 KB
Collateral Management

Create a new collateral package

Permissions required: Manage Collateral Packages and Read vault activity

Creates a new collateral package in the Collateral Management service.

post/collateral_management/packages

Headers

Api-Signaturestring required

A hex-encoded Ed25519 signature of timestamp_epoch_seconds + uppercase(http_method) + request_path + request_body.

Construction example:

toHex(
  ed25519Sign(
    signing_key,
    '{}{}{}{}'.format(timestamp_epoch_seconds, toUpper(httpMethod), httpRequestPath, httpBody)
  )
)
Api-Timestampinteger required

Current timestamp, represented as unix epoch seconds

Request body

clientReferenceIdstring

A reference identifier provided by the client for this collateral package

ltvRoundingPrecisioninteger

Number of decimal places to round LTV values to

pledgorIdstring required

Collateral management participant ID of the Pledgor (borrower) associated with this collateral package

priceStrategy'DEFAULT' | 'BID' | 'ASK' | 'MID' | 'LAST' required

This field specifies the pricing strategy to be used for the collateral package. To be implemented in the future

securedPartyIdstring required

Unique identifier of the secured party (lender) associated with this collateral package

Response

Successfully created collateral package

packageIdstring required