Loyalty Point Transaction Create Request
Request to record a loyalty point credit or debit for the customer. The response matches the shape returned by Get Loyalty Points Transaction History.
loyaltyPoint objectrequired
Identifies the loyalty point type and the amount credited or debited in this transaction.
idstringrequired
Loyalty point type identifier (same ID as in Get Loyalty Points).
amountintegerrequired
Amount of loyalty points credited or debited (always positive; use transaction source to indicate credit or debit).
Possible values: > 0
sourceLoyalty Point Transaction Source (string)required
Source of the transaction (e.g. credit, debit, quest-completed, widget).
attributes object[]required
Transaction context as key-value pairs (for example purchase-order event and merchant reference).
Array [
keystringrequired
Attribute name.
valuestringrequired
Attribute value for the key.
]
Loyalty Point Transaction Create Request
{
"loyaltyPoint": {
"id": "string",
"amount": 0
},
"source": "string",
"attributes": [
{
"key": "string",
"value": "string"
}
]
}