Docs

PaperCheckoutProps

type PaperCheckoutProps<T extends ContractType> = CustomContractArgWrapper<
  {
    appName?: string;
    checkoutId: string;
    children?: React.ReactNode;
    display?: PaperCheckoutDisplay;
    eligibilityMethod?: ReadMethodCallType;
    emailAddress?: string;
    metadata?: Record<string, any>;
    mintMethod?: WriteMethodCallType;
    onCloseCheckout?: () => void;
    onOpenCheckout?: () => void;
    onPaymentSuccess?: (result: PaymentSuccessResult) => void;
    onTransferSuccess?: (result: TransferSuccessResult) => void;
    options?: {
      borderRadius: number;
      colorBackground: string;
      colorPrimary: string;
      colorText: string;
      fontFamily: string;
      height: number;
      width: number;
    };
    quantity?: number;
    recipientWalletAddress?: string;
  },
  T
>;