Skip to main content

preAuthenticate Method

Overview​

The preAuthenticate method initiates the 3D Secure authentication flow.

Request Fields​

FieldTypeRequiredDescription
merchantOrderIdstringYesYour order reference
amountMoneyYesTransaction amount
paymentMethodPaymentMethodYesCard details
returnUrlstringYesURL to redirect

Response Fields​

FieldTypeDescription
statusstringFRICTIONLESS, AUTHENTICATION_REQUIRED
authenticationDataarray3DS data

Example​

$request = [
'merchantOrderId' => 'order_001',
'amount' => ['minorAmount' => 10000, 'currency' => 'USD'],
'paymentMethod' => ['card' => [...]],
'returnUrl' => 'https://your-app.com/3ds/return'
];
$response = $authClient->preAuthenticate($request);