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.

34 lines (30 loc) 722 B
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { bigint, boolean, expandoObject, number, optional, Schema, string, } from '../schema'; /** Information for captured payment, if applicable */ export interface PaymentForAllocation { id?: number; amountInCents?: bigint; success?: boolean; memo?: string; [key: string]: unknown; } export const paymentForAllocationSchema: Schema<PaymentForAllocation> = expandoObject( { id: ['id', optional(number())], amountInCents: ['amount_in_cents', optional(bigint())], success: ['success', optional(boolean())], memo: ['memo', optional(string())], } );