Card BIN in JWT

As part of the JWT generation, you add the card BIN to the payload within the transactional JWT. When the device data collection URL is invoked, the transactional JWT is sent to the URL.
The following example shows the return URL populated in the transactional JWT instead of a POST parameter.
  1. Add the card BIN (first eight digits or full card number) to the transactional JWT.
  2. Create a POST request to send the transactional JWT to the device data collection URL.
  3. Handle the response from the device data collection URL on the return URL provided within the transactional JWT.
Card BIN in JWT
<iframe height="1" width="1" style="display: none;"> <form id="collectionForm" name="devicedata" method="POST" action="https://centinelapistag.cardinalcommerce.com/V1/Cruise/Collect"> <input type="hidden" name="JWT" value="Transactional JWT generated per specification" /> </form> <script>window.onload = function() { // Auto submit form on page load document.getElementById('collectionForm').submit(); } </script> </iframe>