Get Wallet Data

HTTP Method

GET/api/Integration/{version}/GetWalletData?query=WalletCode

Request

Request Header

AttributeTypeRequired

ClientId

string

YES

Response Body

{
  "errorMessage": "Success",
  "errorCode": "0",
  "data": {
    "walletId": 1,
    "walletCode": "1",
    "contactMsisdn": "01004756401",
    "totalPoints": 3200,
    "totalValue": 3200,
    "lifeTimePoints": 4450,
    "totalTransactions": 20,
    "reedemPoints": 250,
    "redeemValue": 250, 
    "redeemFactor": 0,
    "name": null,
    "email": null,
    "tierName": null,
    "tierPoints": 0,
    "pointsToExpire": 1900,
    "expiryDate": "2022-08-08T00:00:00",
    "segment": {
      "id": 1, 
      "name": "next",
      "segmentPoints": 20, 
      "color": "black"
    },
    "parentData": null,
    "accumulationTransactions": [
      { "points": 1000,
        "pointsValue": 1000,
        "date": "2021-09-15T14:24:13.818261",
        "merchantName": "Merchant",
        "branchName": "Vodafone BIll Payment -Open Balance",
        "branchMsisdn": "01004756409", 
        "comments": "Points accumulated to 1"
      },
        ],
    "redemptionTransactions": [
      {
        "points": 100,
        "pointsValue": 100,
        "date": "2021-09-15T15:02:11.573096", 
        "merchantName": "Merchant",
        "branchName": "Vodafone BIll Payment -Open Balance",
        "branchMsisdn": "01004756409",  
        "comments": "Points redeemed from 1"
      }
      }
    }
  }

Last updated