Listar saques
curl --request GET \
--url https://api.pluggoutech.com/api/withdrawals \
--header 'X-Public-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>'import requests
url = "https://api.pluggoutech.com/api/withdrawals"
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/withdrawals', 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/withdrawals",
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/withdrawals"
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/withdrawals")
.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/withdrawals")
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": "Saques listados com sucesso.",
"data": {
"withdrawals": [
{
"id": "e5f6a1b2-c3d4-7890-efgh-4567890abcde",
"e2e_id": "E12345678202301011234abcdefghijkl",
"amount": 50000,
"liquid_amount": 50000,
"pix_type": "cpf",
"pix_key": "12345678909",
"status": "paid",
"paid_at": "2026-01-29 12:00:00",
"created_at": "2026-01-29 11:58:00"
},
{
"id": "f6a1b2c3-d4e5-7890-fghi-567890abcdef",
"e2e_id": null,
"amount": 30000,
"liquid_amount": 30000,
"pix_type": "email",
"pix_key": "usuario@email.com",
"status": "pending",
"paid_at": null,
"created_at": "2026-01-29 10:30:00"
}
],
"pagination": {
"current_page": 1,
"last_page": 3,
"per_page": 10,
"total": 25
}
}
}Transferências
Listar saques
Retorna uma lista paginada de saques da sua conta, com suporte a diversos filtros por status, valor, data e identificadores.
GET
/
withdrawals
Listar saques
curl --request GET \
--url https://api.pluggoutech.com/api/withdrawals \
--header 'X-Public-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>'import requests
url = "https://api.pluggoutech.com/api/withdrawals"
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/withdrawals', 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/withdrawals",
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/withdrawals"
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/withdrawals")
.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/withdrawals")
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": "Saques listados com sucesso.",
"data": {
"withdrawals": [
{
"id": "e5f6a1b2-c3d4-7890-efgh-4567890abcde",
"e2e_id": "E12345678202301011234abcdefghijkl",
"amount": 50000,
"liquid_amount": 50000,
"pix_type": "cpf",
"pix_key": "12345678909",
"status": "paid",
"paid_at": "2026-01-29 12:00:00",
"created_at": "2026-01-29 11:58:00"
},
{
"id": "f6a1b2c3-d4e5-7890-fghi-567890abcdef",
"e2e_id": null,
"amount": 30000,
"liquid_amount": 30000,
"pix_type": "email",
"pix_key": "usuario@email.com",
"status": "pending",
"paid_at": null,
"created_at": "2026-01-29 10:30:00"
}
],
"pagination": {
"current_page": 1,
"last_page": 3,
"per_page": 10,
"total": 25
}
}
}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 do saque.
Busca exata pelo identificador end-to-end.
Valor mínimo em centavos.
Valor máximo em centavos.
Filtra por status do saque.
Available options:
pending, approved, paid, failed, canceled, refunded 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).