order

Eventos relacionados con ordenes.

EventoDescripción
order.createdOcurre cada vez que se crea una orden
order.canceledOcurre cada vez que una orden es cancelada
order.expiredOcurre cada vez que la fecha de pago de una orden expira
order.charged_backOcurre cada vez que una orden se reporta como pedido devuelto
order.fraudulentOcurre cada vez que algún sistema antifraude marca la orden como fraudulenta
order.under_fraud_reviewOcurre cada vez que una orden esta bajo revision de fraude
order.paidOcurre cada vez que una una orden es pagada exitosamente
order.partially_refundedOcurre cada vez que se realiza una devolución parcial del pago de la orden
order.pending_paymentOcurre cada vez que una orden es creada pero continua pendiente de pago
order.pre_authorizedOcurre cada vez que el monto de una orden es preautorizado. Los fondos aun no se retiran de la cuenta del cliente
order.refundedOcurre cada vez que el pago de una orden es reembolsado completamente
order.updatedOcurre cada vez que una orden se actualiza
order.voidedOcurre cada vez que una orden preautorizada es liberada sin completar el pago. Los montos preautorizados se reintegran
order.declinedOcurre cada vez que el pago de una orden es declinado

Orden Creada - order.created

{
  "data": {
      "object": {
        "livemode": false,
        "amount": 1766900,
        "currency": "MXN",
        "amount_refunded": 0,
        "customer_info": {
            "email": "[email protected]",
            "phone": "5555555555",
            "name": "Soporte Conekta",
            "object": "customer_info"
        },
        "shipping_contact": {
            "receiver": "Conekta",
            "phone": "5555555555",
            "address": {
                "street1": "Street 1",
                "city": "Ciudad de México",
                "state": "Distrito Federal",
                "residential": true,
                "object": "shipping_address",
                "postal_code": "06100"
            },
            "id": "ship_cont_2iUNX1yCXRKCVnEor",
            "object": "shipping_contact",
            "created_at": 1599496065
        },
        "object": "order",
        "id": "ord_2iUN",
        "metadata": {
            "checkout_id": "100068588",
            "soft_validations": true
        },
        "created_at": 1599496065,
        "updated_at": 1599496065,
        "line_items": {
            "object": "list",
            "has_more": false,
            "total": 1,
            "data": [{
                "name": "Soporte Conekta",
                "description": "Payment from order",
                "unit_price": 1766900,
                "quantity": 1,
                "sku": "6248_1",
                "tags": [
                    "tag"
                ],
                "object": "line_item",
                "id": "line_item_2iUNX1yCXRKCVnEon",
                "parent_id": "ord_2iCXRKCVnUNX1yEos",
                "metadata": {},
                "antifraud_info": {}
            }]
        },
        "shipping_lines": {
            "object": "list",
            "has_more": false,
            "total": 1,
            "data": [{
                "amount": 0,
                "carrier": "reev_carrier_reev_carrier",
                "method": "reev_carrier_reev_carrier",
                "object": "shipping_line",
                "id": "ship_lin_2iUNX1yCXRKCVnEoo",
                "parent_id": "ord_2iUNX1yCXRKCVnEos"
            }]
        },
        "tax_lines": {
            "object": "list",
            "has_more": false,
            "total": 1,
            "data": [{
                "description": "Payment from order",
                "amount": 0,
                "object": "tax_line",
                "id": "tax_lin_2iUNX1yCXRKCVnEop",
                "parent_id": "ord_2iCXRKCVnUNX1yEos"
            }]
        }
    },
    "previous_attributes": {}
  },
  "livemode": false,
  "webhook_status": "pending",
  "id": "58740be5dba34d123c027a70",
  "object": "event",
  "type": "order.created",
  "created_at": 1599496065,
  "webhook_logs": [{
      "id": "webhl_xtwgFC2EhrSTNKQ",
      "url": "http://requestb.in/1467d141",
      "failed_attempts": 0,
      "last_http_response_status": -1,
      "object": "webhook_log",
      "last_attempted_at": 0
  }]
}

