Step 1: JWT Payload Configuration
The following payload contains the transaction details that will be sent to Cardinal Commerce for FIDO authentication:
JWT Payload
{
"jti": "6759ba8c-a801-4f34-b6c6-67b4628cb4aa",
"iat": 1792076137,
"iss": "582e0a2033fadd1260f990f6",
"OrgUnitId": "582be9deda52932a946c45c4",
"ObjectifyPayload": true,
"Payload": {
"MerchantOrigin": "https:\/\/test.com"
},
"ReturnUrl": "http:\/\/coldslither.com\/visa\/passkey\/return.php"
}
Step 2: Generated JWT Token
This is the complete JWT token that will be sent to Cardinal Commerce:
JWT Token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2NzU5YmE4Yy1hODAxLTRmMzQtYjZjNi02N2I0NjI4Y2I0YWEiLCJpYXQiOjE3OTIwNzYxMzcsImlzcyI6IjU4MmUwYTIwMzNmYWRkMTI2MGY5OTBmNiIsIk9yZ1VuaXRJZCI6IjU4MmJlOWRlZGE1MjkzMmE5NDZjNDVjNCIsIk9iamVjdGlmeVBheWxvYWQiOnRydWUsIlBheWxvYWQiOnsiTWVyY2hhbnRPcmlnaW4iOiJodHRwczpcL1wvdGVzdC5jb20ifSwiUmV0dXJuVXJsIjoiaHR0cDpcL1wvY29sZHNsaXRoZXIuY29tXC92aXNhXC9wYXNza2V5XC9yZXR1cm4ucGhwIn0.KnRWUDIPyA4YGUf6kTsSHGWEaSXhBWH4rqJkmFPZ05s
Step 3: API Response from Cardinal Commerce
Cardinal Commerce FIDO API response containing transaction results and ReferenceId: