Consultar cobrança
Devolve uma cobrança com o Pix copia e cola, o pagador e os estornos.
GET
https://api.hub.payzu.com.br/api/v1/transactions/payment/{paymentId}Responses
curl -X GET "https://api.hub.payzu.com.br/api/v1/transactions/payment/hubp-20261005K7Q2M9XB4T127431" \ -H "Authorization: Bearer {{token}}"fetch("https://api.hub.payzu.com.br/api/v1/transactions/payment/hubp-20261005K7Q2M9XB4T127431", { method: "GET", headers: { "Authorization": "Bearer {{token}}" }})import requestsurl = "https://api.hub.payzu.com.br/api/v1/transactions/payment/hubp-20261005K7Q2M9XB4T127431"response = requests.request("GET", url, headers = { "Authorization": "Bearer {{token}}"})print(response.text)