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 profile account transactions
Documentation for version v75

Get profile account transactions

Description​

Returns the transaction history for a loyalty program member’s points account. Supports pagination and filtering by points currency.

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abc123def456"YesAPI token
loyalty_program_idint123YesLoyalty program ID
points_currency_eidstring"bonus_points"Yes, if points_currency_iid is not providedExternal points currency ID
points_currency_iidint1Yes, if points_currency_eid is not providedInternal points currency ID
from_idstring"a1b2c3d4-e5f6-7890-g1h2-i3j4k5l6m7n8"NoUUID of the last transaction for pagination (records with ID > from_id)
limitint20NoNumber of records per page (1–100, default 20)
matchingstring"email"YesProfile lookup method. Possible values: "email", "phone", "profile_id", "custom"
field_namestring"user_id"Yes, if matching = customCustom field name
field_valuestring / int"12345"Yes, 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"profile_123"Yes, if matching = profile_idProfile ID

Request example​

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

Response example​

  • JSON
  • XML
{
"data": [
{
"transaction_id": "a1b2c3d4-e5f6-7890-g1h2-i3j4k5l6m7n8",
"transaction_eid": "trans_12345",
"created_at": "2023-09-01T12:34:56Z",
"transaction_type": "accrual",
"amount": "100.1",
"balance_before": "500.5",
"balance_after": "600.6",
"promo_iid": 42,
"promo_eid": "promo_2023",
"description": "Points accrual for a purchase",
"activation_date": "2023-09-01T12:34:56Z",
"expiration_date": "2023-12-31T23:59:59Z",
"source_type": "order",
"source_iid": 789,
"source_sid": "order_123",
"source_subiid": 1,
"is_temp": false,
"custom_json": {"key": "value"},
"product_eid": "prod_123",
"sku_eid": "sku_456",
"canceled": false
}
],
"next_from_id": "b2c3d4e5-f6g7-8901-h2i3-j4k5l6m7n8o9",
"total_count": 150,
"error": 0,
"error_text": "Successful operation"
}
<xml>
<data>
<transaction_id>a1b2c3d4-e5f6-7890-g1h2-i3j4k5l6m7n8</transaction_id>
<transaction_eid>trans_12345</transaction_eid>
<created_at>2023-09-01T12:34:56Z</created_at>
<transaction_type>accrual</transaction_type>
<amount>100.1</amount>
<balance_before>500.5</balance_before>
<balance_after>600.6</balance_after>
<promo_iid>42</promo_iid>
<promo_eid>promo_2023</promo_eid>
<description>Points accrual for a purchase</description>
<activation_date>2023-09-01T12:34:56Z</activation_date>
<expiration_date>2023-12-31T23:59:59Z</expiration_date>
<source_type>order</source_type>
<source_iid>789</source_iid>
<source_sid>order_123</source_sid>
<source_subiid>1</source_subiid>
<is_temp>false</is_temp>
<custom_json>{"key": "value"}</custom_json>
<product_eid>prod_123</product_eid>
<sku_eid>sku_456</sku_eid>
<canceled>false</canceled>
</data>
<next_from_id>b2c3d4e5-f6g7-8901-h2i3-j4k5l6m7n8o9</next_from_id>
<total_count>150</total_count>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
transaction_idstring (UUID)Unique transaction ID
transaction_eidstringExternal transaction ID
created_atstring (RFC3339)Transaction creation date and time
transaction_typestringTransaction type (accrual, redeem, expire, etc.)
amountstringNumber of accrued or redeemed points
balance_beforestringBalance before the operation
balance_afterstringBalance after the operation
promo_iidintInternal promotion ID
promo_eidstringExternal promotion ID
descriptionstringTransaction description
activation_datestring (RFC3339)Points activation date
expiration_datestring (RFC3339)Points expiration date
source_typestringTransaction source (api, manual, system, order, workflow, tier_group)
product_eidstringExternal product ID
sku_eidstringExternal SKU ID
canceledbooleanTransaction canceled flag
next_from_idstring (UUID)UUID for the next page
total_countintTotal number of transactions
Last updated on Nov 14, 2025
Previous
Expiring points for a period
Next
Get trigger promotions list
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.