Config

public struct Config

Config struct to set the merchant ID and session token on the ForageSDK singleton

Parameters

merchantID

The unique merchant ID that Forage provides during onboarding preceded by mid/, as in mid/<Merchant ID>

sessionToken

The session token that your backend generates to authenticate your app against the Forage Payments API. The token expires after 15 minutes.