Versions Compared

Key

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

An agent’s payment UI is served by the PCI services vendor (e.g. PCI Pal). You can configure the UI to load in a webpage iframe or in an embedded browser.

...

Code Block
languagexml
themeMidnight
<iframe name="paymentframe" src="about:blank"></iframe>
...
<form action="https://<payment host URL>/view/59aab1be-d652-426e-a7a8-1bf4ca15e2ab/framed" id="initForm" target="paymentframe" method="POST">
  <input name="X-BEARER-TOKEN" value="eyJ0...Nvtr" type="hidden">
  <input name="X-REFRESH-TOKEN" value="f9d8...c999" type="hidden">
</form>
<script>
    document.getElementById("initForm").submit();
</script>

UI in an embedded browser

To configure the UI to open in an embedded browser, then open the URL specified in the iframeUrl parameter returned by the request to the POST /v1/session (Create agent assist session) endpoint with the following headers:

...