¿Qué documentación quieres buscar?
¿No sabes cómo empezar la integración?
Accede a los primeros pasos¿Te sirvió esta información?
Sí
No
Obtener lista de intenciones de pago/point/integration-api/payment-intents/eventsEste endpoint permite obtener una lista de intentos de pago con sus estados finales entre un rango de fechas. Este endpoint tiene la restricción de que el número de días entre fechas no debe exceder los 30.
GET
Productos que lo utilizan:
Parámetros para la solicitud
x-test-scope
Localización: headerThis is a temporary header, it should be used just for development with the value "sandbox"string
startDatestring
Localización: queryFecha inicial (AAAA-MM-DD)REQUERIDO
endDatestring
Localización: queryFecha final (AAAA-MM-DD)REQUERIDO
Parámetros de respuesta
events
Localización: bodyarray
Solicitud
curl
curl -X GET \
'https://api.mercadopago.com/point/integration-api/payment-intents/events?startDate=1948-01-16&endDate=2022-01-25' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN \
Respuesta
json
{
"events": [
{
"payment_intent_id": "51374ba8-50e4-4633-a000-3e42ccd245f9",
"status": "FINISHED",
"created_on": "2021-08-30T22:38:05Z"
}
]
}
Errores
400bad_request
400
401bad_request
401 Token is invalid
403bad_request
403 Forbidden - Integrator isn't registered
500bad_request
500 Internal server error