Listar adquirentes
curl --request GET \
--url https://api.pluggoutech.com/api/pix-cash-in/acquirers \
--header 'X-Public-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>'import requests
url = "https://api.pluggoutech.com/api/pix-cash-in/acquirers"
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/pix-cash-in/acquirers', 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/pix-cash-in/acquirers",
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/pix-cash-in/acquirers"
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/pix-cash-in/acquirers")
.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/pix-cash-in/acquirers")
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": "Listagem obtida com sucesso.",
"data": {
"acquirers": [
{
"nominal": "Adquirente A",
"acquirer_key": "adq_a",
"acquirer_name": "Nome exibido",
"max_ticket": 500000,
"conversion_percent": 98.5,
"is_new": false,
"active_priority": 1
},
{
"nominal": "Adquirente B",
"acquirer_key": "adq_b",
"acquirer_name": "Nome exibido B",
"max_ticket": 300000,
"conversion_percent": 97.2,
"is_new": true,
"active_priority": 2
}
],
"active_acquirers": {
"primary": {
"acquirer_key": "adq_a",
"acquirer_name": "Nome exibido"
},
"secondary": {
"acquirer_key": "adq_b",
"acquirer_name": "Nome exibido B"
},
"tertiary": null
}
}
}Adquirentes
Listar adquirentes
Lista as adquirentes PIX disponíveis para seleção nesta conta e exibe quais estão configuradas como primária, secundária ou terciária. Requer a feature can_select_pix_cash_in_acquirer habilitada na conta.
GET
/
pix-cash-in
/
acquirers
Listar adquirentes
curl --request GET \
--url https://api.pluggoutech.com/api/pix-cash-in/acquirers \
--header 'X-Public-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>'import requests
url = "https://api.pluggoutech.com/api/pix-cash-in/acquirers"
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/pix-cash-in/acquirers', 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/pix-cash-in/acquirers",
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/pix-cash-in/acquirers"
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/pix-cash-in/acquirers")
.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/pix-cash-in/acquirers")
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": "Listagem obtida com sucesso.",
"data": {
"acquirers": [
{
"nominal": "Adquirente A",
"acquirer_key": "adq_a",
"acquirer_name": "Nome exibido",
"max_ticket": 500000,
"conversion_percent": 98.5,
"is_new": false,
"active_priority": 1
},
{
"nominal": "Adquirente B",
"acquirer_key": "adq_b",
"acquirer_name": "Nome exibido B",
"max_ticket": 300000,
"conversion_percent": 97.2,
"is_new": true,
"active_priority": 2
}
],
"active_acquirers": {
"primary": {
"acquirer_key": "adq_a",
"acquirer_name": "Nome exibido"
},
"secondary": {
"acquirer_key": "adq_b",
"acquirer_name": "Nome exibido B"
},
"tertiary": null
}
}
}Authorizations
Sua chave pública de acesso à API. Ex: pk_live_abc123def456...
Sua chave secreta de acesso à API. Ex: sk_live_xyz789ghi012...
⌘I