Get Wallet Activity
Get paginated recent activity for wallet
/members/me/wallet/activityOverview
Returns paginated recent activity for the authenticated member's wallet, including point earnings, redemptions, transfers, and adjustments.
This endpoint provides a user-friendly activity feed for displaying in member-facing applications.
Authentication
Requires a valid Clerk JWT token in the Authorization header.
Query Parameters
limitquerynumberMaximum number of activities to return (default: 20, max: 100)
offsetquerynumberNumber of activities to skip for pagination (default: 0)
activityTypequerystringFilter by activity type
Allowed values: "earn", "spend", "transfer", "adjustment"
fromquerystringStart date for filtering activities (ISO 8601 format)
Example: "2024-01-01T00:00:00Z"
toquerystringEnd date for filtering activities (ISO 8601 format)
Example: "2024-12-31T23:59:59Z"
Request
curl -X GET "http://localhost:3000/v1/members/me/wallet/activity?limit=10&activityType=earn" \
-H "Authorization: Bearer YOUR_CLERK_JWT"Response
itemsarrayrequiredList of activity items
array items
idstringrequiredActivity ID
typestringrequiredActivity type: "earn", "spend", "transfer", "adjustment"
amountnumberrequiredPoint amount (positive for credits, negative for debits)
assetTypestringrequiredAsset type: "VALID" or "CREDIT"
descriptionstringrequiredHuman-readable description of the activity
sourceTypestringSource of the activity: "reservation", "transfer", "offer", "adjustment", etc.
sourceIdstringID of the source entity (reservation ID, transfer ID, etc.)
propertyNamestringProperty name for reservation-related activities
reservationConfirmationCodestringConfirmation code for reservation-related activities
createdAtstringrequiredISO 8601 timestamp when activity occurred
statusstringrequiredActivity status: "completed", "pending", "failed", "cancelled"
totalnumberrequiredTotal number of activities matching the filters
offsetnumberrequiredCurrent pagination offset
limitnumberrequiredCurrent pagination limit
Response
{
"items": [
{
"id": "activity_123",
"type": "earn",
"amount": 2500,
"assetType": "VALID",
"description": "Points earned from stay at Luxury Resort & Spa",
"sourceType": "reservation",
"sourceId": "12345",
"propertyName": "Luxury Resort & Spa",
"reservationConfirmationCode": "ABC123",
"createdAt": "2024-04-15T14:30:00Z",
"status": "completed"
},
{
"id": "activity_124",
"type": "spend",
"amount": -1000,
"assetType": "VALID",
"description": "Redeemed: Suite Upgrade at Downtown Hotel",
"sourceType": "offer",
"sourceId": "offer_456",
"propertyName": "Downtown Hotel",
"createdAt": "2024-04-10T09:15:00Z",
"status": "completed"
},
{
"id": "activity_125",
"type": "transfer",
"amount": 500,
"assetType": "VALID",
"description": "Received transfer from Jane Doe",
"sourceType": "transfer",
"sourceId": "transfer_789",
"createdAt": "2024-04-05T16:45:00Z",
"status": "completed"
},
{
"id": "activity_126",
"type": "adjustment",
"amount": 250,
"assetType": "CREDIT",
"description": "Welcome bonus - new member",
"sourceType": "adjustment",
"sourceId": "adj_012",
"createdAt": "2024-04-01T10:00:00Z",
"status": "completed"
}
],
"total": 47,
"offset": 0,
"limit": 10
}Activity Types
Earn
- Source: Completed stays, bonuses, transfers received
- Amount: Always positive
- Display: Green/positive styling
- Examples: "Points earned from stay", "Bonus points awarded"
Spend
- Source: Redemptions, transfers sent
- Amount: Always negative
- Display: Red/negative styling
- Examples: "Redeemed: Suite Upgrade", "Transfer sent to..."
Transfer
- Source: Points sent to or received from other members
- Amount: Negative for sent, positive for received
- Display: Blue/neutral styling
- Examples: "Sent to John Doe", "Received from Jane Doe"
Adjustment
- Source: Administrative corrections, system adjustments
- Amount: Can be positive or negative
- Display: Orange/warning styling
- Examples: "Correction applied", "Promotional bonus"
Asset Types
VALID
- Points that count toward tier progression
- Earned from completed stays
- Have expiration dates
CREDIT
- Promotional points that don't count toward tiers
- Often from bonuses or adjustments
- May have different expiration rules
Status Values
Completed
- Meaning: Activity is finalized and points are available
- Display: Normal activity item
Pending
- Meaning: Activity is processing (e.g., recent checkout)
- Display: Grayed out or with pending indicator
Failed
- Meaning: Activity failed to process
- Display: Error state with retry option if applicable
Cancelled
- Meaning: Activity was cancelled (e.g., booking cancellation)
- Display: Strikethrough or cancelled indicator
Pagination
Use offset and limit for pagination:
- First page:
offset=0&limit=20 - Second page:
offset=20&limit=20 - etc.
Related Endpoints
- Get Balance - Current balance
- Get Transactions - Detailed transaction history
- Get Wallet - Full wallet details