bitpay-sdk
Version:
Complete version of the NodeJS library for the new cryptographically secure BitPay API
26 lines • 1.11 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.refundWebhookSchema = void 0;
const zod_1 = require("zod");
exports.refundWebhookSchema = zod_1.z.object({
amount: zod_1.z.number().nullable(),
buyerPaysRefundFee: zod_1.z.boolean().nullable(),
currency: zod_1.z.string().nullable(),
id: zod_1.z.string().nullable(),
immediate: zod_1.z.boolean().nullable(),
invoice: zod_1.z.string().nullable(),
lastRefundNotification: zod_1.z.string().nullable(),
refundFee: zod_1.z.number().nullable(),
requestDate: zod_1.z.string().nullable(),
status: zod_1.z.string().nullable(),
supportRequest: zod_1.z.string().nullable(),
reference: zod_1.z.string().nullable(),
guid: zod_1.z.string().nullable(),
refundAddress: zod_1.z.string().nullable(),
type: zod_1.z.string().nullable(),
txid: zod_1.z.string().nullable(),
transactionCurrency: zod_1.z.string().nullable(),
transactionAmount: zod_1.z.number().nullable(),
transactionRefundFee: zod_1.z.number().nullable()
});
//# sourceMappingURL=RefundWebhook.zod.js.map