Skip to navigation

List pledges

This endpoint returns a list of pledges directed to/from the Taurus Network participant linked to the tenant. You can filter the results by specifying the owner or the target of the pledges.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

ownerParticipantIDstringOptional
targetParticipantIDstringOptional
sharedAddressIDslist of stringsOptional
currencyIDstringOptional
sortOrderstringOptional
Set this parameter to ASC to get the id sorted in ascending order or DESC to get them in descending order. By default, the order is DESC.
cursor.currentPagestringOptional

Base64-encoded string representing the current window of data

cursor.pageRequeststringOptional

The page to request, w.r.t the current page. Can be one of FIRST, PREVIOUS, NEXT, LAST

cursor.pageSizestringOptionalformat: "uint64"
The size of the page requested. The handling service should impose a hard limit on this
attributeFiltersJsonstringOptional

A JSON representation of a list of AttributeFilter objects. The filters are combined with an OR operator.Example: [{'key':'key1','value':'value1','type':'type1'},{'key':'key2','value':'value2'}]

statuseslist of stringsOptional

Filter pledges by specifying a list of statuses. Accepted status values: 'CREATED', 'REJECTED_BY_OWNER', 'APPROVED_BY_OWNER', 'RECEIVED', 'REJECTED_BY_TARGET', 'ACCEPTED_BY_TARGET', 'UNPLEDGE_PENDING', 'UNPLEDGE_SENT', 'UNPLEDGE_RECEIVED', 'UNPLEDGED'.

Response

A successful response.
pledgeslist of objectsOptional
cursorobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error