Register points earned from a completed purchase
Points wallets only.
POST
/wallets/{id}/register_purchaseAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idintegerrequiredRequest body
requiredapplication/jsonreference_codestringrequiredorder_amountintegerrequireddescriptionstringrequiredcampaign_idintegershop_idstringResponses
200
Points registered
_linksHalLinksidintegerdirectionstringAllowed:
incomingoutgoingstatestringAllowed:
pendingcompletedreverseddeletedexpiredamountintegerPositive for incoming transfers, negative for outgoing.
original_amountintegerOrder total that earned this transfer, for points earned from a purchase.
descriptionstringreference_codestringpayment_methodstringshop_idstringwallet_idintegerbalance_expires_atstring<date-time>created_onstring<date-time>422
A transfer for this reference_code already exists, or the program's points divider is misconfigured