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
  • Cancel points transaction
Documentation for version v75

Cancel points transaction

Description​

Cancels any points transaction — temporary or permanent. When canceled, the current active points balance is recalculated.

Request URL​

Method: POST

https://example.com/api/v1.1/loyalty/cancel_transaction

Request parameters​

ParameterTypeExampleRequiredDescription
transaction_idstring"TRANS12345"NoTransaction ID
transaction_eidstring"TRANS12345"NoExternal transaction ID

At least one identifier must be provided.

Request example​

  • JSON
  • XML
{
"transaction_id": "TRANS12345"
}
<xml>
<transaction_id>TRANS12345</transaction_id>
</xml>

Response example​

  • JSON
  • XML
{
"error": 0,
"error_text": "Successful operation",
"data": {
"transaction_id": "TRANS12345",
"balance": "399.50"
}
}
<xml>
<error>0</error>
<error_text>Successful operation</error_text>
<data>
<transaction_id>TRANS12345</transaction_id>
<balance>399.50</balance>
</data>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
transaction_idstringCanceled transaction ID
balancestringActive points balance after cancellation
Last updated on Nov 14, 2025
Previous
Roll back temporary transaction
Next
Get points account balance
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.