---
updatedAt: 2026-03-03T17:20:36.000Z
agentTools:
  projectIndex: https://docs.dlocal.com/llms.txt
---

# The 3D-Secure Object

Detailed reference for the 3D-Secure object structure and implementation requirements.

| Property                  | Type    | Description                                                                                                                                                                                                                     |
| :------------------------ | :------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `mpi`                     | Boolean | `TRUE` if you are going to use a 3rd-party 3D Secure provider.<br>**If `null`, then `mpi = FALSE`**                                                                                                                             |
| `three_dsecure_version`   | String  | Options: `1.0`, `2.0`, `2.1.0`, `2.2.0`.<br>If `null`, then `three_dsecure_version = "1.0"`.                                                                                                                                    |
| `cavv`                    | String  | The cardholder authentication value for the 3D Secure authentication session. The returned value is a base64-encoded 20-byte array.<br>**Required if `mpi = TRUE`**.                                                            |
| `eci`                     | String  | The electronic commerce indicator. <br>**Required if `mpi = TRUE`**. <br><br>[See possible values and description](https://docs.dlocal.com/docs/3d-secure#electronic-commerce-indicator-eci-value).​                                                     |
| `xid`                     | String  | The transaction identifier assigned by the Directory Server for v1 authentication (base64 encoded, 20 bytes in a decoded form).<br>**Required if `mpi = TRUE` and `three_dsecure_version = "1.0"`**.                            |
| `ds_transaction_id`       | String  | The transaction identifier assigned by the 3DS Server for v2 authentication (36 characters, commonly in UUID format).<br>**Required if `mpi = TRUE` and `three_dsecure_version = 2.x`**.                                        |
| `enrollment_response`     | String  | The enrollment response from the VERes message from the Directory Server.<br><br>"Y": Authentication available<br>"N" Cardholder not participating<br>"U": Unable to authenticate/Card not eligible<br>**Optional**             |
| `authentication_response` | String  | From the PARes from the issuer's Access Control System.<br><br>"Y": Authentication successful<br>"A": Attempts processing performed<br>"N": Authentication failed<br>"U": Authentication could not be performed<br>**Optional** |