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
  • Commit temporary transaction
Documentation for version v75

Commit temporary transaction

Description​

Commits a temporary transaction created with the is_temp flag. If a temporary points accrual transaction is committed, a new full transaction is created.

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequiredDescription
transaction_idstring"TRANS12345"NoTemporary transaction ID
transaction_eidstring"TRANS12345"NoExternal temporary 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_idstringCommitted transaction ID
balancestringCurrent active points balance of the member
Last updated on Nov 14, 2025
Previous
Redeem member points
Next
Roll back temporary transaction
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.