Skip to main content

Method Parameters

  1. event - mandatory
    The name of the event, in this case change
  2. handler - mandatory
    handler(event) => void is a callback function that a merchant will provide that will be called when the event is fired. When called it will be passed an event object with the following properties:

Handling a card embed change event

Javascript

Handler event object

Object