ledger_type tells you the direction of the transaction:credit — Points were added to the customer's balancedebit — Points were deducted from the customer's balancetransaction_type tells you how the points were earned or spent:| Transaction Type | Meaning |
|---|---|
member_points_adjustment_credit | Points were directly credited (manual adjustment) |
member_purchase_order_earned_fixed | Points earned via a fixed earning rule (e.g. "earn 50 points per purchase") |
member_purchase_order_earned_percentage | Points earned via a percentage earning rule (e.g. "earn 10% of order value as points") |
member_purchase_order_redeemed | Points were redeemed (spent) toward a purchase |
balance_before and balance_after show the customer's points balance before and after the transaction, so you can verify the math.curl --location --request GET 'https://rewrd-api-staging.fly.dev/v1/points/customers/26833813/transactions?page=1&limit=20' \
--header 'Authorization: Bearer <token>'{
"status": true,
"message": "Transactions retrieved successfully",
"data": [
{
"id": 1284,
"customer_uid": "26833813",
"points": 50,
"title": "Points Credit",
"narration": "Credited 50 points for purchase #12345",
"transaction_type": "member_points_adjustment_credit",
"ledger_type": "credit",
"status": "successful",
"reference_id": "credit_a1b2c3d4-e5f6-7890",
"balance_before": 1500,
"balance_after": 1550,
"created_at": "2026-02-20T14:30:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 50,
"total": 150,
"total_pages": 3
}
}