Orden Cancelada - order.canceled

{
"data": {
	"object": {
		"livemode": true,
		"amount": 1199,
		"currency": "MXN",
		"payment_status": "canceled",
		"amount_refunded": 0,
		"customer_info": {
			"name": "Fulano Perez",
			"email": "[email protected]",
		"phone": "55-5555-5555",
			"corporate": false,
			"object": "customer_info"
		},
		"object": "order",
		"id": "ord_2suUToAY6LxC6bMUu",
		"metadata": {
		},
		"created_at": 1669347936,
		"updated_at": 1669762395,
		"line_items": {
			"object": "list",
			"has_more": false,
			"total": 1,
			"data": [
				{
					"name": "Algun producto",
					"unit_price": 1199,
					"quantity": 1,
					"object": "line_item",
					"id": "line_item_2suUToAY6LxC6bMUs",
					"parent_id": "ord_2suUToAY6LxC6bMUu",
					"metadata": {
					},
					"antifraud_info": {
					}
				}
			]
		},
		"charges": {
			"object": "list",
			"has_more": false,
			"total": 1,
			"data": [
				{
					"id": "63803a6090ee5300156433e8",
					"livemode": true,
					"created_at": 1669347936,
					"currency": "MXN",
					"payment_method": {
						"service_name": "Cash",
						"barcode_url": "https://barcodes.conekta.com/91e26fe5ccf6e20ca704b1eb122f935c083e2087.png",
						"object": "cash_payment",
						"type": "cash",
						"expires_at": 1677123936,
						"store_name": "XXXX",
						"reference": "8900000236354472"
					},
					"object": "charge",
					"description": "Payment from order",
					"status": "canceled",
					"amount": 1199,
					"fee": 42,
					"customer_id": "",
					"order_id": "ord_2suUToAY6LxC6bMUu"
				}
			]
		}
	},
	"previous_attributes": {
	}
},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "order.canceled",
	"created_at": 1668482811
}


Orden Expirada - order.expired

{
"data": {
	"object": {
		"livemode": true,
		"amount": 5000,
		"currency": "MXN",
		"payment_status": "charged_back",
		"amount_refunded": 0,
		"customer_info": {
			"name": "Fulano Perez",
			"email": "[email protected]",
		"phone": "55-5555-5555",
			"corporate": false,
			"customer_id": "cus_2sfyjLABmvpQ28pds",
			"object": "customer_info"
		},
		"object": "order",
		"id": "ord_2srmew8kkFhXqdzFY",
		"metadata": {
		},
		"created_at": 1668633419,
		"updated_at": 1669830049,
		"line_items": {
			"object": "list",
			"has_more": false,
			"total": 1,
			"data": [
				{
					"name": "Pan Mix",
					"unit_price": 5000,
					"quantity": 1,
					"object": "line_item",
					"id": "line_item_2srmew8kkFhXqdzFW",
					"parent_id": "ord_2srmew8kkFhXqdzFY",
					"metadata": {
					},
					"antifraud_info": {
					}
				}
			]
		},
		"charges": {
			"object": "list",
			"has_more": false,
			"total": 1,
			"data": [
				{
					"id": "6375534bef1510001498abb4",
					"livemode": true,
					"created_at": 1668633419,
					"currency": "MXN",
					"device_fingerprint": "1YRAM4GyLj6KCDsAeS2c2afX9Uduto2r",
					"chargeback": {
						"id": "chbk_2swJGSpQhdsrfnhoA",
						"status": "action_required",
						"reason": "unrecognized",
						"files": [

						],
						"object": "chargeback",
						"charge_id": "6375534bef1510001498abb4",
						"created_at": 1669830048,
						"evidence_due_by": 1670111999
					},
					"payment_method": {
						"name": "Fulano Perez",
						"exp_month": "06",
						"exp_year": "25",
						"auth_code": "268629",
						"object": "card_payment",
						"type": "debit",
						"last4": "7581",
						"brand": "visa",
						"issuer": "bbva",
						"account_type": "DEBITO INTERNACIONAL",
						"country": "MX",
						"fraud_score": 24.0,
						"fraud_indicators": [

						]
					},
					"object": "charge",
					"description": "Payment from order",
					"status": "charged_back",
					"amount": 5000,
					"paid_at": 1668633420,
					"fee": 284,
					"customer_id": "cus_2sfyjLABmvpQ28pds",
					"order_id": "ord_2srmew8kkFhXqdzFY"
				}
			]
		}
	},
	"previous_attributes": {
	}
},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "order.charged_back",
	"created_at": 1668482811
}

