DigetPayConfig

constructor(apiKey: String, environment: Environment = Environment.SANDBOX, enableLogging: Boolean = false)

Parameters

apiKey

the merchant API key issued by DigetPay (sent as the x-api-key header).

environment

which backend to target. Defaults to Environment.SANDBOX.

enableLogging

when true, HTTP requests/responses are logged (debug builds only).