export type refund_Refund = { /** * Amount is the refunded amount in the smallest currency unit (e.g. cents). */ amount?: number; /** * CompletedAt is the RFC 3339 timestamp at which the refund succeeded; absent until then. */ completedAt?: string; createdAt?: string; creatorId?: string; data?: string; /** * FailureReason is the reason the refund failed, populated only for failed refunds. */ failureReason?: string; id?: string; identityId?: string; /** * InvoiceID is the ID of the invoice the refund was issued against. */ invoiceId?: string; object?: string; previousAttributes?: Record; /** * ReceiptKey is the storage key of the refund receipt, when one is available. */ receiptKey?: string; ref?: string; /** * Status is the current state of the refund as it progresses through processing. */ status?: refund_Refund.status; updatedAt?: string; }; export declare namespace refund_Refund { /** * Status is the current state of the refund as it progresses through processing. */ enum status { PENDING = "pending", SUCCEEDED = "succeeded", FAILED = "failed" } }