v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Get Points Transfer Summary

Retrieves points transfer summary of a customer.

This includes points that are transferred from the customer account to another customer’s account (Deduction) and points that are received from another customer’s account (Addition).

get/customers/{userId}/pointsTransfers

Path parameters

userIdinteger required

Unique ID of the customer whose points transfer summary needs to fetch.

Headers

X-CAP-API-OAUTH-TOKENstring

Response

200

Example response

{
  "data": [
    {
      "pointsTransferDate": "2019-10-16 15:53:42",
      "pointsTransferred": 15,
      "transferId": 100,
      "transferType": "DEDUCTION",
      "transferredFrom": {
        "firstName": "Tom",
        "lastName": "Sawyer"
      },
      "transferredTo": {
        "firstName": "James",
        "lastName": "Thomas"
      },
      "programName": "Nightly_ApiAutoDefaultProgram"
    }
  ]
}