Built-in Parameters in myPOS Mobile Checkout iOS SDK

This guide provides an overview of the built-in parameters managed by the myPOS Mobile Checkout iOS SDK. Learn how these ready-to-use fields simplify your integration and help you deliver a secure, seamless payment experience.

Why Use Built-in Parameters?

The myPOS Mobile Checkout iOS SDK is designed to help you:

  • Speed up integration with ready-to-use parameters
  • Reduce your PCI scope easily
  • Keep your checkout seamless and secure
  • Customize the payment experience with minimal effort

Key Built-in Parameters

When you integrate the SDK, several important parameters are handled for you automatically:

ParameterDescription
AmountTotal amount to be charged to the customer
Currency3-letter ISO currency code (e.g., EUR, USD)
OrderIDYour unique identifier for each transaction
CartItemsList of products or services included in the payment
VerificationAmountOptional amount for card verification during storage
CardTokenTokenized representation of the customer's stored card
CustomerEmailCustomer's email address (optional)
CustomerPhoneCustomer's phone number (optional)
AddressVerificationCapture customer's country and ZIP for additional security
TransactionReferenceUnique reference number assigned to each transaction

These parameters are managed internally by the SDK, reducing the coding effort on your side.

Want to Customize the UI?

You can easily adjust fonts, colors, and other visuals using a MobilePaymentTheme object.

Example: Default Theme Setup

var theme = MobilePaymentTheme()
theme.textFieldFont        = UIFont.systemFont(ofSize: 14.0)
theme.labelTextColor       = UIColor.defaultTextColor
theme.placeholderColor     = UIColor.lightGray
theme.barButtonItemColor   = UIColor.buttonEnabled
theme.textFieldTextColor   = UIColor.defaultTextColor
theme.placeholderFontSize  = 13.0
theme.textFieldBorderColor = UIColor.gray.withAlphaComponent(0.3)
theme.navigationTitleColor = UIColor.defaultTextColor
theme.placeholderAlignment = .left

Applying Your Custom Theme

After setting up your theme, apply it to the SDK:

MobilePaymentSDK.applyTheme(theme)

Pro Tip:

Each method in the SDK has full Xcode-style documentation!
Hold Option (⌥) and click on any method to view detailed usage notes.