GET
/
api
/
wallets
/
holds
curl --request GET \
  --url http://localhost:55001/api/wallets/holds \
  --header 'Authorization: Bearer <token>'
{
  "cursor": {
    "pageSize": 15,
    "hasMore": false,
    "previous": "YXVsdCBhbmQgYSBtYXhpbXVtIG1heF9yZXN1bHRzLol=",
    "next": "",
    "data": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "walletID": "<string>",
        "metadata": {},
        "asset": "<string>",
        "description": "<string>",
        "destination": {
          "type": "<string>",
          "identifier": "<string>"
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

pageSize
integer
default:15

The maximum number of results to return per page

Required range: 1 <= x <= 1000
walletID
string

The wallet to filter on

metadata
object

Filter holds by metadata key value pairs. Nested objects can be used as seen in the example below.

cursor
string

Parameter used in pagination requests. Set to the value of next for the next page of results. Set to the value of previous for the previous page of results. No other parameters can be set when the pagination token is set.

Example:

"aHR0cHM6Ly9nLnBhZ2UvTmVrby1SYW1lbj9zaGFyZQ=="

Response

200
application/json

Holds

The response is of type object.