Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The FlexitiSDK will capture these events and it will send the response through the function handlers defined on the Widget instance creation.

...

Code Block
breakoutModewide
languagejs
window.parent.postMessage({
                'eventType': 'flx-success',
                'eventData': {
                    'accountNumber': 2233000 / null
                    'verified': true / false
					'action': Enum [“apply”|“purchase”|“activation”] / null
					'mfaOptionSelected': Enum [“sms”|“email”|“security_answer”] / null
                }
            }, '*');

...

Code Block
breakoutModewide
languagejs
'eventData': {
      'accountNumber': 2233000 / null
      'verified': true / false
      'action': Enum [“apply”|“purchase”|“activation”] / null
      'mfaOptionSelected': Enum [“sms”|“email”|“security_answer”] / null
}
Info

Mandatory: The merchant must call the POST /apply endpoint on a flx-success widget response on the application flow.

...