Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

207 B
Raw Blame
import { PayoutAccountDTO } from "@mercurjs/types"

export const isPayoutReady = (account: PayoutAccountDTO | undefined): account is PayoutAccountDTO =>
  !!account?.payouts_enabled && !!account.external_id