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": "8d9b9dc5-bb03-4f97-84a7-42d18c47fa59",
    "iat": 1786880092,
    "iss": "582e0a2033fadd1260f990f6",
    "OrgUnitId": "582be9deda52932a946c45c4",
    "ObjectifyPayload": true,
    "Payload": {
        "MerchantOrigin": "https:\/\/test.com"
    },
    "ReturnUrl": "http:\/\/www.coldslither.com\/visa\/passkey\/return.php"
}

Generated JWT Token

This is the complete JWT token that will be sent to CardinalCommerce:

JWT Token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI4ZDliOWRjNS1iYjAzLTRmOTctODRhNy00MmQxOGM0N2ZhNTkiLCJpYXQiOjE3ODY4ODAwOTIsImlzcyI6IjU4MmUwYTIwMzNmYWRkMTI2MGY5OTBmNiIsIk9yZ1VuaXRJZCI6IjU4MmJlOWRlZGE1MjkzMmE5NDZjNDVjNCIsIk9iamVjdGlmeVBheWxvYWQiOnRydWUsIlBheWxvYWQiOnsiTWVyY2hhbnRPcmlnaW4iOiJodHRwczpcL1wvdGVzdC5jb20ifSwiUmV0dXJuVXJsIjoiaHR0cDpcL1wvd3d3LmNvbGRzbGl0aGVyLmNvbVwvdmlzYVwvcGFzc2tleVwvcmV0dXJuLnBocCJ9.J74gxx5aLK_NRhtsk3OBGOfa01SZR_Z9_B5i9Y6spv4

FIDO Init Response from CardinalCommerce

API response containing transaction results and ReferenceId:

Checking FIDO Compatibility on Device...