POST
/
payments
/
{payment_id}
/
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
  },
  "device_channel": "APP",
  "threeds_method_comp_ind": "Y"
}'
{
  "trans_status": "Y",
  "acs_url": "<string>",
  "challenge_request": "<string>",
  "acs_reference_number": "<string>",
  "acs_trans_id": "<string>",
  "three_dsserver_trans_id": "<string>",
  "acs_signed_content": "<string>",
  "three_ds_requestor_url": "<string>"
}

Authorizations

api-key
string
headerrequired

Publishable keys are a type of keys that can be public and have limited scope of usage.

Path Parameters

payment_id
string
required

The identifier for payment

Body

application/json
client_secret
string
required

Client Secret

sdk_information
object

SDK Information if request is from SDK

device_channel
enum<string>
required

Device Channel indicating whether request is coming from App or Browser

Available options:
APP,
BRW
threeds_method_comp_ind
enum<string>
required
Available options:
Y,
N,
U

Response

200 - application/json
trans_status
enum<string>
required

Indicates the transaction status

Available options:
Y,
N,
U,
A,
R,
C,
D,
I
acs_url
string | null

Access Server URL to be used for challenge submission

challenge_request
string | null

Challenge request which should be sent to acs_url

acs_reference_number
string | null

Unique identifier assigned by the EMVCo(Europay, Mastercard and Visa)

acs_trans_id
string | null

Unique identifier assigned by the ACS to identify a single transaction

three_dsserver_trans_id
string | null

Unique identifier assigned by the 3DS Server to identify a single transaction

acs_signed_content
string | null

Contains the JWS object created by the ACS for the ARes(Authentication Response) message

three_ds_requestor_url
string
required

Three DS Requestor URL