---
title: "Deduct points and alternate currencies from user using userId"
method: POST
path: "/customers/{userid}/negativePointsAdjustment"
---

# Deduct points and alternate currencies from user using userId

`POST /customers/{userid}/negativePointsAdjustment`

## Path parameters

- `userId` string, required

## Query parameters

- `source` 'INSTORE' | 'WEB_ENGAGE' | 'WECHAT'

## Request body

- object
  - `pointsToBeAdjusted` integer, required — Points to be deducted for the user. Provide a value greater than 0. This is applicable for points.
  - `programId` integer — Unique ID of the loyalty program to associate with the promotion.
  - `reasonOfReturn` string, required — Enter the reason for the return of the points.
  - `pointsAwardedId` integer — Unique ID of the awarded points.
  - `promotionId` integer — Unique identifier for the promotion
  - `promotionIdentifier` string — Identifier for the promotion.
  - `pointsAwardedRefType` 'bill_regular' | 'bill_promotions' | 'line_item_regular' | 'line_item_promotions' | 'customer_promotions' — Reference type for points awarded.
  - `alternateCurrencyName` string — Unique name of the alternate currency.
  - `pointCategoryTypes` 'REGULAR' | 'PROMISED' | 'EXTERNAL_TRIGGER_BASED' — Points category to deduct for the user.
  - `valueToBeAdjusted` integer — Alternate currencies to be deducted for the user. Provide a value greater than 0. This is applicable for alternate currencies. Provide the `alternateCurrencyName` when using this parameter.

## Response `200`

200

- union
  - object
    - `status` string
    - `pointsAvailable` string
    - `message` string
    - `warnings` unknown[]
      - unknown
  - object
    - `status` string
    - `valueAvailable` string
    - `message` string
    - `warnings` unknown[]
      - unknown

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
