MonetaryTokenizer

@interface MonetaryTokenizer : NSObject

Monetary Tokenizer class for initiating account data entry and tokenization.

  • Request a token with user-input account data.

    Calling this method with the appropriate parameters presents the user with 3 account data entry views, then tokenizes the data input by the user and calls the provided delegate with tokenization results.

    Declaration

    Objective-C

    - (void)requestKeyedTokenWithPublicKey:(NSString *)publicKey
                               andDelegate:(NSObject<MonetaryTokenDelegate> *)delegate
                        overViewController:(UIViewController *)parentViewController;

    Swift

    func requestKeyedTokenWithPublicKey(publicKey: String!, andDelegate delegate: MonetaryTokenDelegate!, overViewController parentViewController: AnyObject!)

    Parameters

    publicKey

    A Monetary public key for authentication.

    delegate

    A MonetaryTokenDelegate object which to call with tokenization results.

    parentViewController

    A UIViewController over which to display account data entry views.