Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v75
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
  • Resources
  • Segments
  • Suppression lists
  • Templates and fragments
  • Campaigns
  • Mailings
  • Automation scenarios
  • Loyalty Programs
    • Get profile tier in a loyalty program
    • Export points transactions
    • Expiring points for a period
    • Get profile account transactions
    • Get trigger promotions list
    • Accrue points to a member
    • Redeem member points
    • Commit temporary transaction
    • Roll back temporary transaction
    • Cancel points transaction
    • Get points account balance
    • Register member in a loyalty program
    • Remove member from loyalty program
  • Promo codes
  • Goals
  • Application push notifications
  • Market
  • Analytic reports
  • SendersDev
  • External datatables queries
  • Objects
  • Miscellaneous
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
  • Loyalty Programs
  • Get points account balance
Documentation for version v75

Get points account balance

Description​

Returns the current points account balance of a loyalty program member: the total number of points and the number of active points for the selected points currency.

Request URL​

Method: POST

https://example.com/api/v1.1/loyalty/account/balance

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abc123def456"YesAPI token
loyalty_program_idint123YesLoyalty program ID
points_currency_iidint1NoInternal points currency ID
points_currency_eidstring"starts"NoExternal points currency ID (for example, "starts")
matchingstring"email"YesProfile lookup method: email, phone, profile_id, custom
field_namestring"user_id"Yes, if matching = customCustom field name for lookup
field_valuestring / int123456Yes, if matching = customCustom field value
emailstring"user@example.com"Yes, if matching = emailMember email
phonestring"+1234567890"Yes, if matching = phoneMember phone number in international format
profile_idstring"profile123"Yes, if matching = profile_idProfile ID

Request example​

  • JSON
  • XML
{
"token": "abc123def456",
"loyalty_program_id": 123,
"points_currency_eid": "starts",
"matching": "email",
"email": "user@example.com"
}
<xml>
<token>abc123def456</token>
<loyalty_program_id>123</loyalty_program_id>
<points_currency_eid>starts</points_currency_eid>
<matching>email</matching>
<email>user@example.com</email>
</xml>

Response example​

  • JSON
  • XML
{
"error": 0,
"error_text": "Successful operation",
"data": {
"total_balance": "1000.00",
"active_balance": "800.50"
}
}
<xml>
<error>0</error>
<error_text>Successful operation</error_text>
<data>
<total_balance>1000.00</total_balance>
<active_balance>800.50</active_balance>
</data>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
total_balancestringTotal number of points in the points account (string format)
active_balancestringNumber of active points in the points account (string format)
Last updated on Jan 12, 2026
Previous
Cancel points transaction
Next
Register member in a loyalty program
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.