Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guide iconUser guide
Developer guide iconDeveloper guide
Admin guide iconAdmin guide
English
  • Русский
  • English
Login
    User API documentation
    API interaction
    Matching
      Profilesarrow
    • Import profile
      Update profile
      Import multiple profiles
      Update multiple profiles
      Add multiple profiles
      Add profile to database
      Quick profile import
      Import profile to RabbitMQ
      Get profile data
      Uploading profiles to a file
      Suspend all database profiles
      Unsuspend all profiles in a database
      Delete profile
      Subscription fields functional update
      Database fields functional update
      Merging multiple profiles
      Unsubscribe profile from resource
      Profile splitting
        Subscriptionsarrow
      • Add or edit subscription
        Get all profile subscriptions
        Get all subscriptions from multiple profiles
        Get profile subscription
        Delete profile subscription
        Restore deleted subscription
        Suspend all subscriptions
        Unsuspend all suspended subscriptions
        Action historyarrow
      • Get profile action history
        Get multiple profiles action history
        Profile relationsarrow
      • Attach relation
        Detach relation
        Modify relation properties
        Overwrite relation properties
        Get profile relations info
        Get profile relations info
      Get data for multiple profiles
      Databasesarrow
    • Get database statistics
      Update statistics on database
      Get database list
      Get database information
      Get database fields
      Database wipe
      Resourcesarrow
    • Get resource statistics
      Update statistics on resource
      Get resources list
      Get resource information
      Get resource subscription fields
      Segmentsarrow
    • Get statistics on resource
      Update statistics on segment
      Add or remove profile
      Get profile data in a static segment
      Create segment
      Update segment
      Get segment information
      Get segments list
      Delete segment
      Suppression listsarrow
    • Create suppression list
      Update suppression list
      Get suppression list info
      Get the list of suppression lists
      Delete suppression list
      Upload suppression list data to file
        Suppression list actionsarrow
      • Check if email is suppressed
        Add email to suppression list
        Add multiple emails to suppression list
        Remove email from suppression list
        Remove all emails from suppression list
        Check if domain is suppressed
        Add domain to suppression list
        Add multiple domains to suppression list
        Remove domain from suppression list
        Remove all domains from suppression list
        Check if phone number is suppressed
        Add phone number to suppression list
        Add multiple phones to suppression list
        Remove phone number from suppression list
        Remove all phone numbers from suppression list
      Templates and fragmentsarrow
    • Get templates list
      Get template info
      Delete template
      Add template
      Update template
      Channel object
      Campaignsarrow
    • Get campaign information
      Get campaign list
      Activate campaign
      Complete campaign
      Deactivate campaign
      Get campaign status
      Mailingsarrow
    • Activate mailing
      Deactivate mailing
      Get mailing list
      Get mailing information
      Get mailing log
      Clone mailing
      Delete mailing
      Get mailing status
        Broadcast mailingsarrow
      • Get broadcasts list
        Get broadcast information
        Create broadcast mailing
        Update broadcast mailing
        Launch a broadcast mailing
        Regular mailingsarrow
      • Get regular mailings list
        Get regular mailing information
        Create regular mailing
        Update regular mailing
        Launch a regular mailing
        Trigger mailingsarrow
      • Get trigger mailings list
        Get trigger mailing information
        Create trigger mailing
        Update trigger mailing
        Trigger launch (API call)
        Profile import + trigger mailing launch
        Task for bulk trigger launch
        Task for bulk profiles import + trigger launch
        Bulk trigger launch
        Bulk profiles import + trigger mailing launch
        Clone a trigger mailing
        Data array
      Automation scenariosarrow
    • Engage profile in scenario
      Import and engage profile in scenario
      Batch import and engage profiles in a scenario
      Task for batch import and engaging profiles in the scenario
      Get scenarios list
      Activate scenario
      Deactivate scenario
      Loyalty Programsarrow
    • 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
      Preliminary Order Calculation
      Order Confirmation
      Roll back temporary transaction
      Cancel points transaction
      Get points account balance
      Register member in a loyalty program
      Remove member from loyalty program
      Promo codesarrow
    • Import promo codes
      Get promo code information
      Activate promo code
      Update promo code
      Attach promo code
      Detach promo code
      Get all promo codes
      Goalsarrow
    • Goals and goal values registration
      Application push notificationsarrow
    • Processing and adding a subscription
      Add app push events
      Marketarrow
      • Market objectsarrow
      • Order data object
        Product data object
        SKU data object
        Categories array
        Custom fields array
        Ordersarrow
      • Import order and item statuses
        Get orders list
        Delete order
        Get order status
        Update order line status
        Products and SKUarrow
      • Import products, SKUs and categories
        Import SKUs and categories
        Get products list
        Get SKUs list
        Delete products
        Delete SKU
      Analytic reportsarrow
    • Get summary report
      Get soft bounces report
      Get undeliveries report
      SendersDevarrow
    • Get senders list
        Virtual senders (Smart accounts only)arrow
      • Get virtual senders list
        Get virtual sender information
        Clone virtual sender
        Create virtual sender
        Update virtual sender
        Delete virtual sender
      External datatables queriesarrow
      • Segmentation queriesarrow
      • Add segmentation query
        Update segmentation query
        Get segmentation query information
        Get segmentation queries list
        Delete segmentation query
        Template queriesarrow
      • Add template query
        Update template query
        Get template query information
        Get template queries list
        Delete template query
      Objectsarrow
    • AKMTA object
      Content object
      Email rule object
      File object
      Profile data object
      SMS rule object
      Sender object
      Sender types
      Start schedule object
      Subscription object
      Trigger types
      Miscellaneousarrow
    • Upload file
      Get message web version
      Push providers
      Deduplication of requests
      How to send API request with RabbitMQ
      List of gender identifications
      Obtain valid values for fields: browsers, devices, tz, oses, languages
    Importing the API collection in Postman
    List of API endpoints
      SDKarrow
      • mSDKarrow
        • Androidarrow
        • Quick Start
          SDK Functionality
          SDK Configuration
          Public SDK API
            Provider configuration androidarrow
          • Firebase Cloud Messaging
            Huawei Mobile Services
            RuStore
          iOSarrow
        • Quick Start
          SDK Functionality
          SDK Configuration
          Public SDK API
            Provider configurationarrow
          • Apple Push Notification Service
            Firebase Cloud Messaging
            Huawei Mobile Services
          React Native (Android/iOS)arrow
        • Quick Start
          SDK Configuration
          SDK Functionality
          Public SDK API
          Provider setup
        Managing JWT and Role Token
  • Loyalty Programs
  • Commit temporary transaction

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
Preliminary Order Calculation
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2026 Altcraft, LLC. All rights reserved.