Step 1: Compatibility Check
Determine whether a user's device is compatible with FIDO
FIDO Init Request
The following payload is encoded into a JWT that will be sent to CardinalCommerce:
JSON
{
"jti": "6e7e3724-6d89-4397-8c46-65044e96ab62",
"iat": 1792076136,
"iss": "582e0a2033fadd1260f990f6",
"OrgUnitId": "582be9deda52932a946c45c4",
"ObjectifyPayload": true,
"Payload": {
"MerchantOrigin": "https:\/\/test.com"
},
"ReturnUrl": "http:\/\/coldslither.com\/visa\/passkey\/return.php"
}
Generated JWT Token
This is the complete JWT token that will be sent to CardinalCommerce:
JWT Token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2ZTdlMzcyNC02ZDg5LTQzOTctOGM0Ni02NTA0NGU5NmFiNjIiLCJpYXQiOjE3OTIwNzYxMzYsImlzcyI6IjU4MmUwYTIwMzNmYWRkMTI2MGY5OTBmNiIsIk9yZ1VuaXRJZCI6IjU4MmJlOWRlZGE1MjkzMmE5NDZjNDVjNCIsIk9iamVjdGlmeVBheWxvYWQiOnRydWUsIlBheWxvYWQiOnsiTWVyY2hhbnRPcmlnaW4iOiJodHRwczpcL1wvdGVzdC5jb20ifSwiUmV0dXJuVXJsIjoiaHR0cDpcL1wvY29sZHNsaXRoZXIuY29tXC92aXNhXC9wYXNza2V5XC9yZXR1cm4ucGhwIn0.dxOJq0tRW4JoZx17ut8rtUUWt5MtL5rypXFJ-NPkCU4
FIDO Init Response from CardinalCommerce
API response containing transaction results and ReferenceId:
Checking FIDO Compatibility on Device...