Create settlement

post/api/clearing/v1/enterprise/{enterpriseId}/account/{accountId}/settlement

Creates a settlement.

Path Parameters

  • accountIdstringRequired
  • enterpriseIdstringRequired

Request Body

externalId string required
counterpartyAccountId string required
assetTransfers array[object] required
currency string required
quantity string required
notation string

200 Response

approvalRequests array[object] required
approvedAt string <date>
createdAt string <date>required
updatedAt string <date>required
id string required
accountId string required
status string required
Allowed values: acknowledged canceled rejected approved pending failed overdue expired
payload string required
signature string
settlementTransfers array[object] required
createdAt string <date>required
updatedAt string <date>required
id string required
sourceTradingAccountId string required
destinationTradingAccountId string required
currency string required
quantity string required
txIds array[string]
requesterAccountName string required
finalizedAt string <date>
createdAt string <date>required
updatedAt string <date>required
id string required
externalId string required
notation string
requesterAccountId string required
status string required
Allowed values: canceled rejected pending failed expired settled
type string required
Allowed value: direct

400 Response

401 Response

error string required
errorName string required

409 Response

error string required
errorName string required

500 Response

error string required
errorName string required