import type * as CandidApi from "../../../index"; /** * Allocations are portions of payments that are applied to specific resources, known as targets. Each allocation has * and amount, defined in cents, and a target. */ export interface AllocationCreate { amountCents: number; target: CandidApi.AllocationTargetCreate; /** * If enabled for your organization, optional earmarking configuration for patient prepayments. * When provided on unattributed allocations, holds the payment for future auto-allocation to matching encounters. */ earmark?: CandidApi.AllocationEarmarkType; }