delete https://xumm.app/api/v1/platform/payload/
Cancel a payload, so a user cannot open it anymore
A payload can be cancelled (expiration will be set to
now
) if it is:
- Not resolved (rejected or signed)
- Not opened by a user
- Not already expired
- Not already cancelled
In case you call this endpoint in the cases listed above, you will see the
result
.cancelled
field containingfalse
and a reason (result
.reason
) contains:
ALREADY_CANCELLED
ALREADY_RESOLVED
ALREADY_OPENED
ALREADY_EXPIRED