bitpay-sdk
Version:
Complete version of the NodeJS library for the new cryptographically secure BitPay API
32 lines • 1.27 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.refundInterfaceSchema = void 0;
const zod_1 = require("zod");
const RefundParams_zod_1 = require("./RefundParams.zod");
exports.refundInterfaceSchema = zod_1.z.object({
params: RefundParams_zod_1.refundParamsSchema.optional(),
guid: zod_1.z.string().optional(),
refundEmail: zod_1.z.string().optional(),
amount: zod_1.z.number(),
currency: zod_1.z.string(),
token: zod_1.z.string().optional(),
id: zod_1.z.string(),
requestDate: zod_1.z.string(),
status: zod_1.z.string(),
invoice: zod_1.z.string(),
supportRequest: zod_1.z.string().optional(),
refundAddress: zod_1.z.string().optional(),
txid: zod_1.z.string().optional(),
type: zod_1.z.string().optional(),
reference: zod_1.z.string().optional(),
transactionCurrency: zod_1.z.string(),
transactionAmount: zod_1.z.number(),
transactionRefundFee: zod_1.z.number(),
lastRefundNotification: zod_1.z.string().optional(),
notificationURL: zod_1.z.string().optional(),
refundFee: zod_1.z.number(),
immediate: zod_1.z.boolean(),
buyerPaysRefundFee: zod_1.z.boolean(),
preview: zod_1.z.boolean().optional()
});
//# sourceMappingURL=Refund.zod.js.map