3D Secure Sessions
Create a 3D Secure Session
Changed onCreate a 3D Secure Session to authenticate a buyer before you charge their card.
Create the session from a payment_instrument_id for the redirect flow or standalone Finix.ThreeDSecure, or from a token_id for the ThreeDSecure payment form option. For redirect flows, pass the session ID after state reaches SUCCEEDED. With Finix.js, pass it when the succeeded callback fires, even if the session resource still reads PENDING.
post/3d_secure_sessions
Request
- Base URLhttps://finix.sandbox-payments-api.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Finix-Versionstring
Example:2022-02-01
Specify the API version of your request. For more details, see Versioning.
Content-Typestring
Example:application/json
The data type being sent in the request body must be application/json.
Request body
Example request
{
"amount": 92169,
"merchant_id": "MUmfEGv5bMpSJ9k5TFRUjkmm",
"payment_instrument_id": "PI6iQcTtJNCS8GZAVKYi5Ueb",
"redirect_url": "https://example.com/3d-secure/return"
}Response
A single 3D Secure Session object.
Example response
{
"id": "3d_secure_session_f3fG3Zj8K958MTP5vpXAXX",
"3d_secure_authentication_session_id": "tds_visa_0367b8b7ebd8",
"3d_secure_version": "2.2.0",
"amount": 1000,
"merchant_id": "MUmUNeW5N9Yw8RkLhLcGghy4",
"payment_instrument_id": "PI6iQcTtJNCS8GZAVKYi5Ueb"
}Changes
- info
endpoint added
- info