Get transaction details by Customer ID and Reward Transaction ID

This API retrieves the detailed information of a specific issued reward using the reward transaction ID.

👍

Note

For detailed information about our APIs and for hands-on testing, refer documentation in API overview and step-by-step guide on making your first API call in Make your first API call .

Prerequisites

  • Authentication: Basic or OAuth authentication
  • Default access group

API Specification

URIapi_gateway/rewards/core/v1/management/customer/{customerId}/issuals/{rewardTransactionId}
HTTP MethodGET
PaginationNo
Batch supportNo
Rate limit informationNone

API endpoint example

https://eu.api.capillarytech.com/api_gateway/rewards/core/v1/management/customer/383428154/issuals/84630

Request path parameters

Parameter NameData TypeDescription
customerId*StringUnique identifier of the reward. Ex: 112295
rewardTransactionId*StringUnique identifier of the reward transaction. The reward transaction is generated during the issual of the reward.
https://eu.api.capillarytech.com/api_gateway/rewards/core/v1/management/customer/383428154/issuals/84630

Response parameters

ParameterDescription
statusAn array containing the status details of the reward issue transaction.
successIndicates whether the transaction was successful.
codeA unique code representing the status of the transaction.
messageA message providing details about the status of the transaction.
dataContains detailed information about the reward transaction.
rewardTransactionIdUnique identifier for the reward transaction. The reward transaction is generated during the issual of the reward.
customerIdThe ID of the customer associated with the reward transaction.
orgIdThe ID of the organization associated with the transaction.
rewardIssueRefIdA reference ID for the reward issuance.
rewardTransactionDateThe timestamp of the reward transaction in milliseconds.
statusStatus details of the reward issuance.
successIndicates whether the reward issuance was successful.
-codeA unique code representing the status of the reward issuance.
-messageA message providing additional information about the status of the reward issuance.
-quantityThe number of rewards issued.
requestedQuantityThis field represents the original quantity that was requested.
groupRedemptionIndicates if the redemption is a group redemption.
rewardDetailsContains details about the specific reward.
-rewardIdThe ID of the reward.
-languageCodeThe language code for the reward details.
-nameThe name of the reward.
-descriptionA description of the reward.
-rewardRankThe rank of the reward.
-groupsA list of groups associated with the reward.
-imageIdThe ID of the reward image.
-imageUrlThe URL of the reward image.
-intouchPointsThe number of intouch points associated with the reward.
-imagesA list of images associated with the reward.
-videosA list of videos associated with the reward.
pointsRedemptionDetails about the points redemption process.
-redeemedPointsThe number of points redeemed.
-pointsRedemptionRefIdA unique identifier generated each time rewards are issued. This field stores identifier, allowing you to track points redemption transaction.
-pointsRedemptionRefIdsA unique identifier generated each time rewards are issued. This field stores a list of these identifiers, allowing you to track multiple points redemption transactions.
statusStatus details of the points redemption.
successIndicates whether the points redemption was successful.
codeA unique code representing the status of the points redemption.
messageA message providing additional information about the points redemption status.
redemptionDetailsAn array of objects specifying the details about the redemption process.
-redemptionTypeSpecifies the category of reward redemption available. It indicates how users can redeem the reward.
-totalRedemptionValueThe total value of the redemption.
vouchersA list of vouchers associated with the redemption.
vendorRewardsContains vendor-specific reward details.
rewardsA list of rewards issued by the vendor.
customFieldsCustom fields for additional information.
transactionCustomFieldsCustom fields associated with the transaction.
ownerIdThe ID of the owner associated with the reward transaction.
eventLogIdA plain string identifier used to identify the transaction associated with a reward issual.
{
    "status": [
        {
            "success": true,
            "code": 200,
            "message": "Reward issue transactions details fetched successfully"
        }
    ],
    "data": {
        "rewardTransactionId": "293260",
        "customerId": 555567088,
        "orgId": 100458,
        "rewardIssueRefId": "transactionNumber",
        "rewardTransactionDate": 1732618023000,
        "status": {
            "success": true,
            "code": 200,
            "message": "Reward issued successfully"
        },
        "quantity": 1,
        "requestedQuantity": 1,
        "groupRedemption": false,
        "rewardDetails": {
            "rewardId": 272383,
            "languageCode": "en",
            "name": "testreward1",
            "description": "testreward1",
            "rewardRank": 1,
            "groups": [],
            "imageId": "bef4d522-2cf8-4fea-8087-376c449d5c85",
            "imageUrl": "https://eucrm-solutions.s3.amazonaws.com/rewards/86a1c214-a955-4b40-a2d7-d4dc279.jpeg",
            "intouchPoints": 500,
            "redemptionType": "MILES",
            "images": [],
            "videos": []
        },
        "pointsRedemption": {
            "redeemedPoints": 3,
            "pointsRedemptionRefId": "4xyMsS",
            "pointsRedemptionRefIds": [
                "4xyMsS"
            ],
            "status": {
                "success": true,
                "code": 200,
                "message": "Points redeemed successfully."
            }
        },
        "redemptionDetails": {
            "redemptionType": "MILES",
            "totalRedemptionValue": 1.0000
        },
        "vouchers": [],
        "vendorRewards": {
            "rewards": [
                {
                    "json": "{}"
                }
            ]
        },
        "customFields": {
            "CF1": "Custom field 1"
        },
        "transactionCustomFields": {
            "testdate": "2020-01-01 01:01:01"
        },
        "ownerId": "",
        "eventLogId": "abc"
    }
}
{
    "status": [
        {
            "success": true,
            "code": 200,
            "message": "Reward issue transactions details fetched successfully"
        }
    ],
    "data": {
        "rewardTransactionId": "17337",
        "rewardIssueRefId": "transactionNumber",
        "rewardTransactionDate": 1709715033000,
        "status": {
            "success": true,
            "code": 200,
            "message": "Reward issued successfully"
        },
        "quantity": 1,
        "groupRedemption": false,
        "rewardDetails": {
            "rewardId": 6834,
            "languageCode": "en",
            "name": " INTOUCH Enabled",
            "description": "Description",
            "imageId": "EXDR12987U",
            "imageUrl": "https://s3.us-west-2.amazonaws.com/devenv-crm-solutionsvannnld9gg/marvel_automation/EXDR12987U?X-Amz-Security-Token=FwoGZXIvYXdzELr%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDDP8T9uN3cAstrAKoyLcAcNt9HvLcn79YTO%2F0glMCtFy1d6wnZiNGBvp%2Ff3vSltITx7OfgQsbqGtn7DKigqaWAjvnbVWNuNqnDzjzpX1FrSi1rLMnsgCZft3iFKTm3hlhzWlzLz5vR8cFQT6zfSHBy21%2FmxihnYpezB4Lv3qmy%2B84YWo1m95XPHCzvI3Sm%2B2PjtDgHhUchz3u1kL1v%2Bet2ZXsrh2Ohr4L3D5gisp35DVA4DzbWaaciOyJaA2cn37atfcuoQp4zgmBLQ8d%2FfssP5DAhzjZaoQwWBuBNirWKNA%2FQvEG0cThifoIXwonNqgrwYyLY1rvytALzqJdLGfupaZmTIK3kBoOniOjE94ywZBz1MNF7LeEWLHWb%2BLJ18ziw%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240306T085348Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=ASIAXCQYYRKNPPABXCPZ%2F20240306%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Signature=60b44f05b120b061bfaeca7233d610c8221daafdaa6fc9d134b3920afb1d95f3",
            "intouchPoints": 1,
            "intouchSeriesId": "1135336",
            "redemptionType": "INTOUCH_REWARD",
            "vendorName": null,
            "vendorId": null,
            "vendorRedemptionId": null,
            "vendorRedemptionName": null,
            "images": [],
            "videos": []
        },
        "pointsRedemption": {
            "redeemedPoints": 1,
            "vendorName": "Points vendor_1",
            "referenceId": null,
            "pointsRedemptionRefId": "0rjghc",
            "status": {
                "success": true,
                "code": 200,
                "message": "Points redeemed successfully."
            },
            "stageReferenceId": null,
            "vendorId": null,
            "requestBody": null,
            "responseBody": null,
            "headers": null
        },
        "pointsRedemptionCheck": null,
        "issueReward": null,
        "revokeReward": null,
        "constraintsCheck": null,
        "catalogPromotions": null,
        "appliedPromotions": null,
        "vouchers": [
            {
                "code": "XS35QH1HA1OFHP269NZ0H0UCIZSY7S22F2DMP",
                "revenueDetails": {
                    "brandCommission": 1.00,
                    "capillaryCommission": 0.00,
                    "affiliateCommission": 1.20,
                    "endCustomerCommission": 1.30
                }
            }
        ],
        "promotions": null,
        "customFields": {
            "0a17": "defaultValue",
            "2d8a": "defaultValue",
        },
        "ownerType": null,
        "ownerId": "",
        "groupName": null,
        "groupRank": null,
        "rewardRank": null
    }
}

API-specific error codes

Error CodeDescription
6004Reward not found or disabled
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!