POST
/
three_ds_decision
/
execute
3DS Decision - Execute
curl --request POST \
  --url https://sandbox.hyperswitch.io/three_ds_decision/execute \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "routing_id": "<string>",
  "payment": {
    "amount": 123,
    "currency": "AED"
  },
  "payment_method": {
    "card_network": "Visa"
  },
  "customer_device": {
    "platform": "web",
    "device_type": "mobile",
    "display_size": "size320x568"
  },
  "issuer": {
    "name": "<string>",
    "country": "Afghanistan"
  },
  "acquirer": {
    "country": "Afghanistan",
    "fraud_rate": 123
  }
}'
{
  "decision": "no_three_ds"
}

Authorizations

api-key
string
header
required

Use the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.

Body

application/json

Represents the request to execute a 3DS decision rule.

Response

3DS Decision Rule Executed Successfully

Represents the response from executing a 3DS decision rule.