cURL
curl --request GET \ --url https://api.truust.io/2.0/subscriptions \ --header 'Authorization: Bearer <token>'
{ "current_page": 1, "last_page": 5, "per_page": 15, "total": 73, "from": 1, "to": 15, "data": [ { "id": 123, "self": "<string>", "reference_id": "<string>", "name": "<string>", "amount": 123, "currency": "EUR", "type": "<string>", "status": "CREATED", "metadata": {}, "published_at": "2023-11-07T05:31:56Z", "cancelled_at": "2023-11-07T05:31:56Z", "connections": {} } ] }
Use your account's Secret Key as the Bearer token.
Page number for pagination.
x >= 1
Number of results per page.
1 <= x <= 100
Field to sort results by.
Sort direction.
asc
desc
Paginated list of subscriptions
1
5
15
73
Show child attributes