Console →
SDK Reference

Transaction History

Get a paginated list of a user's wallet transactions.

typescript
const history = await settle.wallet.getHistory('user_123', {
  page: 1,
  limit: 20,
})

console.log(history.currentBalance)  // 47
console.log(history.transactions)    // Array of transactions
console.log(history.pagination.hasMore) // true/false

Response shape#

typescript
{
  userId: string
  currentBalance: number
  transactions: Array<{
    id: string
    type: 'CREDIT' | 'DEBIT' | 'AD_REWARD'
    amount: number
    balanceAfter: number
    description: string | null
    createdAt: string // ISO 8601
  }>
  pagination: {
    page: number
    limit: number
    total: number
    hasMore: boolean
  }
}