Tokenize Mag Swipe Params
data class TokenizeMagSwipeParams(val forageConfig: ForageConfig, val track2Data: String, val reusable: Boolean = true)
A model that represents the parameters that ForageTerminalSDK requires to tokenize a card via a magnetic swipe from a physical POS Terminal. This data class is not supported for online-only transactions. TokenizeMagSwipeParams are passed to the tokenizeCard method.
Properties
Link copied to clipboard
Required. The ForageConfig configuration details required to authenticate with the Forage API.
Link copied to clipboard
Required. The information encoded on Track 2 of the card’s magnetic stripe, excluding the start and stop sentinels and any LRC characters. Example value: "123456789123456789=123456789123"