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 |
sessionToken
|
The session token that your backend generates to authenticate your app against the Forage Payments API. The token expires after 15 minutes. |
-
Declaration
Swift
public init(merchantID: String, sessionToken: String)