List payment transactions
PaymentsAPI REFERENCE

List payment transactions

GET/v1/payments/{paymentId}/transactions

Paginated 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

NameTypeRequiredDescription
paymentIdstringyesPayment ID

Query Parameters

NameTypeRequiredDescription
ordernoSort order by id: asc = ascending, anything else = descending
limitintegernoPage size (default 20, max 100)
lastIdstringnoPagination cursor: last id from the previous page

Response

NameTypeRequiredDescription
hasMorebooleannoTrue when more transactions exist beyond this page. To fetch the next page, pass the last item's id as the lastId query parameter.
itemsnoPage of transactions, ordered per the request's order parameter.
Response · JSON
{
"hasMore": false,
"items": []
}