interface PaymentRefund {
    _id?: string;
    affectedItems?: RefundAffectedItem[];
    amount: number;
    currency: USD;
    date: Date;
    disputes?: PaymentDispute[];
    label?: string;
    note?: string;
    originalPayment: undefined | string | BasePayment;
    paymentError?: models.bookings.PaymentError;
    paymentProcessor?: PaymentProcessor;
    paymentProcessorFeeRefunded?: number;
    recipient?: recipients;
    status: PaymentStatus;
    transactionId?: string;
    type: PaymentType;
}

Hierarchy (View Summary)

Properties

_id?: string
affectedItems?: RefundAffectedItem[]
amount: number
currency: USD
date: Date
disputes?: PaymentDispute[]
label?: string
note?: string
originalPayment: undefined | string | BasePayment

reference to the internal payment _id of a refunded payment

paymentProcessor?: PaymentProcessor
paymentProcessorFeeRefunded?: number
recipient?: recipients
transactionId?: string