import type * as Square from "../index"; /** * One or more PayoutEntries that make up a Payout. Each one has a date, amount, and type of activity. * The total amount of the payout will equal the sum of the payout entries for a batch payout */ export interface PayoutEntry { /** A unique ID for the payout entry. */ id: string; /** The ID of the payout entries’ associated payout. */ payoutId: string; /** The timestamp of when the payout entry affected the balance, in RFC 3339 format. */ effectiveAt?: string | null; /** * The type of activity associated with this payout entry. * See [ActivityType](#type-activitytype) for possible values */ type?: Square.ActivityType; /** The amount of money involved in this payout entry. */ grossAmountMoney?: Square.Money; /** The amount of Square fees associated with this payout entry. */ feeAmountMoney?: Square.Money; /** The net proceeds from this transaction after any fees. */ netAmountMoney?: Square.Money; /** Details of any developer app fee revenue generated on a payment. */ typeAppFeeRevenueDetails?: Square.PaymentBalanceActivityAppFeeRevenueDetail; /** Details of a refund for an app fee on a payment. */ typeAppFeeRefundDetails?: Square.PaymentBalanceActivityAppFeeRefundDetail; /** Details of any automatic transfer from the payment processing balance to the Square Savings account. These are, generally, proportional to the merchant's sales. */ typeAutomaticSavingsDetails?: Square.PaymentBalanceActivityAutomaticSavingsDetail; /** Details of any automatic transfer from the Square Savings account back to the processing balance. These are, generally, proportional to the merchant's refunds. */ typeAutomaticSavingsReversedDetails?: Square.PaymentBalanceActivityAutomaticSavingsReversedDetail; /** Details of credit card payment captures. */ typeChargeDetails?: Square.PaymentBalanceActivityChargeDetail; /** Details of any fees involved with deposits such as for instant deposits. */ typeDepositFeeDetails?: Square.PaymentBalanceActivityDepositFeeDetail; /** Details of any reversal or refund of fees involved with deposits such as for instant deposits. */ typeDepositFeeReversedDetails?: Square.PaymentBalanceActivityDepositFeeReversedDetail; /** Details of any balance change due to a dispute event. */ typeDisputeDetails?: Square.PaymentBalanceActivityDisputeDetail; /** Details of adjustments due to the Square processing fee. */ typeFeeDetails?: Square.PaymentBalanceActivityFeeDetail; /** Square offers Free Payments Processing for a variety of business scenarios including seller referral or when Square wants to apologize for a bug, customer service, repricing complication, and so on. This entry represents details of any credit to the merchant for the purposes of Free Processing. */ typeFreeProcessingDetails?: Square.PaymentBalanceActivityFreeProcessingDetail; /** Details of any adjustment made by Square related to the holding or releasing of a payment. */ typeHoldAdjustmentDetails?: Square.PaymentBalanceActivityHoldAdjustmentDetail; /** Details of any open disputes. */ typeOpenDisputeDetails?: Square.PaymentBalanceActivityOpenDisputeDetail; /** Details of any other type that does not belong in the rest of the types. */ typeOtherDetails?: Square.PaymentBalanceActivityOtherDetail; /** Details of any other type of adjustments that don't fall under existing types. */ typeOtherAdjustmentDetails?: Square.PaymentBalanceActivityOtherAdjustmentDetail; /** Details of a refund for an existing card payment. */ typeRefundDetails?: Square.PaymentBalanceActivityRefundDetail; /** Details of fees released for adjustments. */ typeReleaseAdjustmentDetails?: Square.PaymentBalanceActivityReleaseAdjustmentDetail; /** Details of fees paid for funding risk reserve. */ typeReserveHoldDetails?: Square.PaymentBalanceActivityReserveHoldDetail; /** Details of fees released from risk reserve. */ typeReserveReleaseDetails?: Square.PaymentBalanceActivityReserveReleaseDetail; /** Details of capital merchant cash advance (MCA) assessments. These are, generally, proportional to the merchant's sales but may be issued for other reasons related to the MCA. */ typeSquareCapitalPaymentDetails?: Square.PaymentBalanceActivitySquareCapitalPaymentDetail; /** Details of capital merchant cash advance (MCA) assessment refunds. These are, generally, proportional to the merchant's refunds but may be issued for other reasons related to the MCA. */ typeSquareCapitalReversedPaymentDetails?: Square.PaymentBalanceActivitySquareCapitalReversedPaymentDetail; /** Details of tax paid on fee amounts. */ typeTaxOnFeeDetails?: Square.PaymentBalanceActivityTaxOnFeeDetail; /** Details of fees collected by a 3rd party platform. */ typeThirdPartyFeeDetails?: Square.PaymentBalanceActivityThirdPartyFeeDetail; /** Details of refunded fees from a 3rd party platform. */ typeThirdPartyFeeRefundDetails?: Square.PaymentBalanceActivityThirdPartyFeeRefundDetail; /** Details of a payroll payment that was transferred to a team member’s bank account. */ typeSquarePayrollTransferDetails?: Square.PaymentBalanceActivitySquarePayrollTransferDetail; /** Details of a payroll payment to a team member’s bank account that was deposited back to the seller’s account by Square. */ typeSquarePayrollTransferReversedDetails?: Square.PaymentBalanceActivitySquarePayrollTransferReversedDetail; }