Refund Completed Event

To report an event when an order refund is completed.

Function Interface

events.refundCompleted(eventParameter:RefundCompletedEventParameter)

RefundCompletedEventParameter

ParameterTypeRequiredDescription
currencystring✔The store currency, following the ISO 4217 standard.
totalAmountstring✔The total value of the viewed products.
itemsItem[]✔The items that are refunded. Refer to the Item resource page for details.
orderIdstring✔The unique identifier of the order.

Example

ASPixel.events.refundCompleted({ items: [{...}], currency: "USD", totalAmount: '500.00', orderId: "xxxxxxx" });