Create a special tender and pass the value
redemptionType deactivate as a special option. See Start gift card transactions with CreateSpecialTender - COM extension for more information.
Deactivate is not available for SVS cards.
The cashback and deactivate values can be piped to chain the tasks by passing "cashback|deactivate".