confirmation_invalid
Status 428. The confirmation does not match this request, or has expired.
What it means
The confirmation sent in Matrix-Confirmation cannot be used. reason says why: expired (it is older than 10 minutes), wrong_request (the key, member, body or Idempotency-Key differ from the preview's) or malformed (it is not a confirmation this API issued).
What to do
Preview the request again with ?dry_run=true, then send the new confirmation with exactly the request you previewed: the same key, member, body and Idempotency-Key.
Safe to send again?
Not as it is. Change what the answer points to, then send the request.
What else the answer carries
reason:expired(preview again),wrong_request(the key, member, body or Idempotency-Key differ from the preview) ormalformed(not a confirmation this API issued). Withinvalid_requeston a webhookurl: what is wrong with the address, as listed underWebhookEndpointRequest.
Where you can meet it
POST /stores/{store_key}/programme: Change the earn rate, the bonuses, what a point is worth, referrals, spending any amount, the time zone, the ways to earn, or when points expirePOST /stores/{store_key}/programme/rewards: Add a reward shoppers can spend points onPOST /stores/{store_key}/programme/rewards/{reward_id}: Change a reward's cost, value, minimum order or labelPOST /stores/{store_key}/programme/rewards/{reward_id}/remove: Remove a rewardPOST /stores/{store_key}/programme/offers: Add an offer: a campaign, a product offer or a channel offerPOST /stores/{store_key}/programme/offers/{offer_id}: Change an offerPOST /stores/{store_key}/programme/offers/{offer_id}/remove: Remove an offerPOST /stores/{store_key}/design: Change the design: colours, words, the panel and product-line look, the account page layout, the terms linkPOST /members/{member_key}/adjustments: Add points to a member's balance, or take them awayPOST /members/{member_key}/codes/void: Cancel a reward code and give the member back its points
Every code, and the shape of an error answer: Errors.