Obter lista de intenções de pagamento - Pagamentos Point - Mercado Pago Developers
Obter lista de intenções de pagamento

GET

/point/integration-api/payment-intents/events
Este endpoint permite obter uma lista de tentativas de pagamento com seus status finais entre um intervalo de datas. Este endpoint tem a restrição de que o número de dias entre as datas não deve exceder 30.
Parâmetros de requisição
x-test-scope
string
Localização: headerThis is a temporary header, it should be used just for development with the value "sandbox"
startDate

OBRIGATÓRIO

string
Localização: queryData de início (AAAA-MM-DD)
endDate

OBRIGATÓRIO

string
Localização: queryData final (AAAA-MM-DD)
Parâmetros de resposta
events
array
Localização: body
Solicitação
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 \
      
Resposta
json
{
  "events": [
    {
      "payment_intent_id": "51374ba8-50e4-4633-a000-3e42ccd245f9",
      "status": "FINISHED",
      "created_on": "2021-08-30T22:38:05Z"
    }
  ]
}
Erros
400bad_request
400 Bad-Request - startDate and/or endDate are misssing or incorrect
401bad_request
401 Token is invalid
403bad_request
403 Forbidden - Integrator isn't registered
500bad_request
500 Internal server error