List settlements
This endpoint returns a list of settlements directed to/from the Taurus-NETWORK participant linked to the tenant.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
counterParticipantID
Get all the settlements where the counterParticipantID is either the creatorParticipantID or the targetParticipantID.
statuses
Filter settlements by specifying a list of statuses. Accepted status values: 'CREATING', 'CREATED', 'REJECTED_BY_CREATOR', 'APPROVED_BY_CREATOR', 'RECEIVED', 'REJECTED_BY_TARGET', 'ACCEPTED_BY_TARGET', 'PENDING', 'COMPLETED', 'FAILED'.
sortOrder
Set this parameter to ASC to get the (createdAt, id) sorted in ascending order or DESC to get them in descending order. By default, the order is DESC.
cursor.currentPage
Base64-encoded string representing the current window of data
cursor.pageRequest
The page to request, w.r.t the current page.
Can be one of FIRST, PREVIOUS, NEXT, LAST
cursor.pageSize
The size of the page requested. The handling service should impose a hard limit on this
Response
A successful response.
result
cursor
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error