Creates an Iaptic adapter for the specified payment platform
Configuration options for the adapter
An initialized adapter instance
Error if the specified adapter type is not supported
const iaptic = createAdapter({ type: 'stripe', appName: 'my-app', apiKey: '1234567890', stripePublicKey: 'pk_test_...'}); Copy
const iaptic = createAdapter({ type: 'stripe', appName: 'my-app', apiKey: '1234567890', stripePublicKey: 'pk_test_...'});
Creates an Iaptic adapter for the specified payment platform