Skip to content

Initializing the SDK

Albert Mata edited this page Oct 13, 2016 · 9 revisions

In your Xamarin Forms page, create a new Judo instance:

var judo = new Judo()
{
    JudoId = "<JUDO_ID>",
    ApiToken = "<API_TOKEN>",
    ApiSecret = "<API_SECRET>",
    Environment = JudoEnvironment.Sandbox,
    Amount = 1.50m,
    Currency = "GBP",
    ConsumerReference = "YourUniqueReference"
};

Note: Please make sure that you are using a unique Consumer Reference for each different consumer.

###Important note### asd