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.
- Add the card BIN (first eight digits or full card number) to the transactional JWT.
- Create a POST request to send the transactional JWT to the device data collection URL.
- 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>