SQL Server / GP-API Collection / AUT_1.1 3DS2 Initiate
Back to Collection Items
-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
DECLARE @hr int
DECLARE @iTmp0 int
-- Important: Do not use nvarchar(max). See the warning about using nvarchar(max).
DECLARE @sTmp0 nvarchar(4000)
-- This example assumes the Chilkat API to have been previously unlocked.
-- See Global Unlock Sample for sample code.
DECLARE @http int
-- Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.Http', @http OUT
IF @hr <> 0
BEGIN
PRINT 'Failed to create ActiveX component'
RETURN
END
DECLARE @success int
-- Use this online tool to generate code from sample JSON: Generate Code to Create JSON
-- The following JSON is sent in the request body.
-- {
-- "three_ds": {
-- "source": "BROWSER",
-- "preference": "NO_PREFERENCE"
-- },
-- "account_name": "{{acc_name}}",
-- "channel": "CNP",
-- "amount": "5",
-- "currency": "EUR",
-- "country": "US",
-- "method_url_completion_status": "YES",
-- "payment_method": {
-- "id": "{{pmt_id}}"
-- },
-- "order": {
-- "time_created_reference": "2019-04-26T10:19:32.552327Z",
-- "amount": "1001",
-- "currency": "EUR",
-- "reference": "3400dd37-101d-4940-be15-3c963b6109b3",
-- "address_match_indicator": "false",
-- "shipping_address": {
-- "line1": "Apartment 852",
-- "line2": "Complex 741",
-- "line3": "House 963",
-- "city": "Chicago",
-- "postal_code": "50001",
-- "state": "IL",
-- "country": "840"
-- },
-- "gift_card_count": "01",
-- "gift_card_currency": "EUR",
-- "gift_card_amount": "25000",
-- "delivery_email": "james.mason@example.com",
-- "delivery_timeframe": "ELECTRONIC_DELIVERY",
-- "shipping_method": "ANOTHER_VERIFIED_ADDRESS",
-- "shipping_name_matches_cardholder_name": "true",
-- "preorder_indicator": "MERCHANDISE_AVAILABLE",
-- "preorder_availability_date:": "2019-04-18",
-- "reorder_indicator": "FIRST_TIME_ORDER",
-- "transaction_type": "GOODS_SERVICE_PURCHASE"
-- },
-- "payer": {
-- "reference": "6dcb24f5-74a0-4da3-98da-4f0aa0e88db3",
-- "account_age": "LESS_THAN_THIRTY_DAYS",
-- "account_creation_date": "2019-01-10",
-- "account_change_date": "2019-01-28",
-- "account_change_indicator": "THIS_TRANSACTION",
-- "account_password_change_date": "2019-01-15",
-- "account_password_change_indicator": "LESS_THAN_THIRTY_DAYS",
-- "home_phone": {
-- "country_code": "44",
-- "subscriber_number": "123456789"
-- },
-- "work_phone": {
-- "country_code": "44",
-- "subscriber_number": "1801555888"
-- },
-- "payment_account_creation_date": "2019-01-01",
-- "payment_account_age_indicator": "LESS_THAN_THIRTY_DAYS",
-- "suspicious_account_activity": "NO_SUSPICIOUS_ACTIVITY",
-- "purchases_last_6months_count": "03",
-- "transactions_last_24hours_count": "01",
-- "transaction_last_year_count": "05",
-- "provision_attempt_last_24hours_count": "01",
-- "shipping_address_time_created_reference": "2019-01-28",
-- "shipping_address_creation_indicator": "THIS_TRANSACTION"
-- },
-- "payer_prior_three_ds_authentication_data": {
-- "authentication_method": "FRICTIONLESS_AUTHENTICATION",
-- "acs_transaction_reference": "26c3f619-39a4-4040-bf1f-6fd433e6d615",
-- "authentication_timestamp": "2020-07-28T10:26:49.712Z",
-- "authentication_data": "secret123"
-- },
-- "recurring_authorization_data": {
-- "max_number_of_instalments": "05",
-- "frequency": "25",
-- "expiry_date": "2019-08-25"
-- },
-- "payer_login_data": {
-- "authentication_data": "secret123",
-- "authentication_timestamp": "2020-07-28T10:26:49.712Z",
-- "authentication_type": "MERCHANT_SYSTEM_AUTHENTICATION"
-- },
-- "browser_data": {
-- "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
-- "color_depth": "TWENTY_FOUR_BITS",
-- "ip": "123.123.123.123",
-- "java_enabled": "true",
-- "javascript_enabled": "true",
-- "language": "en-US",
-- "screen_height": "1080",
-- "screen_width": "1920",
-- "challenge_window_size": "FULL_SCREEN",
-- "timezone": "0",
-- "user_agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36"
-- },
-- "merchant_contact_url": "https://enp4qhvjseljg.x.pipedream.net/"
-- }
DECLARE @json int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @json OUT
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'three_ds.source', 'BROWSER'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'three_ds.preference', 'NO_PREFERENCE'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'account_name', '{{acc_name}}'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'channel', 'CNP'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'amount', '5'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'currency', 'EUR'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'country', 'US'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'method_url_completion_status', 'YES'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payment_method.id', '{{pmt_id}}'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.time_created_reference', '2019-04-26T10:19:32.552327Z'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.amount', '1001'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.currency', 'EUR'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.reference', '3400dd37-101d-4940-be15-3c963b6109b3'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.address_match_indicator', 'false'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.shipping_address.line1', 'Apartment 852'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.shipping_address.line2', 'Complex 741'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.shipping_address.line3', 'House 963'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.shipping_address.city', 'Chicago'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.shipping_address.postal_code', '50001'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.shipping_address.state', 'IL'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.shipping_address.country', '840'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.gift_card_count', '01'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.gift_card_currency', 'EUR'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.gift_card_amount', '25000'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.delivery_email', 'james.mason@example.com'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.delivery_timeframe', 'ELECTRONIC_DELIVERY'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.shipping_method', 'ANOTHER_VERIFIED_ADDRESS'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.shipping_name_matches_cardholder_name', 'true'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.preorder_indicator', 'MERCHANDISE_AVAILABLE'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.preorder_availability_date:', '2019-04-18'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.reorder_indicator', 'FIRST_TIME_ORDER'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'order.transaction_type', 'GOODS_SERVICE_PURCHASE'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.reference', '6dcb24f5-74a0-4da3-98da-4f0aa0e88db3'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.account_age', 'LESS_THAN_THIRTY_DAYS'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.account_creation_date', '2019-01-10'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.account_change_date', '2019-01-28'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.account_change_indicator', 'THIS_TRANSACTION'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.account_password_change_date', '2019-01-15'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.account_password_change_indicator', 'LESS_THAN_THIRTY_DAYS'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.home_phone.country_code', '44'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.home_phone.subscriber_number', '123456789'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.work_phone.country_code', '44'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.work_phone.subscriber_number', '1801555888'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.payment_account_creation_date', '2019-01-01'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.payment_account_age_indicator', 'LESS_THAN_THIRTY_DAYS'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.suspicious_account_activity', 'NO_SUSPICIOUS_ACTIVITY'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.purchases_last_6months_count', '03'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.transactions_last_24hours_count', '01'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.transaction_last_year_count', '05'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.provision_attempt_last_24hours_count', '01'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.shipping_address_time_created_reference', '2019-01-28'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer.shipping_address_creation_indicator', 'THIS_TRANSACTION'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer_prior_three_ds_authentication_data.authentication_method', 'FRICTIONLESS_AUTHENTICATION'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer_prior_three_ds_authentication_data.acs_transaction_reference', '26c3f619-39a4-4040-bf1f-6fd433e6d615'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer_prior_three_ds_authentication_data.authentication_timestamp', '2020-07-28T10:26:49.712Z'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer_prior_three_ds_authentication_data.authentication_data', 'secret123'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'recurring_authorization_data.max_number_of_instalments', '05'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'recurring_authorization_data.frequency', '25'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'recurring_authorization_data.expiry_date', '2019-08-25'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer_login_data.authentication_data', 'secret123'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer_login_data.authentication_timestamp', '2020-07-28T10:26:49.712Z'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'payer_login_data.authentication_type', 'MERCHANT_SYSTEM_AUTHENTICATION'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.accept_header', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.color_depth', 'TWENTY_FOUR_BITS'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.ip', '123.123.123.123'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.java_enabled', 'true'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.javascript_enabled', 'true'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.language', 'en-US'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.screen_height', '1080'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.screen_width', '1920'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.challenge_window_size', 'FULL_SCREEN'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.timezone', '0'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'browser_data.user_agent', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36'
EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'merchant_contact_url', 'https://enp4qhvjseljg.x.pipedream.net/'
-- Adds the "Authorization: Bearer <access_token>" header.
EXEC sp_OASetProperty @http, 'AuthToken', '<access_token>'
EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'X-GP-Version', '{{version}}'
DECLARE @resp int
EXEC sp_OAMethod @http, 'PostJson3', @resp OUT, 'https://{{url}}/ucp/authentications/{{aut_id}}/initiate', 'application/json', @json
EXEC sp_OAGetProperty @http, 'LastMethodSuccess', @iTmp0 OUT
IF @iTmp0 = 0
BEGIN
EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
PRINT @sTmp0
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @json
RETURN
END
EXEC sp_OAGetProperty @resp, 'StatusCode', @iTmp0 OUT
PRINT @iTmp0
EXEC sp_OAGetProperty @resp, 'BodyStr', @sTmp0 OUT
PRINT @sTmp0
EXEC @hr = sp_OADestroy @resp
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @json
END
GO
Curl Command
curl -X POST
-H "Authorization: Bearer <access_token>"
-H "X-GP-Version: {{version}}"
-d '{
"three_ds": {
"source": "BROWSER",
"preference": "NO_PREFERENCE"
},
"account_name": "{{acc_name}}",
"channel": "CNP",
"amount": "5",
"currency": "EUR",
"country": "US",
"method_url_completion_status": "YES",
"payment_method": {
"id": "{{pmt_id}}"
},
"order": {
"time_created_reference": "2019-04-26T10:19:32.552327Z",
"amount": "1001",
"currency": "EUR",
"reference": "3400dd37-101d-4940-be15-3c963b6109b3",
"address_match_indicator": "false",
"shipping_address": {
"line1": "Apartment 852",
"line2": "Complex 741",
"line3": "House 963",
"city": "Chicago",
"postal_code": "50001",
"state": "IL",
"country": "840"
},
"gift_card_count": "01",
"gift_card_currency": "EUR",
"gift_card_amount": "25000",
"delivery_email": "james.mason@example.com",
"delivery_timeframe": "ELECTRONIC_DELIVERY",
"shipping_method": "ANOTHER_VERIFIED_ADDRESS",
"shipping_name_matches_cardholder_name": "true",
"preorder_indicator": "MERCHANDISE_AVAILABLE",
"preorder_availability_date:": "2019-04-18",
"reorder_indicator": "FIRST_TIME_ORDER",
"transaction_type": "GOODS_SERVICE_PURCHASE"
},
"payer": {
"reference": "6dcb24f5-74a0-4da3-98da-4f0aa0e88db3",
"account_age": "LESS_THAN_THIRTY_DAYS",
"account_creation_date": "2019-01-10",
"account_change_date": "2019-01-28",
"account_change_indicator": "THIS_TRANSACTION",
"account_password_change_date": "2019-01-15",
"account_password_change_indicator": "LESS_THAN_THIRTY_DAYS",
"home_phone": {
"country_code": "44",
"subscriber_number": "123456789"
},
"work_phone": {
"country_code": "44",
"subscriber_number": "1801555888"
},
"payment_account_creation_date": "2019-01-01",
"payment_account_age_indicator": "LESS_THAN_THIRTY_DAYS",
"suspicious_account_activity": "NO_SUSPICIOUS_ACTIVITY",
"purchases_last_6months_count": "03",
"transactions_last_24hours_count": "01",
"transaction_last_year_count": "05",
"provision_attempt_last_24hours_count": "01",
"shipping_address_time_created_reference": "2019-01-28",
"shipping_address_creation_indicator": "THIS_TRANSACTION"
},
"payer_prior_three_ds_authentication_data": {
"authentication_method": "FRICTIONLESS_AUTHENTICATION",
"acs_transaction_reference": "26c3f619-39a4-4040-bf1f-6fd433e6d615",
"authentication_timestamp": "2020-07-28T10:26:49.712Z",
"authentication_data": "secret123"
},
"recurring_authorization_data": {
"max_number_of_instalments": "05",
"frequency": "25",
"expiry_date": "2019-08-25"
},
"payer_login_data": {
"authentication_data": "secret123",
"authentication_timestamp": "2020-07-28T10:26:49.712Z",
"authentication_type": "MERCHANT_SYSTEM_AUTHENTICATION"
},
"browser_data": {
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"color_depth": "TWENTY_FOUR_BITS",
"ip": "123.123.123.123",
"java_enabled": "true",
"javascript_enabled": "true",
"language": "en-US",
"screen_height": "1080",
"screen_width": "1920",
"challenge_window_size": "FULL_SCREEN",
"timezone": "0",
"user_agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36"
},
"merchant_contact_url": "https://enp4qhvjseljg.x.pipedream.net/"
}'
https://{{url}}/ucp/authentications/{{aut_id}}/initiate
Postman Collection Item JSON
{
"name": "AUT_1.1 3DS2 Initiate",
"event": [
{
"listen": "test",
"script": {
"exec": [
"//Json Parse",
"",
"var jsonData = JSON.parse(responseBody);",
"var creq = jsonData.three_ds.challenge_value; ",
"var redirect_url = jsonData.three_ds.redirect_url; ",
"",
"//console.log(pareq);",
"pm.test(\"set html\",function(){",
" var template='<!DOCTYPE html> <html> <head> <title>Sample 3DSecure Page</title> </head> <body><form action='+redirect_url+' method=\"POST\"> <input type=\"hidden\" name=\"challenge_value\" value= '+creq+' /> <input type=\"submit\" value=\"Submit\"> </form> </body> </html>' // save your html in the template and then ",
" pm.visualizer.set(template); // set that template to pm.visualizer",
"})",
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "oauth2",
"oauth2": [
{
"key": "accessToken",
"value": "{{token}}",
"type": "string"
},
{
"key": "addTokenTo",
"value": "header",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "X-GP-Version",
"type": "text",
"value": "{{version}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"three_ds\": {\n \"source\": \"BROWSER\",\n \"preference\": \"NO_PREFERENCE\"\n },\n \"account_name\": \"{{acc_name}}\",\n \"channel\": \"CNP\",\n \"amount\": \"5\",\n \"currency\": \"EUR\",\n \"country\": \"US\",\n \"method_url_completion_status\": \"YES\",\n \"payment_method\": {\n \"id\": \"{{pmt_id}}\"\n },\n \"order\": {\n \"time_created_reference\": \"2019-04-26T10:19:32.552327Z\",\n \"amount\": \"1001\",\n \"currency\": \"EUR\",\n \"reference\": \"3400dd37-101d-4940-be15-3c963b6109b3\",\n \"address_match_indicator\": \"false\",\n \"shipping_address\": {\n \"line1\": \"Apartment 852\",\n \"line2\": \"Complex 741\",\n \"line3\": \"House 963\",\n \"city\": \"Chicago\",\n \"postal_code\": \"50001\",\n \"state\": \"IL\",\n \"country\": \"840\"\n },\n \"gift_card_count\": \"01\",\n \"gift_card_currency\": \"EUR\",\n \"gift_card_amount\": \"25000\",\n \"delivery_email\": \"james.mason@example.com\",\n \"delivery_timeframe\": \"ELECTRONIC_DELIVERY\",\n \"shipping_method\": \"ANOTHER_VERIFIED_ADDRESS\",\n \"shipping_name_matches_cardholder_name\": \"true\",\n \"preorder_indicator\": \"MERCHANDISE_AVAILABLE\",\n \"preorder_availability_date:\": \"2019-04-18\",\n \"reorder_indicator\": \"FIRST_TIME_ORDER\",\n \"transaction_type\": \"GOODS_SERVICE_PURCHASE\"\n },\n \"payer\": {\n \"reference\": \"6dcb24f5-74a0-4da3-98da-4f0aa0e88db3\",\n \"account_age\": \"LESS_THAN_THIRTY_DAYS\",\n \"account_creation_date\": \"2019-01-10\",\n \"account_change_date\": \"2019-01-28\",\n \"account_change_indicator\": \"THIS_TRANSACTION\",\n \"account_password_change_date\": \"2019-01-15\",\n \"account_password_change_indicator\": \"LESS_THAN_THIRTY_DAYS\",\n \"home_phone\": {\n \"country_code\": \"44\",\n \"subscriber_number\": \"123456789\"\n },\n \"work_phone\": {\n \"country_code\": \"44\",\n \"subscriber_number\": \"1801555888\"\n },\n \"payment_account_creation_date\": \"2019-01-01\",\n \"payment_account_age_indicator\": \"LESS_THAN_THIRTY_DAYS\",\n \"suspicious_account_activity\": \"NO_SUSPICIOUS_ACTIVITY\",\n \"purchases_last_6months_count\": \"03\",\n \"transactions_last_24hours_count\": \"01\",\n \"transaction_last_year_count\": \"05\",\n \"provision_attempt_last_24hours_count\": \"01\",\n \"shipping_address_time_created_reference\": \"2019-01-28\",\n \"shipping_address_creation_indicator\": \"THIS_TRANSACTION\"\n },\n \"payer_prior_three_ds_authentication_data\": {\n \"authentication_method\": \"FRICTIONLESS_AUTHENTICATION\",\n \"acs_transaction_reference\": \"26c3f619-39a4-4040-bf1f-6fd433e6d615\",\n \"authentication_timestamp\": \"2020-07-28T10:26:49.712Z\",\n \"authentication_data\": \"secret123\"\n },\n \"recurring_authorization_data\": {\n \"max_number_of_instalments\": \"05\",\n \"frequency\": \"25\",\n \"expiry_date\": \"2019-08-25\"\n },\n \"payer_login_data\": {\n \"authentication_data\": \"secret123\",\n \"authentication_timestamp\": \"2020-07-28T10:26:49.712Z\",\n \"authentication_type\": \"MERCHANT_SYSTEM_AUTHENTICATION\"\n },\n \"browser_data\": {\n \"accept_header\": \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"color_depth\": \"TWENTY_FOUR_BITS\",\n \"ip\": \"123.123.123.123\",\n \"java_enabled\": \"true\",\n \"javascript_enabled\": \"true\",\n \"language\": \"en-US\",\n \"screen_height\": \"1080\",\n \"screen_width\": \"1920\",\n \"challenge_window_size\": \"FULL_SCREEN\",\n \"timezone\": \"0\",\n \"user_agent\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\"\n },\n \"merchant_contact_url\": \"https://enp4qhvjseljg.x.pipedream.net/\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{url}}/ucp/authentications/{{aut_id}}/initiate",
"protocol": "https",
"host": [
"{{url}}"
],
"path": [
"ucp",
"authentications",
"{{aut_id}}",
"initiate"
]
},
"description": "This request follows the 'Check Version' request in the 3DS2 flow. The merchant must submit data including the billing and shipping details of the payer, at least one phone number, the device data, transaction details, outcome from the ACS Method URL if it took place and a link to the merchant's About or Contact page.\r\n\r\nFor more information on the 3DS2 Initate step, please visit: https://developer.globalpay.com/api/3d-secure-two and https://developer.globalpay.com/api/authentications#/Initiate/initiate3DS"
},
"response": [
]
}