new Connect(options). The SDK requires key and onSuccess; other values configure callbacks or are forwarded to the hosted widget.
Constructor parameters
Account-linking configuration
Customer
Identify an existing Mono customer with its ID:Payment configuration
Current package examples pass payment configuration insidedata.
Confirm current allowed types and required fields in Mono’s official payment documentation.
Setup configuration
Pass setup-only values tosetup(config) rather than the constructor.