Skip to main content
POST
/
v1
/
loyalties
/
members
/
{memberId}
/
pending-points
/
{pendingPointsId}
/
activate
Activate Member Pending Points
curl --request POST \
  --url https://{cluster}.voucherify.io/v1/loyalties/members/{memberId}/pending-points/{pendingPointsId}/activate \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{
"points": 1,
"total": 11,
"balance": 10,
"type": "loyalty_card",
"object": "balance",
"related_object": {
"type": "voucher",
"id": "v_abCdEfghI1JKLMNPqRS2Tu3vWXyza4bc"
},
"operation_type": "MANUAL"
}

Authorizations

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

Path Parameters

memberId
string
required
Example:
pendingPointsId
string
required

Response

points
integer
required
total
integer
required
balance
integer
required
type
enum<string>
default:loyalty_card
required
Available options:
loyalty_card
object
enum<string>
default:balance
required
Available options:
balance
operation_type
enum<string>
default:MANUAL
required
Available options:
MANUAL