/api/network/v2/enterprises/{enterpriseId}/partners/settlements
Used by dispute enabled exchange partners to stage a settlement for connected clients.
This endpoint will:
This endpoint is idempotent and can safely be called again with the same exact request body without worrying about creating multiple settlements.
Please note that provided settlement amounts should be based solely on new trading activity that was not included in the last settlement. Instructions from closed, unsettled disputes should not be included in the calculation of settlement instructions on the Settlement will be processed asynchronously once initiated, after dispute / top up window have elapsed.
400: Invalid Request Error
Occurs when the request parameters are invalid or malformed.
Examples: Invalid format for settlement amounts, missing required fields, invalid signature.
401: Authentication Error or Incomplete Settlement
Occurs when the request is not authorized or cannot be completed immediately.
Examples: Caller is not a member of the enterprise, signature verification failed.
403: Permission Denied Error
Occurs when the authenticated partner doesn't have necessary permissions.
Examples: Enterprise does not have OES license
409: Conflict Error
Occurs when the request conflicts with current state.
Examples: Settlement already exists with the same externalId and different properties.
422: Unprocessable Content
Occurs when the request is authenticated and permitted but is unable to be processed.
Examples: the liabilities for one or more connection exceed their allocated balance.
500: Internal Server Error or Incomplete Settlement
Occurs when there's an unexpected server error processing the request.
Examples: Database connection issues, settlement initiated but not completed due to transient errors.
enterpriseId
stringRequired>= 1 characters
externalId
string required >= 1 characters
notes
string >= 1 characters
settlementAmounts
One ofrequired
dictionary<string, string> nonce
string required >= 1 characters
payload
string required >= 1 characters
signature
string required >= 1 characters
cutoffAt
string <date-time>
required settlement
object required cutoffAt
string <date-time>
required settlingDisputes
array[object] required id
string required partnerId
string required externalId
string required >= 1 characters
status
string required pending
settlementType
string required onchain
offchain
reconciled
boolean required initiatedBy
string required >= 1 characters
notes
string >= 1 characters
createdAt
string <date-time>
required updatedAt
string <date-time>
required rtId
string lossSLAAlertSent
boolean required gainSLAAlertSent
boolean required disputed
boolean error
string required error
string required error
string required error
string required error
string required