Release Pledge Units
Returns locked units to the borrower's spendable balance.
Authorization
AuthorizationRequiredBearer <token>Enter your token in the format: Bearer {token}
In: header
Request Body
application/jsonRequiredunitsRequiredstringUnits to release, in minor units. Must be greater than zero and no more than the pledge's locked_units.
Path Parameters
pledgeIDRequiredstringPledge ID
Response Body
Success response
idRequiredstringHold ID. This is also the transaction ID of the underlying hold transaction. Each lock, release or enforcement action closes the current hold and returns a new one with its own ID, so use the latest hold for a pledge rather than a stored ID.
lender_legal_entity_idRequiredstringpledge_idRequiredstringPledge the hold is placed on
assetRequiredstringThe currency in which the amount is made (e.g. USD, EUR, SGD)
instrument_typestringInstrument asset the held units belong to, e.g. TBILL. units is denominated in this asset's minor units.
unitsRequiredstringUnits of the pledged instrument in minor units, as a decimal string. Instrument assets such as TBILL, MMF and BONDS have 6 decimals, so 1.5 units is "1500000".
statusRequiredstringLifecycle status of a hold. locked units are reserved for the lender; dispute_window means enforcement has started and the borrower may still dispute until dispute_deadline; enforced units were transferred to the lender; released units were returned to the borrower's spendable balance; cancelled means enforcement was cancelled and the units were moved to a new locked hold; failed is terminal with no units reserved.
"locked" | "dispute_window" | "enforced" | "released" | "cancelled" | "failed"dispute_deadlinestringSet when enforcement starts and kept on the hold afterwards. While the status is dispute_window, enforcement completes automatically at this time unless cancelled.
date-timefee_amountstringEnforcement fee for this hold, in minor units of fee_asset. Set when enforcement starts and billed to the lender's account separately; it is not deducted from the enforced units. Absent on holds that never entered enforcement, and "0" when no fee applies.
fee_assetstringAsset of fee_amount. Omitted when no fee applies.
created_atRequiredstringdate-timeupdated_atRequiredstringdate-time