Get Partner Settlement
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.
Requires access token scope: settlement_network_read
Path Params
-
enterpriseIdstring requiredThe enterprise identifier of the partner. This identifies the partner enterprise making the API request. -
settlementIdstring requiredThe unique identifier of the settlement to retrieve. This is a UUID that uniquely identifies the settlement record.
Query Params
-
sourceNetworkAccountIdsarray of stringsFilter by specific source network account IDs. When provided, only settlement transfers from these network accounts will be included. -
sourceTradingAccountIdsarray of stringsFilter by specific source trading account IDs. When provided, only settlement transfers from these trading accounts will be included. -
destinationNetworkAccountIdsarray of stringsFilter by specific destination network account IDs. When provided, only settlement transfers to these network accounts will be included. -
destinationTradingAccountIdsarray of stringsFilter by specific destination trading account IDs. When provided, only settlement transfers to these trading accounts will be included. -
currenciesarray of stringsFilter by specific currencies. When provided, only settlement transfers involving these currencies will be included. -
pageNumberstring integerThe 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. -
pageSizestringThe 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.
Responses
200
OK
Response Body
object
-
settlementobject requiredThe complete settlement object.ONE OF
-
idstring requiredThe unique identifier of the settlement. This is a UUID that uniquely identifies the settlement record. -
partnerIdstring requiredThe unique identifier of the partner the settlement is associated with. This is a UUID that uniquely identifies the partner. -
externalIdstring requiredExternal identifier provided by the partner when creating the settlement. -
statusstring enum requiredpending -
settlementTypestring enum requiredThe type of settlement. Possible values are:
- onchain: The settlement is on-chain.
- offchain: The settlement is off-chain.
onchainoffchain -
reconciledboolean requiredWhether or not the settlement is reconciled against trade data. Currently there are no reconciled settlements. This field is always false. -
initiatedBystring requiredId of the user which initiated the settlement. -
notesstringThe notes associated with the settlement. This is a free-form text field that can contain any additional information about the settlement. -
createdAtstring date-time requiredThe date and time when the settlement was created. This is a timestamp in ISO 8601 format. -
updatedAtstring date-time requiredThe date and time when the settlement was last updated. This is a timestamp in ISO 8601 format. -
rtIdstringRouted 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. -
lossSLAAlertSentboolean requiredWhether or not an alert has been sent if loss settlement SLA is close to being breached. Only relevant for on-chain settlements. -
gainSLAAlertSentboolean requiredWhether or not an alert has been sent if gain settlement SLA is close to being breached. Only relevant for on-chain settlements. -
cutoffAtstring date-timeThe 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. -
disputedbooleanWhether or not a dispute was raised on this settlement.
-
idstring requiredThe unique identifier of the settlement. This is a UUID that uniquely identifies the settlement record. -
partnerIdstring requiredThe unique identifier of the partner the settlement is associated with. This is a UUID that uniquely identifies the partner. -
externalIdstring requiredExternal identifier provided by the partner when creating the settlement. -
reasonstring required -
statusstring enum requiredfailed -
settlementTypestring enum requiredThe type of settlement. Possible values are:
- onchain: The settlement is on-chain.
- offchain: The settlement is off-chain.
onchainoffchain -
reconciledboolean requiredWhether or not the settlement is reconciled against trade data. Currently there are no reconciled settlements. This field is always false. -
initiatedBystring requiredId of the user which initiated the settlement. -
notesstringThe notes associated with the settlement. This is a free-form text field that can contain any additional information about the settlement. -
createdAtstring date-time requiredThe date and time when the settlement was created. This is a timestamp in ISO 8601 format. -
updatedAtstring date-time requiredThe date and time when the settlement was last updated. This is a timestamp in ISO 8601 format. -
rtIdstringRouted 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. -
lossSLAAlertSentboolean requiredWhether or not an alert has been sent if loss settlement SLA is close to being breached. Only relevant for on-chain settlements. -
gainSLAAlertSentboolean requiredWhether or not an alert has been sent if gain settlement SLA is close to being breached. Only relevant for on-chain settlements. -
cutoffAtstring date-timeThe 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. -
disputedbooleanWhether or not a dispute was raised on this settlement.
-
idstring requiredThe unique identifier of the settlement. This is a UUID that uniquely identifies the settlement record. -
partnerIdstring requiredThe unique identifier of the partner the settlement is associated with. This is a UUID that uniquely identifies the partner. -
externalIdstring requiredExternal identifier provided by the partner when creating the settlement. -
statusstring enum requiredcompleted -
settlementTypestring enum requiredThe type of settlement. Possible values are:
- onchain: The settlement is on-chain.
- offchain: The settlement is off-chain.
onchainoffchain -
reconciledboolean requiredWhether or not the settlement is reconciled against trade data. Currently there are no reconciled settlements. This field is always false. -
initiatedBystring requiredId of the user which initiated the settlement. -
notesstringThe notes associated with the settlement. This is a free-form text field that can contain any additional information about the settlement. -
createdAtstring date-time requiredThe date and time when the settlement was created. This is a timestamp in ISO 8601 format. -
updatedAtstring date-time requiredThe date and time when the settlement was last updated. This is a timestamp in ISO 8601 format. -
finalizedAtstring date-time required -
rtIdstringRouted 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. -
lossSLAAlertSentboolean requiredWhether or not an alert has been sent if loss settlement SLA is close to being breached. Only relevant for on-chain settlements. -
gainSLAAlertSentboolean requiredWhether or not an alert has been sent if gain settlement SLA is close to being breached. Only relevant for on-chain settlements. -
cutoffAtstring date-timeThe 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. -
disputedbooleanWhether or not a dispute was raised on this settlement.
-
idstring requiredThe unique identifier of the settlement. This is a UUID that uniquely identifies the settlement record. -
partnerIdstring requiredThe unique identifier of the partner the settlement is associated with. This is a UUID that uniquely identifies the partner. -
externalIdstring requiredExternal identifier provided by the partner when creating the settlement. -
reasonstring required -
statusstring enum requiredrejected -
settlementTypestring enum requiredThe type of settlement. Possible values are:
- onchain: The settlement is on-chain.
- offchain: The settlement is off-chain.
onchainoffchain -
reconciledboolean requiredWhether or not the settlement is reconciled against trade data. Currently there are no reconciled settlements. This field is always false. -
initiatedBystring requiredId of the user which initiated the settlement. -
notesstringThe notes associated with the settlement. This is a free-form text field that can contain any additional information about the settlement. -
createdAtstring date-time requiredThe date and time when the settlement was created. This is a timestamp in ISO 8601 format. -
updatedAtstring date-time requiredThe date and time when the settlement was last updated. This is a timestamp in ISO 8601 format. -
finalizedAtstring date-time required -
rtIdstringRouted 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. -
lossSLAAlertSentboolean requiredWhether or not an alert has been sent if loss settlement SLA is close to being breached. Only relevant for on-chain settlements. -
gainSLAAlertSentboolean requiredWhether or not an alert has been sent if gain settlement SLA is close to being breached. Only relevant for on-chain settlements. -
cutoffAtstring date-timeThe 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. -
disputedbooleanWhether or not a dispute was raised on this settlement.
-
-
settlementTransfersarray of objects requiredsettlementTransfers object
-
idstring requiredThe unique identifier of the settlement transfer. This is a UUID that uniquely identifies the settlement transfer record. -
createdAtstring date-time requiredThe date and time when the settlement transfer was created. Represented as an ISO 8601 formatted date string. -
updatedAtstring date-time requiredThe date and time when the settlement transfer was last updated. Represented as an ISO 8601 formatted date string. -
currencystring requiredThe currency involved in the settlement movement. -
settlementIdstring requiredThe unique identifier of the settlement the settlement transfer is associated with. This is a UUID that uniquely identifies the settlement. -
disputeClosureIdstringThe 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. -
quantitystring requiredThe 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. -
txIdsarray of strings required -
statusstring enum requiredThe 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.
pendingpending_onchainonchain_initiatedonchain_failedcompletedfailedrejecteddisputedpending_settlement_assignment -
sourceTradingAccountIdstring requiredThe go account id of the source party. -
sourceNetworkAccountIdstringThe network account id of the source party. -
destinationTradingAccountIdstring requiredThe go account id of the destination party. -
destinationNetworkAccountIdstring requiredThe network account id of the destination party.
-
-
settlingDisputesarray of objects requiredThe disputes that are being settled as part of this settlement.settlingDisputes object
-
settledInSettlementIdstring required -
disputeClosureIdstring required -
disputeClosureobject requireddisputeClosure object
-
idstring requiredThe unique identifier of the dispute closure. -
closedBystring enum requiredWho closed the dispute.
admin- The dispute was closed by an admin.client- The dispute was closed by a client.
clientadmin -
userIdstring requiredThe id of the user who closed the dispute. -
notesstring requirednotes entered by the user when closing the dispute. -
adjustedSettlementTransfersarray of objects requiredThe resulting settlement transfers generated when the dispute was closedadjustedSettlementTransfers object
-
idstring requiredThe unique identifier of the settlement transfer. -
sourceTradingAccountIdstring requiredThe go account id of the source party. -
destinationTradingAccountIdstring requiredThe go account id of the destination party. -
destinationNetworkAccountIdstring requiredThe network account id of the destination party. -
disputeClosureIdstring requiredThe 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. -
currencystring requiredThe currency involved in the settlement movement. -
quantitystring requiredThe 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. -
statusstring enum requiredThe 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.
pendingpending_onchainonchain_initiatedonchain_failedcompletedfailedrejecteddisputedpending_settlement_assignment -
createdAtstring date-time requiredThe date and time when the settlement transfer was created. Represented as an ISO 8601 formatted date string. -
updatedAtstring date-time requiredThe date and time when the settlement transfer was last updated. Represented as an ISO 8601 formatted date string. -
settlementIdstringThe unique identifier of the settlement the settlement transfer is associated with. This is a UUID that uniquely identifies the settlement. Will only be undefined if the settlement transfer is inpending_settlement_assignmentstatus. -
sourceNetworkAccountIdstringThe network account id of the source party.
-
-
createdAtstring date-time requiredThe date and time when the dispute closure was created. -
statusstring enum requiredThe status of the dispute closure review.pending_reviewapprovedrejected -
adjustedTransfersmap of strings requiredThe adjusted transfers as a result of the dispute closure.adjustedTransfers object
-
<key>string
-
-
reviewedBystringThe id of the admin who reviewed the dispute closure. -
reviewNotesstringAny comments entered by the admin when reviewing the dispute closure.
-
-
idstring required -
createdAtstring date-time required -
updatedAtstring date-time required -
connectionIdstring required -
disputedSettlementIdstring required -
userIdstring required -
expectedTransfersmap of strings requiredexpectedTransfers object
-
<key>string
-
-
retractedboolean required -
settledInSettlementIdstring required -
reasonstring -
retractedBystring -
retractedAtstring date-time -
disputeClosureIdstring required -
retractedReasonstring
-
-
settlementDisputesarray of objects requiredThe disputes that were raised on this settlement.settlementDisputes object
-
disputeClosureobjectdisputeClosure object
- Same shape as
DisputeClosureOutput.
- Same shape as
-
idstring required -
createdAtstring date-time required -
updatedAtstring date-time required -
connectionIdstring required -
disputedSettlementIdstring required -
userIdstring required -
expectedTransfersmap of strings requiredexpectedTransfers object
- Same shape as
ExpectedTransfersOutput.
- Same shape as
-
retractedboolean required -
settledInSettlementIdstring -
reasonstring -
retractedBystring -
retractedAtstring date-time -
disputeClosureIdstring -
retractedReasonstring
-
401
Unauthorized
Response Body
object
-
errorstring required
403
Forbidden
Response Body
object
-
errorstring required
404
Not Found
Response Body
object
-
errorstring required
500
Internal Server Error
Response Body
object
-
errorstring required