All pages
Powered by GitBook
1 of 1

Loading...

Inv - Fund Capital Event Assets

Once an investor funds a capital call, that fact needs to be recorded in the Corastone portal. Here, an asset represents multiple shares, or a lot, of the corresponding security.

Details

/external/v1/capital-events/{capitalEventId}/assets/fund

Synopsis

Important Notes

  • See Blockchain Transaction Tracking for information on using orchestrationId and processId.

Fund Capital Event Assets

put

This route is used to trigger the funding of the capital event by investors (specific to capital calls) on a batch of assets.

This should be called to let the issuer know when the investors meet their capital obligations

It triggers an asynchronous process that will persist this information on the blockchain, which can be monitored using the "Transactions API" endpoints.

This endpoint can be invoked if the security is in one of the following statuses: ["active","completed","approved_revert_to_active","closed"].

This endpoint can be invoked if the capital event is in one of the following statuses: ["active","closed"]

This endpoint can be invoked by organizations that have at least one of the following roles on this security: ["investor"].

This endpoint can be called by applications with access to scope "manageCapitalEvent".

Authorizations
Path parameters
capitalEventIdanyRequired

The id that uniquely identifies the capital event on the ledger.

Example: TEST5678
Body
transactionDataall ofRequired

This property contains the transactional data information, i.e. which is the security where the capital event is happening

Example: {"securityId":"USS3JKS01I00","signer":{"email":"[email protected]","name":"John Doe"}}
Responses
200
Successfully triggered the process to mark the capital call as funded on a batch of assets. The "processId" and "orchestrationId" properties can be used on the "Transactions API" to monitor the status of this asynchronous process.
application/json
400
The following error codes can be returned: - GN0002 - TX0006 - CE0006 - CE0003 - AS0018 - AS0013 Please refer to the error code dictionary for the details of each error code.
application/json
401
The following error codes can be returned: - AU0001 - AU0003 Please refer to the error code dictionary for the details of each error code.
application/json
403
The following error codes can be returned: - AU0002 - CE0002 - IS0099 - AS0023 Please refer to the error code dictionary for the details of each error code.
application/json
404
The following error codes can be returned: - CE0001 Please refer to the error code dictionary for the details of each error code.
application/json
409
The following error codes can be returned: - IS0013 - IS0012 - IS0015 - CE0005 - CE0027 - CE0028 - CE0044 Please refer to the error code dictionary for the details of each error code.
application/json
put
PUT /external/v1/capital-events/{capitalEventId}/assets/fund HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 271

{
  "transactionData": {
    "securityId": "USS3JKS01I00",
    "signer": {
      "email": "[email protected]",
      "name": "John Doe"
    }
  },
  "assetsData": [
    {
      "assetId": "US9QIMAOAS1Q",
      "settlementData": {
        "amount": 1000,
        "date": "2024-09-12T00:00:00.000Z"
      },
      "extraData": {
        "whatever": "Extra Data that is needed"
      }
    }
  ]
}
{
  "processId": "2159457f-0167-4e93-a969-9cf0db05e0bf",
  "orchestrationId": "2159457f-0167-4e93-a969-9cf0db05e0bf"
}