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": "b01b4c77-81a3-4ea5-bf65-e7f95274756b",
    "iat": 1787455613,
    "iss": "5f6c3fbe5ad3d7567e4f1dd1",
    "OrgUnitId": "5b9c4bb3ff626b1344810a01",
    "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.eyJqdGkiOiJiMDFiNGM3Ny04MWEzLTRlYTUtYmY2NS1lN2Y5NTI3NDc1NmIiLCJpYXQiOjE3ODc0NTU2MTMsImlzcyI6IjVmNmMzZmJlNWFkM2Q3NTY3ZTRmMWRkMSIsIk9yZ1VuaXRJZCI6IjViOWM0YmIzZmY2MjZiMTM0NDgxMGEwMSIsIk9iamVjdGlmeVBheWxvYWQiOnRydWUsIlBheWxvYWQiOnsiTWVyY2hhbnRPcmlnaW4iOiJodHRwczpcL1wvdGVzdC5jb20ifSwiUmV0dXJuVXJsIjoiaHR0cDpcL1wvY29sZHNsaXRoZXIuY29tXC92aXNhXC9wYXNza2V5XC9yZXR1cm4ucGhwIn0._IbfuL9vl1gYQZ7IvwxOmHHxr8eaENS5SVZa6OceP-g

FIDO Init Response from CardinalCommerce

API response containing transaction results and ReferenceId:

Checking FIDO Compatibility on Device...