Orden Contracargado - order.charged_back

{
	"data": {
		"object": {
	"livemode": true,
	"amount": 50000,
	"currency": "MXN",
	"payment_status": "expired",
	"amount_refunded": 0,
	"customer_info": {
			"name": "Fulano Perez",
			"email": "[email protected]",
		"phone": "55-5555-5555",
		"corporate": false,
		"customer_id": "cus_2sMJorEiyUghYLrn5",
		"object": "customer_info"
	},
	"channel": {
		"segment": "Checkout",
		"checkout_request_id": "e89c7434-5198-4478-96d5-bcc3aaae6211",
		"checkout_request_type": "PaymentLink",
		"id": "channel_2spB64nQiTxkyXvk7"
	},
	"object": "order",
	"id": "ord_2spB64nQiTxkyXvk9",
	"metadata": {},
	"created_at": 1667947342,
	"updated_at": 1668379325,
	"line_items": {
		"object": "list",
		"has_more": false,
		"total": 1,
		"data": [
			{
				"name": "Pago semanal",
				"unit_price": 50000,
				"quantity": 1,
				"object": "line_item",
				"id": "line_item_2spB64nQiTxkyXvk5",
				"parent_id": "ord_2spB64nQiTxkyXvk9",
				"metadata": {},
				"antifraud_info": {}
			}
		]
	},
	"shipping_lines": {
		"object": "list",
		"has_more": false,
		"total": 1,
		"data": [
			{
				"amount": 0,
				"object": "shipping_line",
				"id": "ship_lin_2spB64nQiTxkyXvk6",
				"parent_id": "ord_2spB64nQiTxkyXvk9"
			}
		]
	},
	"charges": {
		"object": "list",
		"has_more": false,
		"total": 1,
		"data": [
			{
				"id": "636adb4e8d6cc60026b6d415",
				"livemode": true,
				"created_at": 1667947342,
				"currency": "MXN",
				"channel": {
					"segment": "Checkout",
					"checkout_request_id": "e89c7434-5198-4478-96d5-bcc3aaae6211",
					"checkout_request_type": "PaymentLink",
					"id": "channel_2spB64nQiTxkyXvkP"
				},
				"payment_method": {
					"clabe": "646020111890384751",
					"bank": "STP",
					"receiving_account_number": "646020111890384751",
					"receiving_account_bank": "STP",
					"payment_attempts": [],
					"object": "bank_transfer_payment",
					"type": "spei",
					"expires_at": 1668379260
				},
				"object": "charge",
				"description": "Payment from order",
				"status": "expired",
				"amount": 50000,
				"fee": 1450,
				"customer_id": "",
				"order_id": "ord_2spB64nQiTxkyXvk9"
			}
		]
	}
},
		"previous_attributes": {}
	},
	"livemode": true,
	"webhook_status": "failing",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 500,
			"response_data": {
				"payable": false,
				"failure_code": 2,
				"message": "Importe incorrecto"
			},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "6372983ddfd6a70001e5eca4",
	"object": "event",
	"type": "order.expired",
	"created_at": 1668454461
}

Order Pagado Efectivo - order.paid

