List payment transactions
PaymentsAPI REFERENCE
List payment transactions
GET
/v1/payments/{paymentId}/transactionsPaginated list of the on-chain transactions detected for a payment.
Example request
A minimal request you can copy and run.
curl https://api.suward.com/v1/payments/<payment_id>/transactions \ -H "X-Api-Key: $SUWARD_API_KEY"Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Payment ID |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| order | no | Sort order by id: asc = ascending, anything else = descending | |
| limit | integer | no | Page size (default 20, max 100) |
| lastId | string | no | Pagination cursor: last id from the previous page |
Response
| Name | Type | Required | Description |
|---|---|---|---|
| hasMore | boolean | no | True when more transactions exist beyond this page. To fetch the next page, pass the last item's id as the lastId query parameter. |
| items | no | Page of transactions, ordered per the request's order parameter. |
Response · JSON
{ "hasMore": false, "items": []}