JavaScript Example: Initializing the SDK
<script src="https://apitest.cybersource.com/up/v1/assets/0.19.0/SecureAcceptance.js"></script> <script> Accept('header.payload.signature').then(function(accept) { // use accept object }); </script>
In this example,
header.payload.signature
refers to the capture
context JWT.