Request Body schema for post /loyalties/members/{memberId}/balance
and POST /loyalties/{campaignId}/members/{memberId}/balance
.
Name | Type | Description | Notes |
---|---|---|---|
points | Integer | Incremental balance to be added to/subtracted from the loyalty card. - To add points: 100 - To subtract points, add a minus: -100 | |
expirationType | PointsExpirationTypes | [optional] | |
expirationDate | OffsetDateTime | Set expiration date for added points, i.e. `YYYY-MM-DD`. This parameter is required only when expiration_type is set to `CUSTOM_DATE`. | [optional] |
reason | String | Reason for the transfer. | [optional] |
sourceId | String | The merchant’s transaction ID if it is different from the Voucherify transaction ID. It is really useful in case of an integration between multiple systems. It can be a transaction ID from a CRM system, database or 3rd-party service. | [optional] |