Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authenticate a transaction

Use the Thales SDK to authenticate a transaction with Mastercard Token Authentication Framework (TAF).

This call generates a Mastercard payload. Use it to retrieve a TAF eligible transaction cryptogram.

Authentication flow

Mastercard TAF authentication flow at checkout.

SDK integration

Call MastercardTAFHelper.authenticateTransaction.

Start device authentication in onDeviceAuthentication.

You can customize the biometric UI strings.

Handle the final result in onSuccess or onError.

onSuccess returns the Mastercard payload.

onError returns a TMGClientException with an error code and message.

Call authenticateTransaction with a TransactionContext.

Start device authentication in deviceAuthenticationHandler.

Last updated

Was this helpful?