Skip to main content
POST
/
v2
/
loyalties
/
programs
/
{programId}
/
members
/
{memberId}
/
cards
/
{cardId}
/
points
Add or subtract card points
curl --request POST \
  --url {protocol}://{host}/v2/loyalties/programs/{programId}/members/{memberId}/cards/{cardId}/points \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>' \
  --data '
{
  "points": 0,
  "reason": "<string>"
}
'
{
  "transaction": {
    "id": "<string>",
    "card_id": "<string>",
    "program_id": "<string>",
    "member_id": "<string>",
    "card_definition_id": "<string>",
    "card_type": "INDIVIDUAL",
    "details": {
      "reason": "<string>",
      "rejection": {
        "reason": "<string>",
        "details": "<string>"
      },
      "metadata": {},
      "points": {
        "total": 123,
        "expiration_date": "2023-12-25",
        "date": "2023-12-25"
      },
      "bucket": {
        "id": "<string>",
        "points": {
          "total": 123
        },
        "expiration_date": "2023-12-25"
      },
      "buckets": [
        {
          "id": "<string>",
          "points": {
            "total": 123
          },
          "expiration_date": "2023-12-25"
        }
      ],
      "date": "2023-12-25",
      "reward": {
        "id": "<string>"
      },
      "reward_transaction": {
        "id": "<string>"
      },
      "card_transaction": {
        "id": "<string>"
      },
      "purchase": {
        "card_transaction": {
          "id": "<string>"
        },
        "reward_transaction": {
          "id": "<string>"
        }
      },
      "order": {
        "id": "<string>"
      },
      "order_transaction": {
        "id": "<string>"
      },
      "target_card": {
        "id": "<string>"
      },
      "purchase_transaction": {
        "id": "<string>"
      }
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "object": "<string>"
  },
  "message": "<string>"
}
{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>"
}
{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>"
}
{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>"
}
{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>"
}
{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-App-Id
string
header
required
X-App-Token
string
header
required

Path Parameters

programId
string
required

Loyalty program ID (format lprg_[a-f0-9]+).

Pattern: ^lprg_[a-f0-9]+$
memberId
string
required

Program member ID (format lmbr_[a-f0-9]+).

Pattern: ^lmbr_[a-f0-9]+$
cardId
string
required

Loyalty card ID (format lcrd_[a-f0-9]+).

Pattern: ^lcrd_[a-f0-9]+$

Body

application/json

Request body for a manual card points adjustment. No additional properties are allowed.

points
integer
required

Number of points to adjust. Positive values add points (ADMIN_CREDIT transaction), negative values subtract points (ADMIN_DEBIT transaction), zero results in no transaction (NO_CHANGE). Required.

Required range: -9007199254740991 <= x <= 9007199254740991
reason
string

Optional reason for the adjustment, stored in the transaction details.

Maximum string length: 255

Response

Result of the points adjustment.

Result of a manual card points adjustment.

transaction
object | null
required

The created card transaction (ADMIN_CREDIT or ADMIN_DEBIT), or null when no transaction was created (status NO_CHANGE).

status
enum<string>
required

TRANSACTION_CREATED when a transaction was created, NO_CHANGE when the requested points amount was zero.

Available options:
TRANSACTION_CREATED,
NO_CHANGE
message
string
required

Human-readable result message - "Points addition transaction created", "Points subtraction transaction created" or "Provided amount is zero, transaction was not created".

Last modified on July 9, 2026