A Participant can defund a position.
PUT {{baseUrl}}/defunding/:senderBic
The ReleaseLiquidity request allows the Participant to defund the desired amount from its Position in the SCT Inst to its DCA account in TIPS; the system shall check that the amount to be defunded is less than or equal to the available position of the Participant in the system and, if not, the request shall be rejected. The Participant is allowed to ask for the defunding of the entire amount corresponding to its position. If the Participant belongs to a Pool and the Liquidity Position of the Pool is lesser than the amount to be defunded, the request shall be rejected. If the Participant is an LSP whose liquidity management is delegated, the request is rejected with ErrorCode XA14. If the Participant is an LP, it is allowed to send the ReleaseLiquidity Request on behalf of the LSPs whose liquidity management is responsible for. If the Participant is the Owner of a Pool, it is allowed to use this request to defund the liquidity of another not-suspended BIC that is a Member of the Pool, from the Position of the MemberBic in the system to the DCA account of the MemberBic in TIPS. The response contains the confirmation or rejection of the request. Please, note that the request can be sent to SCT Inst only if the “FREEZE TIPS Exchange Liquidity” command has not been issued, otherwise the request will be rejected with ErrorCode XA09.
Request Body
{"dateTime"=>"2019-06-21T23:20:50.000001", "releaseInfo"=>{"amount"=>599623850221655.4, "lspBic"=>"IPSDID21", "memberBic"=>"IPSDID21", "poolId"=>"IPSDID21XXX01"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
ivUserKey | string | The subscription key of a Participant. Following the format cn=<SSO+BIC+UserId+T>,o=BIC8,o=swift. SSO is a fixed string, last character is for environment (P for production and T for test) eg SSOUNCRITMMAPI12345P, o=uncritmm,o=swift | |
ivUserBic | string | ||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"dateTime":"2019-06-21T23:20:50.000001","remainingAmount":650699256506031.9}