All pages
Powered by GitBook
1 of 1

Loading...

Inv - Allocate Transfer Assets

Details

/external/v1/transfer/{transferId}/allocate-assets

Synopsis

Important Notes

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

Allocate Transfer Assets

put

This route is used to trigger request by sender investor organization to allocate assets.

Investor that owns assets can execute this action, then once this call is completed the transfer will be marked as approved by sender on the ledger.

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 by organizations that have at least one of the following roles on this security: ["investor"].

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 transfer is in one of the following statuses: ["approved_by_issuer"].

This endpoint can't be invoked if the security is restricted.

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

Authorizations
Path parameters
transferIdanyRequired

The id that uniquely identifies the transfer on the ledger.

Example: TEST0000
Body
transactionDataall ofRequired

This property contains the transactional data information, i.e. which is the security where the remediation request was created

Example: {"securityId":"USS3JKS01I00","signer":{"email":"[email protected]","name":"John Doe"}}
Responses
200
Successfully triggered transfer assets allocation.
application/json
400
The following error codes can be returned: - GN0002 - IS0008 - IS0106 - TR0002 - TR0022 - TR0023 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 - IS0099 Please refer to the error code dictionary for the details of each error code.
application/json
404
The following error codes can be returned: - IS0009 - TR0001 Please refer to the error code dictionary for the details of each error code.
application/json
409
The following error codes can be returned: - IS0063 - IS0013 - IS0002 - IS0012 - TR0003 - TR0006 - TR0004 - TR0017 - TR0013 - TR0015 - TR0016 - TR0014 - TR0019 - TR0036 - TR0020 - TR0037 - AS0030 Please refer to the error code dictionary for the details of each error code.
application/json
put
PUT /external/v1/transfer/{transferId}/allocate-assets HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 214

{
  "transactionData": {
    "securityId": "USS3JKS01I00",
    "signer": {
      "email": "[email protected]",
      "name": "John Doe"
    }
  },
  "input": [
    {
      "assetId": "TEST1234",
      "sharesNumber": 50.1234
    },
    {
      "assetId": "TEST5678",
      "sharesNumber": 200.987566
    }
  ]
}
{
  "processId": "2159457f-0167-4e93-a969-9cf0db05e0bf",
  "orchestrationId": "2159457f-0167-4e93-a969-9cf0db05e0bf",
  "transferId": "US9QIMAOAS1Q",
  "fileIds": [
    "US9QIFILE1",
    "US9QIFILE2"
  ],
  "referenceData": {
    "account": {
      "accountId": "US9QIMAOAS1Q",
      "custodian": {
        "custodianId": "US9ZIMAOAS1Q"
      }
    },
    "investors": [
      {
        "investorId": "US9QIM123S1Q"
      }
    ]
  }
}