v1
latestOpenAPI 3.0.12026-07-245303882.5 MBJSR Payment Initiation (Journey without Redirection)
Get parameters for FIDO2 authentication.
Endpoint to obtain the required parameters for FIDO2 authentication using previously registered credentials during Open Finance Brasil payment operations. This method generates a unique challenge for each call and returns parameters compatible with the WebAuthn navigator.credentials.get() API for verifying digital signatures. The enrollment must be in AUTHORISED status with valid associated FIDO2 credentials. Used in Journey without Redirection (JSR) for strong authentication before authorizing payment transactions.
post/open-keys/itp/api/v2/enrollments/v2/payment-initiation/{itp_enrollment_id}/fido-sign-options
Path parameters
itp_enrollment_idstring required
Request body
Example request
{
"journeySessionId": "f362a873-c127-4122-b711-a37b24a36914",
"paymentInitiationId": "f362a873-c127-4122-b711-a37b24a36914",
"data": {
"platform": "ANDROID"
}
}Response
Object containing the necessary information for signing with a FIDO2 credential.
Example response
{
"challenge": "SA03whJqfB7rWRiaEh6dyLNm3Wg4EY7H50g9b1XCMBw",
"allowCredentials": [
{
"id": "xf1k_8KzydfqRMxvchl0axbwZINYaDGmYNvHldVnT6Mmmil1",
"type": "public-key"
}
],
"timeout": 60000,
"userVerification": "preferred",
"rpId": "webauthn-simulator.web.app"
}