{
"data": {
"object": {
			"livemode": true,
			"amount": 24100,
			"currency": "MXN",
			"payment_status": "paid",
			"amount_refunded": 0,
			"customer_info": {
			"name": "Fulano Perez",
			"email": "[email protected]",
		"phone": "55-5555-5555",
				"corporate": false,
				"customer_id": "cus_2sma5Lof4SvQ6A1HS",
				"object": "customer_info",
				"customer_custom_reference": "10003000833587004108"
			},
			"object": "order",
			"id": "ord_2srCZabn48Hvg8ZEf",
			"metadata": {},
			"created_at": 1668482630,
			"updated_at": 1668482811,
			"charges": {
				"object": "list",
				"has_more": false,
				"total": 1,
				"data": [
					{
						"id": "637306465e3f4600211f68c0",
						"livemode": true,
						"created_at": 1668482630,
						"currency": "MXN",
						"payment_method": {
							"service_name": "Cash",
							"barcode_url": "https://barcodes.conekta.com/f0852dd9761c222ca59a30af8e626b310e409173.png”,
							"store": "10QRI50NPO",
							"auth_code": 27438215,
							"object": "cash_payment",
							"type": "cash",
							"expires_at": 1671062400,
							"store_name": "XXXX",
							"reference": "93003176736017",
							"cashier_id": "NOUSUARIO"
						},
						"object": "charge",
						"status": "paid",
						"amount": 24100,
						"paid_at": 1668482811,
						"fee": 1090,
						"customer_id": "cus_2sma5Lof4SvQ6A1HS",
						"order_id": "ord_2srCZabn48Hvg8ZEf",
						"customer_custom_reference": "10003000833587004108"
					}
				]
			}
		},
		"previous_attributes": {}
	},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "order.paid",
	"created_at": 1668482811
}

Order Pagado Tarjetas - order.paid

