UNPKG

bitpay-sdk

Version:

Complete version of the NodeJS library for the new cryptographically secure BitPay API

55 lines (54 loc) 1.42 kB
import { RefundParams } from './RefundParams'; export interface RefundInterface { amount: number; currency: string; guid?: string; refundEmail?: string; token?: string; id: string; requestDate: string; status: string; invoice: string; supportRequest?: string; refundAddress?: string; txid?: string; type?: string; reference?: string; transactionCurrency: string; transactionAmount: number; transactionRefundFee: number; lastRefundNotification?: string; notificationURL?: string; refundFee: number; immediate: boolean; buyerPaysRefundFee: boolean; preview?: boolean; params?: RefundParams; } export declare class Refund implements RefundInterface { amount: number; currency: string; guid?: string; id: string; params?: RefundParams; refundEmail?: string; requestDate: string; status: string; token?: string; invoice: string; supportRequest?: string; refundAddress?: string; txid?: string; type?: string; reference?: string; transactionCurrency: string; transactionAmount: number; transactionRefundFee: number; lastRefundNotification?: string; notificationURL?: string; refundFee: number; immediate: boolean; buyerPaysRefundFee: boolean; preview?: boolean; constructor(amount: number, invoiceId: string, token: string); }