Listar o extrato
curl --request GET \
--url https://api.validator.blubash.io/v1/transactions \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.validator.blubash.io/v1/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.validator.blubash.io/v1/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"amount": "-0.2000",
"balance_after": "499.8000",
"created_at": "2026-12-01T13:45:12.402Z",
"description": "Consumo",
"id": "txn_01JF3T6G8J0K2N4Q6S8V0W2Y4Z",
"type": "capture",
"reference": "chk_01JF3R2B7C9D1E3F5G7H9J1K3M"
}
],
"has_more": true
}
Saldo e extrato
Listar o extrato
Os lançamentos do saldo, do mais novo para o mais antigo (created_at e id decrescentes), com filtros por tipo e período e paginação por cursor. Cada consumo aparece como reservation (0,0000) e depois capture (o valor cobrado) e/ou release.
Escopo exigido: billing. Liberada para workspace suspenso.
GET
/
v1
/
transactions
Listar o extrato
curl --request GET \
--url https://api.validator.blubash.io/v1/transactions \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.validator.blubash.io/v1/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.validator.blubash.io/v1/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"amount": "-0.2000",
"balance_after": "499.8000",
"created_at": "2026-12-01T13:45:12.402Z",
"description": "Consumo",
"id": "txn_01JF3T6G8J0K2N4Q6S8V0W2Y4Z",
"type": "capture",
"reference": "chk_01JF3R2B7C9D1E3F5G7H9J1K3M"
}
],
"has_more": true
}