{
  "data": {
      "object": {
        "livemode": false,
        "amount": 2944525,
        "currency": "MXN",
        "payment_status": "paid",
        "amount_refunded": 0,
        "customer_info": {
            "email": "[email protected]",
            "phone": "5555555555",
            "name": "Soporte Conekta",
            "object": "customer_info"
        },
        "shipping_contact": {
            "receiver": "Soporte Conekta",
            "phone": "5555555555",
            "address": {
                "street1": "Street 1",
                "city": "Cuidad de mexico ",
                "state": "Distrito Federal",
                "residential": true,
                "object": "shipping_address",
                "postal_code": "06100"
            },
            "id": "ship_cont_2iUhePPDGgdmsptBE",
            "object": "shipping_contact",
            "created_at": 1599496065
        },
        "object": "order",
        "id": "ord_2iUh",
        "metadata": {
            "checkout_id": "1100002080",
            "soft_validations": true
        },
        "created_at": 1599496065,
        "updated_at": 1599496065,
        "line_items": {
            "object": "list",
            "has_more": false,
            "total": 1,
            "data": [{
                "name": "Soporte Conekta",
                "description": "Escritorio Telik - Encino",
                "unit_price": 619900,
                "quantity": 5,
                "sku": "6139_1",
                "tags": [
                    "simple"
                ],
                "object": "line_item",
                "id": "line_item_2iUhyU3NmXSCaSV7p",
                "parent_id": "ord_2iUhePPDGgdmsptBF",
                "metadata": {},
                "antifraud_info": {}
            }]
        },
        "shipping_lines": {
            "object": "list",
            "has_more": false,
            "total": 1,
            "data": [{
                "amount": 0,
                "carrier": "reev_carrier_reev_carrier",
                "method": "reev_carrier_reev_carrier",
                "object": "shipping_line",
                "id": "ship_lin_2iUhyU3NmXSCaSV7q",
                "parent_id": "ord_2iUhePPDGgdmsptBF"
            }]
        },
        "tax_lines": {
            "object": "list",
            "has_more": false,
            "total": 1,
            "data": [{
                "description": "Payment from order",
                "amount": 0,
                "object": "tax_line",
                "id": "tax_lin_2iUhyU3NmXSCaSV7r",
                "parent_id": "ord_2iUhePPDGgdmsptBF"
            }]
        },
        "discount_lines": {
            "object": "list",
            "has_more": false,
            "total": 1,
            "data": [{
                "code": "Conekta",
                "amount": 154975,
                "type": "coupon",
                "object": "discount_line",
                "id": "dis_lin_2iUhyU3NmXSCaSV7s",
                "parent_id": "ord_2iUhePPDGgdmsptBF"
            }]
        },
        "charges": {
            "object": "list",
            "has_more": false,
            "total": 2,
            "data": [{
                    "id": "5ae34c95b795b071223e21a2",
                    "livemode": true,
                    "created_at": 1599496065,
                    "currency": "MXN",
                    "monthly_installments": 3,
                    "device_fingerprint": "11fenw1m2oq7waynewa1o1gg10k787v5",
                    "payment_method": {
                        "name": "Soporte Conekta",
                        "exp_month": "02",
                        "exp_year": "22",
                        "auth_code": "571003",
                        "object": "card_payment",
                        "type": "credit",
                        "last4": "5589",
                        "brand": "mc",
                        "issuer": "BANAMEX",
                        "account_type": "CLASICA",
                        "country": "MX",
                        "fraud_score": 33,
                        "fraud_indicators": []
                    },
                    "object": "charge",
                    "description": "Payment from order",
                    "status": "paid",
                    "amount": 2944525,
                    "paid_at": 1524845720,
                    "fee": 75145,
                    "customer_id": "",
                    "order_id": "ord_2iUh"
                },
                {
                    "id": "5ae346bbedbb6e2ed843c422",
                    "livemode": true,
                    "created_at": 1599496065,
                    "currency": "MXN",
                    "failure_code": null,
                    "failure_message": null,
                    "monthly_installments": 3,
                    "device_fingerprint": "3799848y56yvdw4dj2u4zxeaoenh6vyb",
                    "payment_method": {
                        "name": "Soporte Conekta",
                        "exp_month": "01",
                        "exp_year": "22",
                        "auth_code": "",
                        "object": "card_payment",
                        "type": "credit",
                        "last4": "4094",
                        "brand": "mc",
                        "issuer": "BANAMEX",
                        "account_type": "PLATINUM",
                        "country": "MX",
                        "fraud_score": 24,
                        "fraud_indicators": []
                    },
                    "object": "charge",
                    "description": "Payment from order",
                    "status": "declined",
                    "amount": 2944525,
                    "fee": 75145,
                    "customer_id": "",
                    "order_id": "ord_2iU"
                }
            ]
        }
    },
    "previous_attributes": {}
  },
  "livemode": false,
  "webhook_status": "pending",
  "id": "58740be5dba34d123c027a70",
  "object": "event",
  "type": "order.paid",
  "created_at": 1599496065,
  "webhook_logs": [{
      "id": "webhl_xtwgFC2EhrSTNKQ",
      "url": "http://requestb.in/1467d141",
      "failed_attempts": 0,
      "last_http_response_status": -1,
      "object": "webhook_log",
      "last_attempted_at": 0
  }]
}

Orden parcialmente reembolsado - order.partially_refunded

			"amount": 118000,
					"paid_at": 1669674468,
					"fee": 4260,
					"customer_id": "",
					"order_id": "ord_2svi86NmhDmT6vrW8",
					"refunds": {
						"object": "list",
						"has_more": false,
						"total": 1,
						"data": [
							{
								"object": "refund",
								"amount": -55000,
								"auth_code": "072328",
								"id": "6386abcce37dd70018b23647",
								"created_at": 1669770188
							}
						]
					}
				}
			]
		}
	},
	"previous_attributes": {
	}
},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "order.partially_refunded",
	"created_at": 1668482811
}

Orden pago pendiente - order.pending_payment

