Get customer reward transaction by ID

This API allows you to retrieve reward transaction of a customer using customer ID and 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 authentication
  • Default access group

Resource information

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/556875097/issuals/195894

Request path parameters

ParameterData typeDescription
customerId*IntegerUnique ID of the customer.
rewardTransactionId*IntegerUnique ID of the reward transaction. You can get this after issuing the reward.

Response parameters

ParameterDescription
successIndicates whether the specific API call was successful.
codeThe status code related to the specific part of the transaction.
messageA descriptive message regarding the status of the transaction.
rewardTransactionIdUnique identifier for the reward transaction.
rewardIssueRefIdReference identifier for the reward issue transaction.
rewardTransactionDateTimestamp indicating when the transaction took place.
successIndicates the success of the reward transaction specifically.
codeStatus code associated with the reward transaction.
messageDescription of the reward transaction status.
rewardIdUnique identifier of the reward.
languageCodeLanguage code for the reward details.
nameThe name of the reward.
descriptionDescription of the reward.
termNConditionsIdID for the terms and conditions associated with the reward
termNConditionsUrlURL to the terms and conditions document
imageIdIdentifier for the reward's image.
imageUrlURL of the reward's image.
enabledBoolean flag to indicate if the reward is enabled or not.
successIndicates if the points redemption was successful.
codeStatus code related to the points redemption.
messageDescription of the points redemption status.
ownerTypeThe module claimed by the badge.
Supported values: Loyalty program, Milestones, Campaigns, Journeys, Goodwill.
ownerIdIdentifier of the owner of the transaction, here shown as an empty string.
intouchPointsNumber of InTouch points associated with the reward.
intouchSeriesIdInTouch series ID
redemptionTypeType of redemption for the reward.
vendorNameName of the vendor
vendorIdUnique identifier for the vendor
vendorRedemptionIdVendor redemption ID
vendorRedemptionNameName of the vendor redemption.
imagesArray of images associated with the reward.
pointsRedemptionObject containing details of the points redemption.
issueRewardIssue reward details
revokeRewardRevoke reward details
vouchersArray of vouchers associated with the reward.
ownerTypeType of the owner
ownerIdTender details
{
    "status": [
        {
            "success": true,
            "code": 200,
            "message": "Reward issue transactions details fetched successfully"
        }
    ],
    "data": {
        "rewardTransactionId": "195894",
        "rewardIssueRefId": "TX2134326",
        "rewardTransactionDate": 1717949928000,
        "status": {
            "success": true,
            "code": 200,
            "message": "Reward issued successfully"
        },
        "quantity": 1,
        "requestedQuantity": 0,
        "groupRedemption": false,
        "rewardDetails": {
            "rewardId": 181458,
            "languageCode": "en",
            "name": "Trail Blazer Sneakers",
            "description": "Rewards for trail running shoes.",
            "rewardRank": 3,
            "groups": [],
            "intouchPoints": 0,
            "intouchSeriesId": "542218",
            "redemptionType": "INTOUCH_REWARD",
            "images": [],
            "videos": []
        },
        "pointsRedemption": {
            "redeemedPoints": 300,
            "pointsRedemptionRefId": "OPDPdf",
            "pointsRedemptionRefIds": [
                "OPDPdf"
            ],
            "status": {
                "success": true,
                "code": 200,
                "message": "Points redeemed successfully."
            }
        },
        "vouchers": [
            {
                "code": "NIKERWD306",
                "codeExpiry": "2024-07-31 00:00:00",
                "revenueDetails": {
                    "brandCommission": 0.00,
                    "capillaryCommission": 0.00,
                    "affiliateCommission": 0.00,
                    "endCustomerCommission": 0.00
                },
                "paymentDetails": {
                    "paymentMode": "POINTS",
                    "id": 189,
                    "points": 300.0000
                },
                "redemptionDetails": {
                    "redemptionType": "INTOUCH_REWARD",
                    "redemptionValue": null
                }
            }
        ],
        "vendorRewards": {
            "rewards": []
        },
        "customFields": {
            "testdate": "2020-01-01 01:01:01"
        },
        "fulfillmentDetails": {
            "createdOn": 1717949928000,
            "status": "Order confirmed"
        },
        "fulfillmentDetailsAuditLog": [
            {
                "createdOn": 1717949928000,
                "status": "Order confirmed"
            }
        ],
        "ownerId": ""
    }
}

API-specific error codes

Error codeDescription
404Resource not found
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!