Consultar transação por pix_id
curl --request POST \
--url https://seu-dominio.com/v2/consult-transaction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pix_id": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({pix_id: '<string>'})
};
fetch('https://seu-dominio.com/v2/consult-transaction', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://seu-dominio.com/v2/consult-transaction"
payload = { "pix_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}API v2 — PIX
Consultar transação por pix_id
POST
/
v2
/
consult-transaction
Consultar transação por pix_id
curl --request POST \
--url https://seu-dominio.com/v2/consult-transaction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pix_id": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({pix_id: '<string>'})
};
fetch('https://seu-dominio.com/v2/consult-transaction', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://seu-dominio.com/v2/consult-transaction"
payload = { "pix_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}