{
"data": {
	"object": {
		"livemode": true,
		"amount": 67000,
		"currency": "MXN",
		"payment_status": "pending_confirmation",
		"amount_refunded": 0,
		"customer_info": {
			"name": "Fulano Perez",
			"email": "[email protected]",
		"phone": "55-5555-5555",
			"corporate": false,
			"customer_id": "cus_2srNvjg4uczVJpZQN",
			"object": "customer_info"
		},
		"object": "order",
		"id": "ord_2srNvj6poHGuJpsWD",
		"metadata": {
		},
		"created_at": 1668529858,
		"updated_at": 1669762432,
		"line_items": {
			"object": "list",
			"has_more": false,
			"total": 1,
			"data": [
				{
					"name": "Ok Item",
					"unit_price": 67000,
					"quantity": 1,
					"object": "line_item",
					"id": "line_item_2srNvj6poHGuJpsWB",
					"parent_id": "ord_2srNvj6poHGuJpsWD",
					"metadata": {
					},
					"antifraud_info": {
					}
				}
			]
		},
		"charges": {
			"object": "list",
			"has_more": false,
			"total": 1,
			"data": [
				{
					"id": "6373bec20b2dcc0025969554",
					"livemode": true,
					"created_at": 1668529858,
					"currency": "MXN",
					"device_fingerprint": "NG87ZAXzC3xrwSGjKQbZBF2W4oztuiJe",
					"payment_method": {
						"service_name": "OxxoPay",
						"barcode_url": "https://barcodes.conekta.com/447afa9afb113c9be0b1443c3cd9425d9959281c.png",
						"store": "10CAN50KMO",
						"auth_code": 18027602,
						"object": "cash_payment",
						"type": "oxxo",
						"expires_at": 1671062400,
						"store_name": "OXXO",
						"reference": "84003209981342",
						"cashier_id": "PEIBOY9711120"
					},
					"object": "charge",
					"description": "Payment from order",
					"status": "pending_confirmation",
					"amount": 67000,
					"fee": 2784,
					"customer_id": "",
					"order_id": "ord_2srNvj6poHGuJpsWD"
				}
			]
		}
	},
	"previous_attributes": {
	}
},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "order.pending_payment",
	"created_at": 1668482811
}

Orden Preautorizada - order.pre_authorized

{
"data": {
	"object": {
		"livemode": true,
		"amount": 8213,
		"currency": "MXN",
		"payment_status": "pre_authorized",
		"amount_refunded": 0,
		"customer_info": {
			"name": "Fulano Perez",
			"email": "[email protected]",
		"phone": "55-5555-5555",
			"corporate": false,
			"object": "customer_info"
		},
		"object": "order",
		"id": "ord_2sw3RrxAqMz2KoUA7",
		"metadata": {
		},
		"created_at": 1669762439,
		"updated_at": 1669762440,
		"charges": {
			"object": "list",
			"has_more": false,
			"total": 1,
			"data": [
				{
					"id": "63868d864f355700247f2d0c",
					"livemode": true,
					"created_at": 1669762439,
					"currency": "MXN",
					"device_fingerprint": "tQuRyEaN2hJAqTvE2z7FEd9DhcFqpe5c",
					"payment_method": {
						"name": "Fulano Perez",
						"exp_month": "10",
						"exp_year": "27",
						"auth_code": "040054",
						"address": {
							"country": "MX",
							"object": "address"
						},
						"object": "card_payment",
						"type": "debit",
						"last4": "1200",
						"brand": "mastercard",
						"issuer": "santander_pr",
						"account_type": "CHEQUE ELECTRONICO DEBITO",
						"country": "MX",
						"fraud_score": 29.0,
						"fraud_indicators": [

						]
					},
					"object": "charge",
					"reference_id": "2248D5rSAdEt",
					"status": "pre_authorized",
					"amount": 8213,
					"fee": 210,
					"customer_id": "",
					"order_id": "ord_2sw3RrxAqMz2KoUA7"
				}
			]
		}
	},
	"previous_attributes": {
	}
},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "order.pre_authorized",
	"created_at": 1668482811
}

Orden Actualizada - order.updated

