Buscar links de pagamento
curl --request GET \
--url https://api.conta.paybeehive.com.br/v1/payment-links \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.conta.paybeehive.com.br/v1/payment-links"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.conta.paybeehive.com.br/v1/payment-links', 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.conta.paybeehive.com.br/v1/payment-links",
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: Basic <encoded-value>"
],
]);
$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.conta.paybeehive.com.br/v1/payment-links"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.conta.paybeehive.com.br/v1/payment-links")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.conta.paybeehive.com.br/v1/payment-links")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body[
{
"id": 247,
"companyId": 287,
"alias": "alias_alterado",
"title": "novo link alterado",
"amount": 1000,
"status": "active",
"createdAt": "2026-03-06T21:10:16.000Z",
"updatedAt": "2026-03-06T21:10:16.000Z",
"settings": {
"defaultPaymentMethod": "credit_card",
"requestAddress": true,
"requestPhone": true,
"requestDocument": true,
"traceable": true,
"card": {
"enabled": false,
"freeInstallments": 1,
"maxInstallments": 12
},
"pix": {
"enabled": false,
"expiresInDays": 0
},
"boleto": {
"enabled": true,
"expiresInDays": 0
}
}
}
]{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}Links de Pagamento
Buscar links de pagamento
Retorna a lista de links de pagamento cadastrados.
GET
/
payment-links
Buscar links de pagamento
curl --request GET \
--url https://api.conta.paybeehive.com.br/v1/payment-links \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.conta.paybeehive.com.br/v1/payment-links"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.conta.paybeehive.com.br/v1/payment-links', 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.conta.paybeehive.com.br/v1/payment-links",
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: Basic <encoded-value>"
],
]);
$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.conta.paybeehive.com.br/v1/payment-links"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.conta.paybeehive.com.br/v1/payment-links")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.conta.paybeehive.com.br/v1/payment-links")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body[
{
"id": 247,
"companyId": 287,
"alias": "alias_alterado",
"title": "novo link alterado",
"amount": 1000,
"status": "active",
"createdAt": "2026-03-06T21:10:16.000Z",
"updatedAt": "2026-03-06T21:10:16.000Z",
"settings": {
"defaultPaymentMethod": "credit_card",
"requestAddress": true,
"requestPhone": true,
"requestDocument": true,
"traceable": true,
"card": {
"enabled": false,
"freeInstallments": 1,
"maxInstallments": 12
},
"pix": {
"enabled": false,
"expiresInDays": 0
},
"boleto": {
"enabled": true,
"expiresInDays": 0
}
}
}
]{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}Authorizations
basicAuthapiKeyAuth
Basic Authorization usando SECRET_KEY como usuário e "x" como senha.
Response
Lista de links de pagamento
Example:
9001
Example:
"novo link alterado"
Example:
1000
Example:
"https://checkout.paybeehive.com/payment-links/9001"
Example:
"active"
Show child attributes
Show child attributes
Example:
"2026-01-04T12:00:00Z"
Example:
"2026-01-04T12:10:00Z"
⌘I