Skip to main content
Skip table of contents

Authorize with PayIn eCommerce Card Authentication

To Authorize with 3DS Authentication data, it is necessary to use the API Authentication first to obtain the Authentication data to then Authorize with PayIn eCommerce Card Authentication.

The following data are the only ones required:

Parámetro

Descripción

Tipo

meta.additional_fields.3ds_transacti on_id

3DS Transaction ID = “True”

String (max 100)

meta.additional_fields.3ds_provider

3DS Provider: “Alignet”

String (max

100)

meta.additional_fields.3ds_token

Token returned by Alignet

String (max 100)

meta.additional_fields.3ds_request

All requests sent to alignet in JSON format concatenated

String

(max 100)

meta.additional_fields.3ds_response

All responses received from alignet in JSON format concatenated

String (max 100)

Request

CODE
{
  "action": "authorize",
  "channel": "1",
  "payment_method": {
    "card": [
      {
        "pan": "5859510000000028",
        "expiry_date": "1129",
        "security_code": "548"
      }
    ]
  },
  "card_holder": [
    {
      "first_name": "Levis",
      "last_name": "Silvestre"
    }
  ],
  "transaction": {
    "currency": "840",
    "amount": "100000",
    "meta": {
      "internal_operation_number": "123130",
      "description": "Descripcion de la transaccion",
      "additional_fields": {
        "access_code": 123123,
        "merchant_account_number": "104209",
        "terminal_name": "10420901",
        "client_tracking": "123126",
        "user_ip_address": "8.8.8.8",
        "system_tracking": "string",
        "3ds_transaction_id": "8e0be372-b85e-49e6-b8da-b8c69350ba96",
        "3ds_provider": "ALIGNET",
        "3ds_vci": "TSYF",
        "3ds_transaction_status": "",
        "3ds_acs_challenge_mandated": "",
        "3ds_token": "kBMYOCgAs5pLxAGtFrZk1IQB8wJU", //base64
        "3ds_request": "[{REQUEST_3DS_1},{REQUEST_3DS_2}]",
        "3ds_response": "[{RESPOSE_3DS_1},{RESPOSE_3DS_2}]",
        "shipping_date": "1354"
      }
    }
  }
}

Response

Parámetro

Tipo

Descripción

action

string

Acción de consulta

id

string

ID de consulta

success

string

Estado de la consulta

transaction

 

Datos de la transacción

transaction.currency

string

Moneda de transacción en código ISO 4217

transaction.amount

string

Importe de la transacción

transaction.meta

string

Metadatos de la transacción

transaction.meta.internal_operation_number

string

Número de transacción interna

transaction.meta.processor

string

Datos del procesador

transaction.meta.processor.authorization

string

Datos de autorización

transaction.meta.processor.authorization.code

string

Código

transaction.meta.processor.authorization.masked_pan

string

PAN enmascarada

transaction.meta.processor.authorization.reference_code

string

Código de procesador para la transacción

transaction.meta.processor.authorization.installment

string

 

transaction.meta.processor.message

 

 

transaction.meta.processor.message.code

string

Código de mensaje del procesador

transaction.meta.processor.message.description

string

Procesador Mensaje Descripción

transaction.meta.additional_fields

string

Datos enviados al procesador

transaction.meta.additional_fields.xxxx

string

 

transaction.meta.additional_fields.reserved1

string

 

transaction.meta.additional_fields.purchaseVerification

string

 

transaction.meta.status

string

Información sobre el estado de la transacción

transaction.meta.status.code

string

Código de estado de la transacción

transaction.meta.status.message_ilgn

string

Información del mensaje de estado de la transacción

transaction.meta.status.message_ilgn.locale

string

Formato del lenguaje de mensajes de transacción

transaction.meta.status.message_ilgn.value

string

Valor del mensaje de transacción

transaction.validations

 

 

transaction.validations.cybersource

 

 

transaction.validations.score

 

 

transaction.token

 

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.