List wallet transactions with pagination
GET
/api/v1/wallets/{id}/transactions
const url = 'https://api.dokanmazad.com/api/v1/wallets/cmwallet000001ny11aabbcc0/transactions?page=1&pageSize=20';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.dokanmazad.com/api/v1/wallets/cmwallet000001ny11aabbcc0/transactions?page=1&pageSize=20' \ --header 'X-API-Key: <X-API-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Wallet CUID
Example
cmwallet000001ny11aabbcc0Query Parameters
Section titled “Query Parameters”page
number
Page number (default 1)
Example
1pageSize
number
Items per page (default 20, max 100)
Example
20Responses
Section titled “Responses”Success
Media typeapplication/json
object
success
required
boolean
data
required
meta
object
page
integer
limit
integer
total
integer
totalPages
integer
data
required
Array<object>
object
id
required
Transaction CUID
string
type
required
Credit | debit | adjustment | refund | payment_deduction
string
amount
required
Transaction amount
number
currency
required
Transaction currency
string
description
Reason / reference
string
orderId
Linked order CUID, if any
string
createdAt
required
Transaction timestamp
string format: date-time
meta
object
page
integer
limit
integer
total
integer
totalPages
integer
Examples
Examplesuccess
{ "success": true, "data": [ { "id": "cmwtx000001ny11aabbcc0", "type": "payment_deduction", "amount": 1500, "currency": "USD", "description": "Order #1042 payment deduction", "orderId": "cmosor2zy000313ny24hgtfy0", "createdAt": "2026-05-12T08:00:00.000Z" } ], "meta": { "page": 1, "limit": 20, "total": 1, "totalPages": 1 }}Unauthorized — missing or invalid API key
Media typeapplication/json
object
success
required
boolean
error
required
string
statusCode
required
integer
Example
{ "success": false}Forbidden — route not in this key’s allowedRoutes
Media typeapplication/json
object
success
required
boolean
error
required
string
statusCode
required
integer
Example
{ "success": false}Rate limit exceeded
Media typeapplication/json
object
success
required
boolean
error
required
string
statusCode
required
integer
Example
{ "success": false}Headers
Section titled “Headers”Retry-After
integer
Seconds to wait before retrying
