Consultar Taxas Negociadas
curl --request GET \
--url https://garu.com.br/api/seller-config/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://garu.com.br/api/seller-config/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://garu.com.br/api/seller-config/me', 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://garu.com.br/api/seller-config/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://garu.com.br/api/seller-config/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://garu.com.br/api/seller-config/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://garu.com.br/api/seller-config/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"401": {},
"403": {},
"effective": {},
"effective.pix": {},
"effective.credit": {},
"effective.boleto": {},
"effective.intlCredit": {},
"effective.chargebackFee": 123,
"effective.withdrawalFee": 123,
"updatedAt": {}
}Configuração da Conta
Consultar Taxas Negociadas
Retorna as taxas efetivas do seu cadastro
GET
/
api
/
seller-config
/
me
Consultar Taxas Negociadas
curl --request GET \
--url https://garu.com.br/api/seller-config/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://garu.com.br/api/seller-config/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://garu.com.br/api/seller-config/me', 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://garu.com.br/api/seller-config/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://garu.com.br/api/seller-config/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://garu.com.br/api/seller-config/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://garu.com.br/api/seller-config/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"401": {},
"403": {},
"effective": {},
"effective.pix": {},
"effective.credit": {},
"effective.boleto": {},
"effective.intlCredit": {},
"effective.chargebackFee": 123,
"effective.withdrawalFee": 123,
"updatedAt": {}
}Visão Geral
Consulte as taxas negociadas para a sua conta — PIX, cartão de crédito, boleto, crédito internacional, chargeback e saque. Este endpoint é somente leitura. Para renegociar taxas, fale com o seu account.As taxas exibidas em
effective são o que de fato é cobrado em cada transação.Exemplo de Requisição
curl -X GET "https://garu.com.br/api/seller-config/me" \
-H "Authorization: Bearer sk_test_sua_chave_api"
const response = await fetch('https://garu.com.br/api/seller-config/me', {
headers: {
Authorization: `Bearer ${process.env.GARU_API_KEY}`,
},
});
const fees = await response.json();
console.log(`PIX: ${(fees.effective.pix.feePercent * 100).toFixed(2)}% + R$ ${fees.effective.pix.feeFixed}`);
console.log(`Crédito: ${(fees.effective.credit.feePercent * 100).toFixed(2)}% + R$ ${fees.effective.credit.feeFixed}`);
import requests
import os
response = requests.get(
"https://garu.com.br/api/seller-config/me",
headers={"Authorization": f"Bearer {os.environ['GARU_API_KEY']}"},
)
fees = response.json()
pix = fees["effective"]["pix"]
print(f"PIX: {pix['feePercent'] * 100:.2f}% + R$ {pix['feeFixed']}")
Resposta
object
Taxas efetivas aplicadas a cada método de pagamento.
object
PIX doméstico:
feePercent (decimal), feeFixed (BRL), dplusX, reservePercent, reserveDays.object
Cartão de crédito doméstico — mesma estrutura.
object
Boleto doméstico — mesma estrutura.
object
Cartão de crédito internacional.
feeFixed em USD.number
Taxa de chargeback em BRL.
number
Taxa de saque em BRL.
string | null
Quando suas taxas foram atualizadas pela última vez (ISO 8601).
null se você está nas taxas padrão da plataforma.Exemplo de Resposta
{
"effective": {
"pix": { "feePercent": 0.0099, "feeFixed": 0.10, "dplusX": 1, "reservePercent": 0, "reserveDays": 0 },
"credit": { "feePercent": 0.0399, "feeFixed": 0.49, "dplusX": 15, "reservePercent": 0.04, "reserveDays": 30 },
"boleto": { "feePercent": 0.0199, "feeFixed": 2.49, "dplusX": 2, "reservePercent": 0, "reserveDays": 0 },
"intlCredit": { "feePercent": 0.0699, "feeFixed": 0.30, "dplusX": 30, "reservePercent": 0.10, "reserveDays": 45 },
"chargebackFee": 50.0,
"withdrawalFee": 3.5
},
"updatedAt": "2026-03-12T14:00:00.000Z"
}
Respostas de Erro
Unauthorized
Token JWT ausente ou inválido.
Forbidden
Sem contexto de vendedor selecionado, ou sem permissão
billing:view.Was this page helpful?