Skip to main content
POST
/
payments
/
{payment_id}
/
3ds
/
authentication
Payments - External 3DS Authentication
curl --request POST \
  --url https://sandbox.hyperswitch.io/payments/{payment_id}/3ds/authentication \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "client_secret": "<string>",
  "sdk_information": {
    "sdk_app_id": "<string>",
    "sdk_enc_data": "<string>",
    "sdk_ephem_pub_key": {},
    "sdk_trans_id": "<string>",
    "sdk_reference_number": "<string>",
    "sdk_max_timeout": 1,
    "sdk_type": "01"
  },
  "device_channel": "APP",
  "threeds_method_comp_ind": "Y"
}'
{
  "trans_status": "Y",
  "acs_url": "<string>",
  "challenge_request": "<string>",
  "challenge_request_key": "<string>",
  "acs_reference_number": "<string>",
  "acs_trans_id": "<string>",
  "three_dsserver_trans_id": "<string>",
  "acs_signed_content": "<string>",
  "three_ds_requestor_url": "<string>",
  "three_ds_requestor_app_url": "<string>"
}

Authorizations

api-key
string
header
required

Path Parameters

payment_id
string
required

Body

application/json
client_secret
string
required
device_channel
enum<string>
required
Available options:
APP,
BRW
threeds_method_comp_ind
enum<string>
required
Available options:
Y,
N,
U
sdk_information
object

Response

trans_status
enum<string>
required
Available options:
Y,
N,
U,
A,
R,
C,
D,
I
three_ds_requestor_url
string
required
acs_url
string | null
challenge_request
string | null
challenge_request_key
string | null
acs_reference_number
string | null
acs_trans_id
string | null
three_dsserver_trans_id
string | null
acs_signed_content
string | null
three_ds_requestor_app_url
string | null