List payment transactions

Paginated list of the on-chain transactions detected for a payment.

GET/v1/payments/{paymentId}/transactionsAPI key

Path parameters

FieldTypeDescription
paymentIdrequiredstringPayment ID

Query parameters

FieldTypeDescription
orderoptionalstringSort order by id: asc = ascending, anything else = descending
order values string
ascdesc
limitoptionalintegerPage size (default 20, max 100)
lastIdoptionalstringPagination cursor: last id from the previous page

Response

200 OK

FieldTypeDescription
hasMoreoptionalbooleanTrue when more transactions exist beyond this page. To fetch the next page, pass the last item's id as the lastId query parameter.
itemsoptionalTransactionResponse[]Page of transactions, ordered per the request's order parameter.
items fields TransactionResponse
FieldTypeDescription
acceptedAtoptionalintegerUnix-milliseconds timestamp when the transfer reached the accepted (safe) confirmation tier. Null before acceptance.
amountoptionalstringOn-chain transfer amount, an integer string in the asset's smallest unit (see CreatePaymentRequest.amount).
detectedAtoptionalintegerUnix-milliseconds timestamp when the transfer was first seen on-chain.
txHashoptionalstringOn-chain transaction hash of the transfer.

Errors

401 Unauthorized404 Not Found500 Internal Server Error— each returns { errorCode, message, args? }. Codes, retries and limits: Errors & limits

All Payments endpoints

Request

terminal
curl https://api.suward.com/v1/payments/<payment_id>/transactions \
-H "X-Api-Key: $SUWARD_API_KEY"

Response · 200 OK

response.json
{
"hasMore": false,
"items": []
}

Illustrative values. Every field, type and status on this page is generated from the OpenAPI specification.

Something unclear? payments@suward.com — we treat every integration question as a documentation defect.