Setting Up the Client

Follow these steps to set up the client:
  1. Load the JavaScript library.
  2. Initialize the accept object with capture context.
  3. Initialize the unified payment object with optional parameters.
  4. Show the button list or payment acceptance screen or both.
The response to these interactions is a transient token that you use to complete payments securely.