This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Voids a gift card transaction. Transaction IDs are returned in Redeem Gift Card.
function voidTransaction(
transactionId: string,
options: VoidTransactionOptions,
): Promise<void>;
Gift card transaction ID, as returned from Redeem Gift Card.
Field options. appId
must be passed.
import { giftVouchers } from "@wix/ecom";
async function voidTransaction(transactionId, options) {
const response = await giftVouchers.voidTransaction(transactionId, options);
}
There is 1 error with this status code.
There is 1 error with this status code.
There are 2 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.