Redeem banked rewards
Redeems count banked reward(s) without recording a sale — the counter decreases and a redemption transaction is written. Check availableRewards on the customer’s loyalty state first: redeeming more than the customer has banked returns 422. Idempotency-Key REQUIRED.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Perkss customer id (UUID) — the id returned by customer create/list.
Headers
Required. A unique key (e.g. a UUIDv4) identifying this write. Retrying with the same key and payload within 24h replays the stored response instead of re-executing; the same key with a different payload is rejected with 409 IDEMPOTENCY.PAYLOAD_MISMATCH.
Request
Number of banked rewards to redeem. Rejected with 422 when it exceeds the customer’s available rewards.
Response
Post-write loyalty snapshot; null when the derived state is not yet readable.