Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Redeem a voucher · Boson Protocol
Skip to content

Redeem a voucher

Redemption is the buyer's signal that they want the goods. It transitions the exchange from COMMITTED to REDEEMED and starts the dispute window. After the dispute window closes (and no dispute was raised), anyone can call completeExchange to release the seller's earnings.

SDK
await (await sdk.redeemVoucher(exchangeId)).wait()

When to redeem

  • Digital goods: immediately after commit (or use atomic commit-and-redeem).
  • Physical goods: when you receive the package. Until you redeem, you can cancel (with penalty) or wait out the voucher window (price refunded, seller deposit kept by seller).

Common gotchas

  • Don't redeem before you have the goods (physical). Once redeemed, you can only raise a dispute within a fixed window.
  • The voucher (rNFT) is burned on redeem. You'll lose secondary-market resale value.
  • Redemption fires VoucherRedeemed — this is what the seller's fulfillment system listens to. See Handle redemption.

Next