UNPKG

@maxio-com/advanced-billing-sdk

Version:

Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.

20 lines 863 B
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { bigint, boolean, expandoObject, number, optional, string, } from '../schema'; import { prepaymentMethodSchema } from './prepaymentMethod'; export const prepaymentSchema = expandoObject({ id: ['id', number()], subscriptionId: ['subscription_id', number()], amountInCents: ['amount_in_cents', bigint()], remainingAmountInCents: ['remaining_amount_in_cents', bigint()], refundedAmountInCents: ['refunded_amount_in_cents', optional(bigint())], details: ['details', optional(string())], external: ['external', boolean()], memo: ['memo', string()], paymentType: ['payment_type', optional(prepaymentMethodSchema)], createdAt: ['created_at', string()], }); //# sourceMappingURL=prepayment.js.map