Request Body schema for POST v1/loyalties/members/{memberId}/balance
and POST v1/loyalties/{campaignId}/members/{memberId}/balance
.
Name | Type | Description | Notes |
---|---|---|---|
points | int | Incremental balance to be added to/subtracted from the loyalty card. - To add points: 100 - To subtract points, add a minus: -100 | [optional] |
expiration_type | PointsExpirationTypes | [optional] | |
expiration_date | datetime | 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 | str | Reason for the transfer. | [optional] |
source_id | str | 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] |