invalid_occurred_at
HTTP 422 · occurred_at is in the future
What happened. occurred_at is more than a minute in the future by Passkaar’s clock. A sale recorded late may carry any past time.
What to do. Send the time the sale happened, in RFC 3339 with its offset, and check your server’s clock.
Returned by
Section titled “Returned by”- Give value for a sale —
POST /awards - Refund or void an award, in full or in part —
POST /awards/{reference}/reverse - Spend value now —
POST /redemptions - Spend what a hold reserved —
POST /redemption-holds/{id}/confirm
The answer
Section titled “The answer”Errors are Problem Details, served as application/problem+json, with "code": "invalid_occurred_at" and "type": "https://passkaar.com/developers/errors/invalid_occurred_at", which opens this page on docs.passkaar.com.