Redeem User

HTTP Method

POST /api/Integration/{version}/RedeemUser

Request

Request Header

AttributeTypeRequired

ClientId

string

YES

Request Body

AttributeTypeRequired

PointsValue

integer

YES

ContactMsisdn

string

YES

WalletCode

string

YES

BranchMsisdn

string

YES

Comment

string

NO

PinCode

string

NO

Response

Response Body

{
    "errorCode": "0",
    "errorMessage": "Success",
    "offerNumber": 0,
    "couponNumber": null,
    "couponDetails": null,
    "wallet": {
        "id": 3691,
        "name": null,
        "walletCode": "011111111111",
        "email": null,
        "address": null,
        "gender": null,
        "totalPoints": 298973,
        "accumulatedPoints": 299973,
        "redPoints": 1000,
        "isOptedIn": false,
        "optedInDate": "2023-07-12T11:47:26.1333619",
        "parentWalletId": null,
        "addOnWalletId": null,
        "billRewardPoints": 299973,
        "billRewardValue": 99991.00,
        "referralMasterMSISDN": null,
        "birthDate": null,
        "nid": null,
        "contactMsisdn": "01151618768",
        "walletStatusId": 1,
        "segment": {
            "id": 1,
            "name": "Basic",
            "rewValueFactor": 3.00,
            "redValueFactor": 4.00,
            "redThreshold": 1,
            "value": 2,
            "bonusPoints": null,
            "offerNumber": null,
            "ratePlan": null,
            "color": null,
            "segmentColorId": null
        },
        "childrenWallets": null,
        "parentWallet": null,
        "isParent": false,
        "parentWalletCode": null,
        "walletType": null,
        "isAdded": false,
        "isDeleted": false,
        "redemptionActivationFlag": true,
        "suspendedPoints": 0
    },
    "pointsLog": {
        "id": 46173,
        "walletId": 3691,
        "actorWalletId": 3691,
        "channelId": null,
        "logTypeId": 1,
        "comments": "Points redeemed from 011111111111",
        "merchantMSISDN": "201020792658",
        "amount": 125.0,
        "amountValue": 500,
        "balanceAfter": 298973,
        "isExpired": false,
        "createdDate": "2023-07-12T11:59:28.0501415+03:00",
        "invoiceDate": "2023-07-12T11:59:28.0501442+03:00",
        "invoiceNumber": null,
        "skuPointsId": null,
        "refundedLogId": null,
        "userId": 90,
        "externalLogId": "dadsd"
    },
    "transaction": null,
    "totalAmount": 74743.0
}

Last updated