Adapter initialization: Ventura

The following code initializes VenturaMessageAdapter and adds it to Connector.

var messageAdapter = new VenturaMessageAdapter(Connector.TransactionIdGenerator)
{
	Key = "<key>".ToSecureString(),
	Secret = "<secret>".ToSecureString(),
	Token = "<token>".ToSecureString(),
	ClientId = "<id>",
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);

Set the credentials and any other required properties described on the Connector configuration page.

See also

Connector configuration

Connection settings window