Create a new exposure
Permissions required: Manage Collateral Exposures and Read vault activity
Creates a new exposure in the Collateral Management service.
Api-Signature.
Authorizations
An API key associated with a security role
Headers
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)
)
)^[0-9A-Fa-f]{128,160}$Current timestamp, represented as unix epoch seconds
Body
The details for creating a new collateral exposure
The request payload for creating a new collateral exposure.
CM Exposure Asset tracking config
ID of the collateral package (packageId)
This field specifies the pricing strategy to be used for the collateral package. To be implemented in the future
DEFAULT, BID, ASK, MID, LAST Type of exposure
LOAN A reference identifier provided by the client for this collateral exposure. For example: client’s internal loan ID
Response
Successfully created collateral exposure

