Skip to main content
Close an authorization that you will not capture. Because no funds were reserved, a merchant can stop using the signature offchain, but only the buyer can authorize an onchain nonce cancellation.

Demo

The demo above is mock only. If you want to see onchain demos on Vibenet, head to Base chain demos.

Cancel the Nonce Onchain

TypeScript
The buyer signs CancelAuthorization; the merchant or another relayer can submit that signature. The token marks the nonce used, so the original transfer authorization can no longer settle.
After cancellation, authorizationState(authorizer, nonce) returns true, and a later capture with the original signature reverts.
authorizationState does not distinguish captured from canceled. Persist your own order state and transition it atomically before accepting a cancellation or capture request.

See Also

Authorize a Payment

Create a short-lived exact authorization.

Capture an Authorization

Settle an authorization you intend to fulfill.