Loading the Javascript Library and Invoking the Accept Function

Use the Javascript library is used to invoke unified payments on your page.
Javascript Library URL:
Get this URL from the capture context response. When decoded it appears this in the JSON parameter
When you load the library, the capture context that you received from your initial server-side request invokes the accept function.
You should use the
parameter value in the capture context response to obtain the Unified Checkout Javascript library URL. This ensures that you are always using the most up-to-date library. Do not hard code the Unified Checkout Javascript library URL.