getCancelledPurchasesWithEndDate
SolvaPay SDK / react/src / getCancelledPurchasesWithEndDate
Function: getCancelledPurchasesWithEndDate()
getCancelledPurchasesWithEndDate(
purchases):PurchaseInfo[]
Defined in: packages/react/src/utils/purchases.ts:40
Get cancelled purchases with valid endDate (not expired)
Returns purchases with cancelledAt set and status === 'active' that have a future endDate. Backend keeps cancelled purchases as 'active' until expiration.