Listar transações
curl --request GET \
--url https://api.pluggoutech.com/api/transactions \
--header 'X-Public-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>'import requests
url = "https://api.pluggoutech.com/api/transactions"
headers = {
"X-Public-Key": "<api-key>",
"X-Secret-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Public-Key': '<api-key>', 'X-Secret-Key': '<api-key>'}
};
fetch('https://api.pluggoutech.com/api/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pluggoutech.com/api/transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Public-Key: <api-key>",
"X-Secret-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pluggoutech.com/api/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Public-Key", "<api-key>")
req.Header.Add("X-Secret-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pluggoutech.com/api/transactions")
.header("X-Public-Key", "<api-key>")
.header("X-Secret-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pluggoutech.com/api/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Public-Key"] = '<api-key>'
request["X-Secret-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Transações listadas com sucesso.",
"data": {
"transactions": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"payment_method": "pix",
"e2e_id": "E12345678202301011234abcdefghijkl",
"amount": 10000,
"platform_tax": 149,
"liquid_amount": 9851,
"status": "paid",
"paid_at": "2026-01-29 11:30:00",
"created_at": "2026-01-29 11:25:00"
},
{
"id": "b2c3d4e5-f6a1-7890-bcde-234567890abc",
"payment_method": "pix",
"e2e_id": null,
"amount": 5000,
"platform_tax": 99,
"liquid_amount": 4901,
"status": "pending",
"paid_at": null,
"created_at": "2026-01-29 10:15:00"
}
],
"pagination": {
"current_page": 1,
"last_page": 5,
"per_page": 10,
"total": 47
}
}
}Transações
Listar transações
Retorna uma lista paginada de transações da sua conta, com suporte a diversos filtros por status, valor, data e identificadores.
GET
/
transactions
Listar transações
curl --request GET \
--url https://api.pluggoutech.com/api/transactions \
--header 'X-Public-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>'import requests
url = "https://api.pluggoutech.com/api/transactions"
headers = {
"X-Public-Key": "<api-key>",
"X-Secret-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Public-Key': '<api-key>', 'X-Secret-Key': '<api-key>'}
};
fetch('https://api.pluggoutech.com/api/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pluggoutech.com/api/transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Public-Key: <api-key>",
"X-Secret-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pluggoutech.com/api/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Public-Key", "<api-key>")
req.Header.Add("X-Secret-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pluggoutech.com/api/transactions")
.header("X-Public-Key", "<api-key>")
.header("X-Secret-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pluggoutech.com/api/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Public-Key"] = '<api-key>'
request["X-Secret-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Transações listadas com sucesso.",
"data": {
"transactions": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"payment_method": "pix",
"e2e_id": "E12345678202301011234abcdefghijkl",
"amount": 10000,
"platform_tax": 149,
"liquid_amount": 9851,
"status": "paid",
"paid_at": "2026-01-29 11:30:00",
"created_at": "2026-01-29 11:25:00"
},
{
"id": "b2c3d4e5-f6a1-7890-bcde-234567890abc",
"payment_method": "pix",
"e2e_id": null,
"amount": 5000,
"platform_tax": 99,
"liquid_amount": 4901,
"status": "pending",
"paid_at": null,
"created_at": "2026-01-29 10:15:00"
}
],
"pagination": {
"current_page": 1,
"last_page": 5,
"per_page": 10,
"total": 47
}
}
}Authorizations
Sua chave pública de acesso à API. Ex: pk_live_abc123def456...
Sua chave secreta de acesso à API. Ex: sk_live_xyz789ghi012...
Query Parameters
Busca exata pelo UUID da transação.
Busca exata pelo identificador end-to-end do PIX.
Valor mínimo da transação em centavos.
Valor máximo da transação em centavos.
Filtra por status da transação.
Available options:
pending, paid, failed, canceled, refunded, chargeback Data/hora mínima de pagamento no formato Y-m-d H:i:s (UTC-3).
Data/hora máxima de pagamento no formato Y-m-d H:i:s (UTC-3).
Data/hora mínima de criação no formato Y-m-d H:i:s (UTC-3).
Data/hora máxima de criação no formato Y-m-d H:i:s (UTC-3).
Página da listagem (padrão: 1).