Use API credentials to view and manage instruments.
Optimal Outcomes
/- OpenAPI Specs
- Transfer Position
- Initiate a retirement request
Retrieve retirement request details
Initiate a retirement req...
Transfer Position External API (1.0.0)
Download OpenAPI description
Languages
Servers
https://optimalapi-ext.apx.com/transfer/v1/
https://optimalapi-uat-ext.apx.com/transfer/v1/
Bodyapplication/jsonrequired
Populated RetirementBatchRetrieveByIdentifierRequest
If permitted, allows the caller to retrieve retirement batches on behalf of another account holder, identifying that account holder by their system-assigned srcAcctId.
- https://optimalapi-ext.apx.com/transfer/v1/api/ledger/{ledgerIdentifier}/retirementBatch/byIdentifier
- https://optimalapi-uat-ext.apx.com/transfer/v1/api/ledger/{ledgerIdentifier}/retirementBatch/byIdentifier
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://optimalapi-ext.apx.com/transfer/v1/api/ledger/4b7375e9-79b0-4b8b-a89e-a21607f0239f/retirementBatch/byIdentifier \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"onBehalfOfSrcAcctId": "string",
"retirementBatchIdentifiers": "3574500f-6df3-400e-abc9-e6aeb64f03c7"
}'Response
application/json
{ "retirementBatches": [ { … } ] }
Bodyapplication/jsonrequired
Populated BulkRetirementRequest
If permitted, allows the caller to retire on behalf of another account holder, identifying that account holder by their system-assigned srcAcctId.
- https://optimalapi-ext.apx.com/transfer/v1/api/ledger/{ledgerIdentifier}/retire
- https://optimalapi-uat-ext.apx.com/transfer/v1/api/ledger/{ledgerIdentifier}/retire
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://optimalapi-ext.apx.com/transfer/v1/api/ledger/4b7375e9-79b0-4b8b-a89e-a21607f0239f/retire \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"onBehalfOfSrcAcctId": "string",
"requests": [
{
"liabilityHoldingIdentifier": "476022",
"retirementReasonCode": "COMPLIANCE_REQUIREMENTS",
"holdingCriteria": [
{
"holdingIdentifier": "476099",
"quantity": 3
}
],
"correlationId": "string",
"subaccountIdentifier": "string",
"retirementParameters": {}
}
],
"shadowedLedgerRetirementOptions": {
"suppressShadowedLedgerInteraction": true,
"shadowedLedgerRetirementIdentifiersByHoldingIdentifier": {
"property1": {
"holdingIdentifier": "string",
"shadowedLedgerEntityIdentifier": "string"
},
"property2": {
"holdingIdentifier": "string",
"shadowedLedgerEntityIdentifier": "string"
}
}
}
}'Response
application/json
{ "responses": [ { … } ] }
subaccount-v1
View or create subaccounts. Use subaccounts to organize your account’s instruments. All accounts have a "Default" subaccount, where all new issuances and incoming transfers will be deposited. Subaccounts may also be used to delegate instrument management to an authorized third party.
Operations