Obtener un log

Obtener los detalles de un log en específico

Argumentos

Tipo

Descripción

id

String

El id del log.

Solicitud

curl --location --request GET 'https://apipp.conekta.io/logs/5f4009dc885a41559aed2c50' \
--header 'Accept: application/vnd.conekta-v2.0.0+json' \
--header 'Content-Type: application/json; charset=utf-8' \
-u key_xxxxxxxxxxxxxx:
Respuesta
{
    "next_page_url": "https://apipp.conekta.io/logs?next=5f400dedg939885a415575ed2bb7",
    "has_more": true,
    "total": 47984,
    "object": "list",
    "data": [
        {
            "id": "5f8008dc88545500aed2c5a",
            "method": "POST",
            "url": "/charges",
            "status": "402",
            "version": "1.0.0",
            "ip_address": "",
            "related": "Charge",
            "request_body": {
                "amount": "30000",
                "capture": "false",
                "card": {
                    "address": {
                        "country": "MX"
                    },
                    "cvc": "***",
                    "exp_month": "",
                    "exp_year": "",
                    "name": "Mario Perez",
                    "number": "**** **** **** 9999"
                },
                "currency": "mxn",
                "description": "{\"device_fingerprint\":\"CF73AFDDE-8841D-DDD8-CD7E-DCE0C12628F7\",\"details\":{\"email\":\"\",\"phone\":\"+5215555555555\"},\"customer\":{\"is_corporate\":false,\"account_age\":0,\"total_dropoff\":0,\"user_id\":\"47580dea1b38845FFFscf4819077c1473d\"}}",
                "details": {
                    "billing_address": {
                        "country": "MX",
                        "name": "Mario Perez"
                    },
                    "ip": "",
                    "name": "Mario Perez",
                    "email": "[email protected]",
                    "phone": "+5215555555555"
                },
                "reference_id": "1931X3feGtR55"
            },
            "response_body": {
                "object": "error",
                "type": "processing_error",
                "message": "This charge has been declined because buyer behavior is suspicious.",
                "message_to_purchaser": "The card has been declined. Please try with another payment method.",
                "param": null,
                "code": "processing_error",
                "validation_error": null
            },
            "request_headers": {},
            "response_headers": {},
            "object": "log",
            "created_at": 1598032350,
            "query_string": {}
        },
        ...
    ]
}