> ## Documentation Index
> Fetch the complete documentation index at: https://help-loyalife.xoxoday.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Statement Summary

> Retrieve a member's aggregated points balance and loyalty statement totals.

Returns a member's aggregated loyalty account summary — total points earned, redeemed, expired, and the current redeemable balance. This is the primary endpoint for a loyalty wallet or dashboard screen where you want to show a member their overall standing at a glance. `ReturnObject.PointBalance` is the live redeemable balance to use in redemption eligibility checks. For a line-by-line transaction history, use [Get Transaction Summary](/api-reference/transactions/get-transaction-summary).

## Responses

<AccordionGroup>
  <Accordion title="200 — Success">
    | Path                                  | Type    | Description                                    |
    | ------------------------------------- | ------- | ---------------------------------------------- |
    | `results.IsSucessful`                 | boolean | `true`                                         |
    | `results.ErrorCode`                   | string  | `000`                                          |
    | `results.ReturnObject.PointBalance`   | integer | **Current redeemable points balance**          |
    | `results.ReturnObject.Bonus`          | integer | Points earned through bonus/referral campaigns |
    | `results.ReturnObject.Spend`          | integer | Points earned through purchase transactions    |
    | `results.ReturnObject.Redeem`         | integer | Total points redeemed                          |
    | `results.ReturnObject.Partner`        | integer | Points earned through partner transactions     |
    | `results.ReturnObject.Purchased`      | integer | Points purchased directly                      |
    | `results.ReturnObject.OtherAccrued`   | integer | Points earned through other accrual types      |
    | `results.ReturnObject.Air`            | integer | Points redeemed for air bookings               |
    | `results.ReturnObject.Hotel`          | integer | Points redeemed for hotel bookings             |
    | `results.ReturnObject.Car`            | integer | Points redeemed for car bookings               |
    | `results.ReturnObject.BillPayment`    | integer | Points redeemed for bill payments              |
    | `results.ReturnObject.Charity`        | integer | Points donated to charity                      |
    | `results.ReturnObject.CreditTransfer` | integer | Points received via transfer                   |
    | `results.ReturnObject.DebitTransfer`  | integer | Points sent via transfer                       |
    | `results.ReturnObject.ExpiredPoints`  | integer | Total expired points                           |
  </Accordion>
</AccordionGroup>

***

## Error Codes

| Code  | ExceptionMessage                       | Cause                                                                                          |
| ----- | -------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `000` | Success                                | Transaction records returned                                                                   |
| `009` | No records found                       | No transactions exist in the requested date range, or transactions have not yet been processed |
| `103` | Member does not exist                  | `RelationReference` not found in the program                                                   |
| `203` | Member statement summary not available | Statement could not be retrieved                                                               |
| `204` | No transaction details available       | No records match the query                                                                     |
| `999` | Bad request                            | Missing or invalid date range / pagination fields                                              |


## OpenAPI

````yaml POST /lbms-ingress/transaction-lm/API/Transaction/GetMemberStatementSummary
openapi: 3.1.0
info:
  title: Loyalife LBMS API
  description: >-
    REST API for Loyalife's Loyalty Management System. Covers member management,
    OTP authentication, loyalty transactions, and points redemption.
  version: 1.0.0
  contact:
    name: Xoxoday Support
    email: support@xoxoday.com
servers:
  - url: https://loyalife-api.xoxoday.in
    description: Production
security:
  - bearerAuth: []
paths:
  /lbms-ingress/transaction-lm/API/Transaction/GetMemberStatementSummary:
    post:
      tags:
        - Transactions
      summary: Get Statement Summary
      description: >-
        Retrieve a member's aggregated points balance and loyalty statement
        totals.
      operationId: getMemberStatementSummary
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - RelationReference
                - TransactionCurrency
                - RelationType
                - ProgramId
              properties:
                RelationReference:
                  type: string
                  example: jane.doe@example.com
                TransactionCurrency:
                  type: string
                  example: DEFAULT
                RelationType:
                  type: integer
                  example: 4
                ProgramId:
                  type: integer
                  example: 19
            example:
              RelationReference: jane.doe@example.com
              TransactionCurrency: DEFAULT
              RelationType: 4
              ProgramId: 19
      responses:
        '200':
          description: Statement summary
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: object
                    properties:
                      IsSucessful:
                        type: boolean
                      ErrorCode:
                        type: string
                      ExceptionMessage:
                        type: string
                      ReturnObject:
                        type: object
                        properties:
                          Bonus:
                            type: integer
                            description: Total bonus points earned
                            example: 500
                          Spend:
                            type: integer
                            description: Total points earned through purchases
                            example: 1200
                          Redeem:
                            type: integer
                            description: Total points redeemed
                            example: 300
                          Partner:
                            type: integer
                            example: 0
                          Purchased:
                            type: integer
                            example: 0
                          ExpiredPoints:
                            type: integer
                            description: Total expired points
                            example: 50
                          PointBalance:
                            type: integer
                            description: Current redeemable points balance
                            example: 1350
                          OtherAccrued:
                            type: integer
                            description: 'Points category: OtherAccrued'
                            example: 0
                          Air:
                            type: integer
                            description: 'Points category: Air'
                            example: 0
                          Hotel:
                            type: integer
                            description: 'Points category: Hotel'
                            example: 0
                          Car:
                            type: integer
                            description: 'Points category: Car'
                            example: 0
                          BillPayment:
                            type: integer
                            description: 'Points category: BillPayment'
                            example: 0
                          Charity:
                            type: integer
                            description: 'Points category: Charity'
                            example: 0
                          CreditTransfer:
                            type: integer
                            description: 'Points category: CreditTransfer'
                            example: 0
                          DebitTransfer:
                            type: integer
                            description: 'Points category: DebitTransfer'
                            example: 0
              example:
                results:
                  IsSucessful: true
                  ErrorCode: '000'
                  ExceptionMessage: Success
                  ReturnObject:
                    Bonus: 500
                    Spend: 1200
                    Redeem: 300
                    Partner: 0
                    Purchased: 0
                    ExpiredPoints: 50
                    PointBalance: 1350
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT obtained from Generate Auth Token. Pass as `Authorization: bearer
        {token}`.

````