Update a wallet program's settings
Only the fields matching the program’s own type are applied — points_* fields for a PointsProgram, credits_* for a CreditProgram.
PUT
/wallet_programs/{id}Authorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idintegerrequiredRequest body
application/jsonnamestringpoints_namestringpoints_minintegerpoints_durationstringpoints_dividerintegerpoints_divider_scopestringAllowed:
cart_totaltotalcredits_renewalstringAllowed:
manualautomaticcredits_reservebooleanResponses
200
Updated wallet program
_linksHalLinksidintegertypestringAllowed:
pointscreditnamestringstatusstringAllowed:
activedeletedpoints_namestringDisplay name for points (e.g. "points", "coins").
points_minintegerMinimum points balance required to redeem.
points_durationstringHow long earned points remain valid, e.g. "1_year".
points_dividerintegerAmount of currency per point earned.
points_divider_scopestringAllowed:
cart_totaltotalcredits_renewalstringAllowed:
manualautomaticcredits_reservebooleancreated_onstring<date-time>updated_onstring<date-time>