method PaymentProvider.isPaymentRefunded
PaymentProvider.isPaymentRefunded(paymentReference: string): Promise<boolean>

Check if a payment has been refunded via the provider API. Used to refresh refund status from the edit attendee page.

Parameters

paymentReference: string
  • provider-specific payment reference

Return Type

Promise<boolean>

true if the payment has been refunded

Usage

import { type PaymentProvider } from "docs/payments.ts";