/**
 * PayPal Node - Version 1
 * Discriminator: resource=payout, operation=get
 */


interface Credentials {
  payPalApi: CredentialReference;
}

/** Show batch payout details */
export type PayPalV1PayoutGetParams = {
  resource: 'payout';
  operation: 'get';
/**
 * The ID of the payout for which to show details
 */
    payoutBatchId?: string | Expression<string> | PlaceholderValue;
/**
 * Whether to return all results or only up to a given limit
 * @default false
 */
    returnAll?: boolean | Expression<boolean>;
/**
 * Max number of results to return
 * @displayOptions.show { returnAll: [false] }
 * @default 100
 */
    limit?: number | Expression<number>;
};

export type PayPalV1PayoutGetNode = {
  type: 'n8n-nodes-base.payPal';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<PayPalV1PayoutGetParams>;
};