offer_revoke: The offer revocation is refused

POST /payee/v1/offers/revocations takes {audience, serviceNode, kind, offerId, nonce, issuedAt, signature}, where kind is payee-offer, terms-offer or task-quote. The serviceNode signs, EIP-191 personal message, the lines:

dynamo-offer-revoke-v1
<audience>
<serviceNode, checksummed>
<kind>
<offerId>
<nonce: 32 lowercase hex>
<issuedAt: unix seconds>

The reason names the refusal: offer_revoke_malformed, offer_revoke_stale (more than 300 seconds from the core's clock), offer_revoke_audience (another deployment or tenant), offer_revoke_signature (not signed by the serviceNode; an ERC-1271 account is checked on chain when the deployment has a chain client), offer_revoke_replayed (the nonce was used). Nothing is revoked.

What to do

On the wire

HTTP 400: {"error": "offer_revoke", "reason": "offer_revoke_…", "detail": "…"}. The route needs Dynamo-Version 1.9.0 or later.

See all error codes.