Consultar status no provedor
curl --request POST \
--url https://seu-dominio.com/api/v1/transactions/consult \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"external_id": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a', external_id: '<string>'})
};
fetch('https://seu-dominio.com/api/v1/transactions/consult', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://seu-dominio.com/api/v1/transactions/consult"
payload = {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"external_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Integradores v1
Consultar status no provedor
POST
/
api
/
v1
/
transactions
/
consult
Consultar status no provedor
curl --request POST \
--url https://seu-dominio.com/api/v1/transactions/consult \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"external_id": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a', external_id: '<string>'})
};
fetch('https://seu-dominio.com/api/v1/transactions/consult', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://seu-dominio.com/api/v1/transactions/consult"
payload = {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"external_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}