flexbase-client
Version:
Flexbase api client
31 lines (30 loc) • 800 B
TypeScript
import { CounterpartyForm } from './Counterparty.js';
import { FlexbaseResponse } from '../FlexbaseResponse.js';
export interface Payment extends FlexbaseResponse {
id?: string;
asOf?: string;
byUser?: string;
companyId?: string;
createdAt?: string;
payAmount?: string;
payAmountCents?: string;
payDescription?: string;
payDirection?: string;
payCtrParty?: string;
status?: string;
type?: string;
ucCustomerId?: string;
ucDepositId?: string;
ucPaymentsId?: string;
version?: number;
}
export interface PaymentForm {
type: string;
amount: string;
direction: string;
accountId: string;
description: string;
counterpartyId?: string;
plaidProcessorToken?: string;
counterparty?: Partial<CounterpartyForm>;
}