Adapter initialization: SSI

The following code initializes SSIMessageAdapter and adds it to Connector.

Connector connector = new Connector();
...
var messageAdapter = new SSIMessageAdapter(connector.TransactionIdGenerator)
{
	Key = "<Your API key>".To<SecureString>(),
	Secret = "<Your API secret>".To<SecureString>(),
	ClientId = "<Your client identifier>",
	PrivateKey = "<Your RSA private key>".To<SecureString>(),
	Otp = "<Current OTP>".To<SecureString>(),
	Account = "<Your account number>",
};
connector.Adapter.InnerAdapters.Add(messageAdapter);
...

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

See also

Connector configuration

Connection settings window