cURL
curl --request POST \ --url https://api.atlas.co/functions/v1/threeds-authenticate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "token_id": "<string>", "amount": 123, "currency": "<string>", "challenge_preference": "no_preference" } '
{ "id": "<string>", "status": "<string>", "challenge_required": true, "challenge_url": "<string>", "authentication_value": "<string>", "eci": "<string>", "ds_transaction_id": "<string>", "liability_shift": true }
Client secret from payment session
no_preference
no_challenge
challenge_requested
challenge_mandated
3DS session created