{
"data": {
	"object": {
		"livemode": true,
		"amount": 51000,
		"currency": "MXN",
		"amount_refunded": 0,
		"customer_info": {
			"name": "Fulano Perez",
			"email": "[email protected]",
		"phone": "55-5555-5555",
			"object": "customer_info"
		},
		"object": "order",
		"id": "ord_2sw3ND52Q9RqxdWKo",
		"metadata": {
			"reference_id": 636026
		},
		"created_at": 1669762151,
		"updated_at": 1669762621,
		"line_items": {
			"object": "list",
			"has_more": false,
			"total": 2,
			"data": [
				{
					"name": "SIM Card",
					"unit_price": 3000,
					"quantity": 1,
					"sku": "SIMCARD",
					"object": "line_item",
					"id": "line_item_2sw3UCDRjKDiwpocw",
					"parent_id": "ord_2sw3ND52Q9RqxdWKo",
					"antifraud_info": {
					}
				}
			]
		},
		"charges": {
			"object": "list",
			"has_more": false,
			"total": 2,
			"data": [
				{
					"id": "63868d323d90df0017e81598",
					"livemode": true,
					"created_at": 1669762354,
					"currency": "MXN",
					"failure_code": "invalid_security_code",
					"failure_message": "El código de seguridad es inválido.",
					"device_fingerprint": "it97fo1h64cnri9p0qiuejeuxn00uam5",
					"payment_method": {
						"name": "Fulano Perez",
						"exp_month": "09",
						"exp_year": "26",
						"auth_code": "",
						"object": "card_payment",
						"type": "debit",
						"last4": "2050",
						"brand": "visa",
						"issuer": "bancoppel",
						"account_type": "DEBITO CHIP BANCOPPEL",
						"country": "MX",
						"fraud_score": 24.0,
						"fraud_indicators": [

						]
					},
					"object": "charge",
					"description": "Payment from order",
					"status": "declined",
					"amount": 51000,
					"fee": 2006,
					"customer_id": "",
					"order_id": "ord_2sw3ND52Q9RqxdWKo"
				}
			]
		}
	},
	"previous_attributes": {
	}
},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "order.updated",
	"created_at": 1668482811
}

Orden Anulada - order.voided

{
"data": {
	"object": {
		"livemode": true,
		"amount": 3915,
		"currency": "MXN",
		"payment_status": "voided",
		"amount_refunded": 0,
		"customer_info": {
			"name": "Fulano Perez",
			"email": "[email protected]",
		"phone": "55-5555-5555",
			"corporate": false,
			"object": "customer_info"
		},
		"object": "order",
		"id": "ord_2sw3QTuNAuHeiPPft",
		"metadata": {
		},
		"created_at": 1669762329,
		"updated_at": 1669762593,
		"charges": {
			"object": "list",
			"has_more": false,
			"total": 1,
			"data": [
				{
					"id": "63868d1886ef2f001ed46207",
					"livemode": true,
					"created_at": 1669762329,
					"currency": "MXN",
					"device_fingerprint": "g7FJnMTxaMnWm7btidQ1vtgGgGHBPAq9",
					"payment_method": {
						"name": "Fulano Perez",
						"exp_month": "07",
						"exp_year": "27",
						"auth_code": "021032",
						"address": {
							"country": "MX",
							"object": "address"
						},
						"object": "card_payment",
						"type": "debit",
						"last4": "8378",
						"brand": "mastercard",
						"issuer": "santander_pr",
						"account_type": "CHEQUE ELECTRONICO DEBITO",
						"country": "MX",
						"fraud_score": 37.0,
						"fraud_indicators": [

						]
					},
					"object": "charge",
					"reference_id": "2248QwSpCu9H",
					"status": "voided",
					"amount": 3915,
					"fee": 100,
					"customer_id": "",
					"order_id": "ord_2sw3QTuNAuHeiPPft"
				}
			]
		}
	},
	"previous_attributes": {
	}
},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "order.voided",
	"created_at": 1668482811
}

Orden Declinada - order.declined

#

