Configure Integrators

Configuring the YocoSDK

Once the Yoco Payment UI SDK has been initialised, you can configure the SDK with its dynamic parameters. This can be called from anywhere in your application and can be called multiple times.

To configure the YocoSDK you will need to use the SDK Integration Key secret obtained after completing the SDK Integration Application form

import com.yoco.payments.sdk.data.enums.SDKEnvironment
// Configures the Yoco Payment UI SDK
YocoSDK.configure(
context = context,
secret = "<integration secret>",
environment = SDKEnvironment.PRODUCTION,
//optional: defaults to false
enableLogging = true
)