Authenticate
Overview
The Authenticate RPC executes the 3D Secure authentication step. For frictionless flows, it completes the authentication silently. For challenge flows, it presents the bank's authentication page to the customer for verification.
Business Use Case: After initiating 3DS with PreAuthenticate, this RPC handles the actual authentication. If a challenge is required, it manages the customer interaction with the bank's authentication page.
Purpose
Why authenticate?
Frictionless
Completes authentication without customer action
Challenge
Presents bank challenge page for customer verification
Key outcomes:
Authentication completed
Authentication data returned
Ready for payment authorization
Request Fields
merchant_order_id
string
Yes
Your unique order reference
amount
Money
Yes
Transaction amount
payment_method
PaymentMethod
Yes
Card details
customer
Customer
No
Customer information
address
PaymentAddress
Yes
Billing address
authentication_data
AuthenticationData
No
Existing 3DS data from PreAuthenticate
metadata
SecretString
No
Additional metadata
connector_feature_data
SecretString
No
Connector-specific metadata
return_url
string
No
URL to redirect after authentication
continue_redirection_url
string
No
URL to continue after redirect
Response Fields
connector_transaction_id
string
Connector's authentication transaction ID
status
PaymentStatus
Current status: AUTHENTICATED, FAILED, PENDING
error
ErrorInfo
Error details if authentication failed
status_code
uint32
HTTP-style status code
response_headers
map<string,string>
Connector-specific response headers
redirection_data
RedirectForm
Challenge URL if additional step needed
network_transaction_id
string
Card network transaction reference
merchant_order_id
string
Your order reference (echoed back)
authentication_data
AuthenticationData
3DS authentication results
state
ConnectorState
State to pass to next step
raw_connector_response
SecretString
Raw response for debugging
Example
Request (grpcurl)
Response
Next Steps
PostAuthenticate - Validate authentication results
Payment Service - Process payment with auth data
Last updated
Was this helpful?