{
"data": {
	"object": {
		"livemode": true,
		"amount": 46700,
		"currency": "MXN",
		"amount_refunded": 0,
		"customer_info": {
      "name": "Fulano Perez",
      "email": "[email protected]",
      "phone": "55-5555-5555",
			"corporate": false,
			"customer_id": "cus_2sw3RD8uRxBQZaXqo",
			"object": "customer_info"
		},
		"channel": {
			"segment": "Checkout",
			"checkout_request_id": "3bd5f194-aeba-496c-afc8-8628009b1843",
			"checkout_request_type": "Integration",
			"id": "channel_2sw3RECXQs4aHrJE1"
		},
		"checkout": {
			"id": "3bd5f194-aeba-496c-afc8-8628009b1843",
			"name": "ord-2sw3RECXQs4aHrJDz",
			"livemode": true,
			"emails_sent": 0,
			"success_url": "",
			"failure_url": "",
			"paid_payments_count": 0,
			"sms_sent": 0,
			"status": "Issued",
			"type": "Integration",
			"recurrent": false,
			"starts_at": 1669701600,
			"expires_at": 1670021587,
			"allowed_payment_methods": [
				"card",
				"cash"
			],
			"exclude_card_networks": [

			],
			"needs_shipping_contact": false,
			"monthly_installments_options": [
				3
			],
			"monthly_installments_enabled": true,
			"force_3ds_flow": true,
			"metadata": {
			},
			"can_not_expire": false,
			"object": "checkout",
			"on_demand_enabled": false
		},
		"object": "order",
		"id": "ord_2sw3RECXQs4aHrJDz",
		"created_at": 1669762388,
		"updated_at": 1669762388,
		"line_items": {
			"object": "list",
			"has_more": false,
			"total": 1,
			"data": [
				{
					"name": "Algun producto",
					"description": "Algun producto",
					"unit_price": 12900,
					"quantity": 1,
					"sku": "QNEVE018",
					"tags": [
						"simple"
					],
					"object": "line_item",
					"id": "line_item_2sw3RECXQs4aHrJDs",
					"parent_id": "ord_2sw3RECXQs4aHrJDz",
					"metadata": {
					},
					"antifraud_info": {
					}
				}
			]
		},
		"charges": {
			"object": "list",
			"has_more": false,
			"total": 1,
			"data": [
				{
					"id": "63868d944f35570027b8cb48",
					"livemode": true,
					"created_at": 1669762452,
					"currency": "MXN",
					"failure_code": "invalid_card",
					"failure_message": "El número de la tarjeta es inválido.",
					"channel": {
						"segment": "Checkout",
						"checkout_request_id": "3bd5f194-aeba-496c-afc8-8628009b1843",
						"checkout_request_type": "Integration",
						"id": "channel_2sw3S42TeMRkndjqs"
					},
					"payment_method": {
						"name": "Fulano Perez",
						"exp_month": "07",
						"exp_year": "25",
						"auth_code": "",
						"object": "card_payment",
						"type": "credit",
						"last4": "3169",
						"brand": "visa",
						"issuer": "banregio",
						"account_type": "VISA CREDITO CLASICA INTERNACIONAL",
						"country": "MX",
						"fraud_score": 24.0,
						"fraud_indicators": [

						]
					},
					"object": "charge",
					"description": "Payment from order",
					"status": "declined",
					"amount": 12900,
					"fee": 800,
					"customer_id": "cus_2sw3RD8uRxBQZaXqo",
					"order_id": "ord_2sw3RECXQs4aHrJDz"
				}
			]
		}
	},
	"previous_attributes": {
	}
},
	"livemode": true,
	"webhook_status": "successful",
	"webhook_logs": [
		{
			"id": "webhl_2sr6P2oyFqNTSLghJ",
			"url": "http://requestb.in/1467d141",
			"failed_attempts": 12,
			"last_http_response_status": 200,
			"response_data": {},
			"object": "webhook_log",
			"last_attempted_at": 1668480248
		}
	],
	"id": "637306fb5eeaad00015eeb6f",
	"object": "event",
	"type": "order.declined",
	"created_at": 1668482811
}