v1
latestOpenAPI 3.0.02026-07-24103118224.7 KBSwap
List swaps
Returns a paginated list of swaps for the authenticated merchant, sorted by createdAt descending.
get/api/swap
Query parameters
pagenumber
The page number
limitnumber
The number of items per page
Response
Example response
{
"data": [
{
"id": "swap_01JABCDEF0123456789XYZ",
"userId": "usr_01JABCDEF0123456789XYZ",
"fromCurrency": "USDC",
"toCurrency": "EURC",
"amount": 12345,
"status": "PENDING",
"context": "privy",
"toAmountInCents": 11300
}
]
}