Reward

HTTP Method

POST /api/Integration/{version}/Reward

Request

Request Header

Attribute
Type
Required

ClientId

string

YES

Request Body

Attribute
Type
Required

WalletCode

string

YES

ContactMsisdn

string

YES

BranchMsisdn

string

YES

TransactionDate

Date

NO

SkuId

string

NO

PointsValue

integer

YES

ExternalLogId

string

YES

InvoiceNumber

string

NO

Response

Response Body

{
    "errorCode": "0",
    "errorMessage": "Success",
    "pointsLog": {
        "id": 46174,
        "walletId": 3691,
        "actorWalletId": 3691,
        "channelId": null,
        "logTypeId": 2,
        "comments": "Points accumulated to 011111111111",
        "merchantMSISDN": "201020792658",
        "amount": 100.0,
        "amountValue": 300,
        "balanceAfter": 299273,
        "isExpired": false,
        "createdDate": "2023-07-12T12:02:54.613582+03:00",
        "invoiceDate": "2023-07-12T12:02:54.5791878+03:00",
        "invoiceNumber": "Inovice123456",
        "skuPointsId": null,
        "refundedLogId": null,
        "userId": 40,
        "externalLogId": "dass"
    },
    "wallet": {
        "id": 3691,
        "name": null,
        "walletCode": "011111111111",
        "email": null,
        "address": null,
        "gender": null,
        "totalPoints": 299273,
        "accumulatedPoints": 300273,
        "redPoints": 1000,
        "isOptedIn": false,
        "optedInDate": "2023-07-12T11:47:26.1333619",
        "parentWalletId": null,
        "addOnWalletId": null,
        "billRewardPoints": 300273,
        "billRewardValue": 100091.0,
        "referralMasterMSISDN": null,
        "birthDate": null,
        "nid": null,
        "contactMsisdn": "01151618768",
        "walletStatusId": 1,
        "segment": {
            "id": 1,
            "name": "Basic",
            "rewValueFactor": 3.0,
            "redValueFactor": 4.0,
            "redThreshold": 1,
            "value": 2,
            "bonusPoints": null,
            "offerNumber": null,
            "ratePlan": null,
            "color": "gold",
            "segmentColorId": 1
        },
        "childrenWallets": null,
        "parentWallet": null,
        "isParent": false,
        "parentWalletCode": null,
        "walletType": null,
        "isAdded": false,
        "isDeleted": false,
        "redemptionActivationFlag": true,
        "suspendedPoints": 0
    },
    "offerNumber": 0,
    "couponNumber": ""
}

Last updated