Skip to main content
POST
/
api
/
public
/
v1
/
threeds
/
create-session
Create 3DS session
curl --request POST \
  --url https://app.tagadapay.com/api/public/v1/threeds/create-session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "provider": "basis_theory",
  "storeId": "store_eaa20d619f6b",
  "paymentInstrumentId": "inst_abc123",
  "sessionData": {
    "id": "15f8d1f9-1c27-4573-afd7-953ced14d8d2",
    "type": "customer",
    "cardBrand": "Visa",
    "directory_server_id": "A000000003",
    "recommended_version": "2.2.0"
  }
}'
{
"id": "threeds_xyz789",
"externalSessionId": "15f8d1f9-1c27-4573-afd7-953ced14d8d2",
"provider": "basis_theory",
"status": "created",
"paymentInstrumentId": "inst_abc123",
"createdAt": "2024-03-20T10:30:00Z"
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
paymentInstrumentId
string
required
storeId
string
required
provider
enum<string>
default:basis_theory
Available options:
basis_theory,
threedsecure_io
sessionData
any

Response

Successful response

The response is of type any.