Get Partner Settlement

get/api/network/v1/enterprises/{enterpriseId}/partners/settlements/{settlementId}

Returns a settlement for your OES partner account by its ID. This endpoint provides detailed information about a specific settlement, including its status, amounts, and related transfers.

Error scenarios:

  • 400: Invalid Request Error

  • Occurs when the request parameters are invalid or malformed.

  • Examples: Invalid UUID format for settlementId, invalid enterpriseId format.

  • 401: Authentication Error

  • Occurs when the request is not authorized.

  • Examples: Caller is not a member of the enterprise.

  • 403: Permission Denied Error

  • Occurs when the authenticated partner doesn't have necessary permissions.

  • Examples: Enterprise does not have OES license.

  • 404: Not Found Error

  • Occurs when the specified settlement cannot be found.

  • Examples: Settlement ID doesn't exist or doesn't belong to this partner.

  • 500: Internal Server Error

  • Occurs when there's an unexpected server error processing the request.

  • Examples: Database connection issues.

Path Parameters

  • enterpriseIdstringRequired
    The enterprise identifier of the partner. This identifies the partner enterprise making the API request.
    Min length: >= 1 characters
  • settlementIdstringRequired
    The unique identifier of the settlement to retrieve. This is a UUID that uniquely identifies the settlement record.

Query Parameters

  • sourceNetworkAccountIdsarray[string]
    Filter by specific source network account IDs. When provided, only settlement transfers from these network accounts will be included.
  • sourceTradingAccountIdsarray[string]
    Filter by specific source trading account IDs. When provided, only settlement transfers from these trading accounts will be included.
  • destinationNetworkAccountIdsarray[string]
    Filter by specific destination network account IDs. When provided, only settlement transfers to these network accounts will be included.
  • destinationTradingAccountIdsarray[string]
    Filter by specific destination trading account IDs. When provided, only settlement transfers to these trading accounts will be included.
  • currenciesarray[string]
    Filter by specific currencies. When provided, only settlement transfers involving these currencies will be included.
  • pageNumberstring<integer>
    The page number (integer) you wish to fetch. When provided, the API will skip pageSize * pageNumber records. Page numbers are zero-based, so the first page is 0. If not provided, defaults to 0.
  • pageSizestring
    The page size (integer) you wish to fetch. When provided, the API will return at most pageSize records per page. If not provided, a default page size defined by the server will be used.

200 Response

settlementOne ofrequired
The complete settlement object.
id string required
The unique identifier of the settlement. This is a UUID that uniquely identifies the settlement record.
partnerId string required
The unique identifier of the partner the settlement is associated with. This is a UUID that uniquely identifies the partner.
externalId string required
External identifier provided by the partner when creating the settlement.
Min length: >= 1 characters
status string required
Allowed value: pending
settlementType string required
The type of settlement. Possible values are: - onchain: The settlement is on-chain. - offchain: The settlement is off-chain.
Allowed values: onchain offchain
reconciled boolean required
Whether or not the settlement is reconciled against trade data. Currently there are no reconciled settlements. This field is always false.
initiatedBy string required
Id of the user which initiated the settlement.
Min length: >= 1 characters
notes string
The notes associated with the settlement. This is a free-form text field that can contain any additional information about the settlement.
Min length: >= 1 characters
createdAt string <date-time>required
The date and time when the settlement was created. This is a timestamp in ISO 8601 format.
updatedAt string <date-time>required
The date and time when the settlement was last updated. This is a timestamp in ISO 8601 format.
rtId string
Routed transaction id associated with the settlement. This is a UUID that uniquely identifies the routed transaction. This field is only populated for on-chain settlements for partners with automation enabled.
lossSLAAlertSent boolean required
Whether or not an alert has been sent if loss settlement SLA is close to being breached. Only relevant for on-chain settlements.
gainSLAAlertSent boolean required
Whether or not an alert has been sent if gain settlement SLA is close to being breached. Only relevant for on-chain settlements.
cutoffAt string <date-time>
The date and time of the newest trade being settled in the partner system. This is a timestamp in ISO 8601 format. This field is only populated for dispute enabled partners.
disputed boolean
Whether or not a dispute was raised on this settlement.
settlementTransfers array[object] required
The settlement transfers associated with the settlement.
id string required
The unique identifier of the settlement transfer. This is a UUID that uniquely identifies the settlement transfer record.
createdAt string <date-time>required
The date and time when the settlement transfer was created. Represented as an ISO 8601 formatted date string.
updatedAt string <date-time>required
The date and time when the settlement transfer was last updated. Represented as an ISO 8601 formatted date string.
currency string required
The currency involved in the settlement movement.
Min length: >= 1 characters
settlementId string required
The unique identifier of the settlement the settlement transfer is associated with. This is a UUID that uniquely identifies the settlement.
disputeClosureId string
The unique identifier of the dispute closure the settlement transfer was created from. This is a UUID that uniquely identifies dispute closure if the transfer was created as a result of closing a dispute.
quantity string required
The amount of currency being transferred in the settlement transfer. This is a non-zero value represented as a string. If the value is positive, that means funds were moved from the source account to the destination account. If the value is negative, that means funds were moved from the destination account to the source account.
txIds array[string] required
The transaction IDs associated with the settlement transfer. Only populated once the transfer is completed.
status string required
The status of the settlement transfer. Possible values and implications are: - pending: The transfer is pending and has not yet been processed. - pending_onchain: The transfer is pending on-chain movement (only relevant to on-chain settlements). - onchain_initiated: The transfer has been initiated on-chain (only relevant to on-chain settlements). - onchain_failed: The on-chain transfer has failed (only relevant to on-chain settlements). - completed: The transfer has been completed successfully. - failed: The transfer has failed. - rejected: The transfer has been rejected. - disputed: The transfer is disputed.
Allowed values: pending pending_onchain onchain_initiated onchain_failed completed failed rejected disputed pending_settlement_assignment
sourceTradingAccountId string required
The go account id of the source party.
Min length: >= 1 characters
sourceNetworkAccountId string
The network account id of the source party.
destinationTradingAccountId string required
The go account id of the destination party.
Min length: >= 1 characters
destinationNetworkAccountId string required
The network account id of the destination party.
settlingDisputes array[object] required
The disputes that are being settled as part of this settlement.
settledInSettlementId string required
disputeClosureId string required
disputeClosure object required
id string required
createdAt string <date-time>required
updatedAt string <date-time>required
connectionId string required
disputedSettlementId string required
userId string required
Min length: >= 1 characters
expectedTransfers dictionary<string, string> required
retracted boolean required
reason string
Min length: >= 1 characters
retractedBy string
Min length: >= 1 characters
retractedAt string <date-time>
retractedReason string
Min length: >= 1 characters
settlementDisputes array[object] required
The disputes that were raised on this settlement.
disputeClosure object
id string required
createdAt string <date-time>required
updatedAt string <date-time>required
connectionId string required
disputedSettlementId string required
userId string required
Min length: >= 1 characters
expectedTransfers dictionary<string, string> required
retracted boolean required
settledInSettlementId string
reason string
Min length: >= 1 characters
retractedBy string
Min length: >= 1 characters
retractedAt string <date-time>
disputeClosureId string
retractedReason string
Min length: >= 1 characters

400 Response

401 Response

error string required

403 Response

error string required

404 Response

error string required

500 Response

error string required