curl --request POST \
--url https://api.conta.paybeehive.com.br/v1/recipients \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"legalName": "netero isaac",
"document": {
"number": "12345678909",
"type": "cpf"
},
"transferSettings": {
"transferEnabled": true,
"automaticAnticipationEnabled": true,
"anticipatableVolumePercentage": 2
},
"bankAccount": {
"bankCode": "341",
"agencyNumber": "1234",
"accountNumber": "123456",
"accountDigit": "7",
"type": "conta_corrente",
"legalName": "minhalojinha",
"documentNumber": "12345678909",
"documentType": "cpf"
},
"email": "financeiro@lojaabc.com"
}
'import requests
url = "https://api.conta.paybeehive.com.br/v1/recipients"
payload = {
"legalName": "netero isaac",
"document": {
"number": "12345678909",
"type": "cpf"
},
"transferSettings": {
"transferEnabled": True,
"automaticAnticipationEnabled": True,
"anticipatableVolumePercentage": 2
},
"bankAccount": {
"bankCode": "341",
"agencyNumber": "1234",
"accountNumber": "123456",
"accountDigit": "7",
"type": "conta_corrente",
"legalName": "minhalojinha",
"documentNumber": "12345678909",
"documentType": "cpf"
},
"email": "financeiro@lojaabc.com"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
legalName: 'netero isaac',
document: {number: '12345678909', type: 'cpf'},
transferSettings: {
transferEnabled: true,
automaticAnticipationEnabled: true,
anticipatableVolumePercentage: 2
},
bankAccount: {
bankCode: '341',
agencyNumber: '1234',
accountNumber: '123456',
accountDigit: '7',
type: 'conta_corrente',
legalName: 'minhalojinha',
documentNumber: '12345678909',
documentType: 'cpf'
},
email: 'financeiro@lojaabc.com'
})
};
fetch('https://api.conta.paybeehive.com.br/v1/recipients', 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/recipients",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'legalName' => 'netero isaac',
'document' => [
'number' => '12345678909',
'type' => 'cpf'
],
'transferSettings' => [
'transferEnabled' => true,
'automaticAnticipationEnabled' => true,
'anticipatableVolumePercentage' => 2
],
'bankAccount' => [
'bankCode' => '341',
'agencyNumber' => '1234',
'accountNumber' => '123456',
'accountDigit' => '7',
'type' => 'conta_corrente',
'legalName' => 'minhalojinha',
'documentNumber' => '12345678909',
'documentType' => 'cpf'
],
'email' => 'financeiro@lojaabc.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.conta.paybeehive.com.br/v1/recipients"
payload := strings.NewReader("{\n \"legalName\": \"netero isaac\",\n \"document\": {\n \"number\": \"12345678909\",\n \"type\": \"cpf\"\n },\n \"transferSettings\": {\n \"transferEnabled\": true,\n \"automaticAnticipationEnabled\": true,\n \"anticipatableVolumePercentage\": 2\n },\n \"bankAccount\": {\n \"bankCode\": \"341\",\n \"agencyNumber\": \"1234\",\n \"accountNumber\": \"123456\",\n \"accountDigit\": \"7\",\n \"type\": \"conta_corrente\",\n \"legalName\": \"minhalojinha\",\n \"documentNumber\": \"12345678909\",\n \"documentType\": \"cpf\"\n },\n \"email\": \"financeiro@lojaabc.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.conta.paybeehive.com.br/v1/recipients")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"legalName\": \"netero isaac\",\n \"document\": {\n \"number\": \"12345678909\",\n \"type\": \"cpf\"\n },\n \"transferSettings\": {\n \"transferEnabled\": true,\n \"automaticAnticipationEnabled\": true,\n \"anticipatableVolumePercentage\": 2\n },\n \"bankAccount\": {\n \"bankCode\": \"341\",\n \"agencyNumber\": \"1234\",\n \"accountNumber\": \"123456\",\n \"accountDigit\": \"7\",\n \"type\": \"conta_corrente\",\n \"legalName\": \"minhalojinha\",\n \"documentNumber\": \"12345678909\",\n \"documentType\": \"cpf\"\n },\n \"email\": \"financeiro@lojaabc.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.conta.paybeehive.com.br/v1/recipients")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"legalName\": \"netero isaac\",\n \"document\": {\n \"number\": \"12345678909\",\n \"type\": \"cpf\"\n },\n \"transferSettings\": {\n \"transferEnabled\": true,\n \"automaticAnticipationEnabled\": true,\n \"anticipatableVolumePercentage\": 2\n },\n \"bankAccount\": {\n \"bankCode\": \"341\",\n \"agencyNumber\": \"1234\",\n \"accountNumber\": \"123456\",\n \"accountDigit\": \"7\",\n \"type\": \"conta_corrente\",\n \"legalName\": \"minhalojinha\",\n \"documentNumber\": \"12345678909\",\n \"documentType\": \"cpf\"\n },\n \"email\": \"financeiro@lojaabc.com\"\n}"
response = http.request(request)
puts response.read_body{
"legalName": "netero isaac",
"document": {
"number": "12345678909",
"type": "cpf"
},
"transferSettings": {
"transferEnabled": true,
"automaticAnticipationEnabled": true,
"anticipatableVolumePercentage": 2
},
"bankAccount": {
"bankCode": "341",
"agencyNumber": "1234",
"accountNumber": "123456",
"accountDigit": "7",
"type": "conta_corrente",
"legalName": "minhalojinha",
"documentNumber": "12345678909",
"documentType": "cpf"
},
"email": "financeiro@lojaabc.com",
"id": 916,
"companyId": 287,
"tenantId": 1,
"createdAt": "2025-12-04T04:33:10.000Z",
"balance": {}
}{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}Criar recebedor
Cria um recebedor (recipient) para receber valores via split/repasse.
curl --request POST \
--url https://api.conta.paybeehive.com.br/v1/recipients \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"legalName": "netero isaac",
"document": {
"number": "12345678909",
"type": "cpf"
},
"transferSettings": {
"transferEnabled": true,
"automaticAnticipationEnabled": true,
"anticipatableVolumePercentage": 2
},
"bankAccount": {
"bankCode": "341",
"agencyNumber": "1234",
"accountNumber": "123456",
"accountDigit": "7",
"type": "conta_corrente",
"legalName": "minhalojinha",
"documentNumber": "12345678909",
"documentType": "cpf"
},
"email": "financeiro@lojaabc.com"
}
'import requests
url = "https://api.conta.paybeehive.com.br/v1/recipients"
payload = {
"legalName": "netero isaac",
"document": {
"number": "12345678909",
"type": "cpf"
},
"transferSettings": {
"transferEnabled": True,
"automaticAnticipationEnabled": True,
"anticipatableVolumePercentage": 2
},
"bankAccount": {
"bankCode": "341",
"agencyNumber": "1234",
"accountNumber": "123456",
"accountDigit": "7",
"type": "conta_corrente",
"legalName": "minhalojinha",
"documentNumber": "12345678909",
"documentType": "cpf"
},
"email": "financeiro@lojaabc.com"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
legalName: 'netero isaac',
document: {number: '12345678909', type: 'cpf'},
transferSettings: {
transferEnabled: true,
automaticAnticipationEnabled: true,
anticipatableVolumePercentage: 2
},
bankAccount: {
bankCode: '341',
agencyNumber: '1234',
accountNumber: '123456',
accountDigit: '7',
type: 'conta_corrente',
legalName: 'minhalojinha',
documentNumber: '12345678909',
documentType: 'cpf'
},
email: 'financeiro@lojaabc.com'
})
};
fetch('https://api.conta.paybeehive.com.br/v1/recipients', 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/recipients",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'legalName' => 'netero isaac',
'document' => [
'number' => '12345678909',
'type' => 'cpf'
],
'transferSettings' => [
'transferEnabled' => true,
'automaticAnticipationEnabled' => true,
'anticipatableVolumePercentage' => 2
],
'bankAccount' => [
'bankCode' => '341',
'agencyNumber' => '1234',
'accountNumber' => '123456',
'accountDigit' => '7',
'type' => 'conta_corrente',
'legalName' => 'minhalojinha',
'documentNumber' => '12345678909',
'documentType' => 'cpf'
],
'email' => 'financeiro@lojaabc.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.conta.paybeehive.com.br/v1/recipients"
payload := strings.NewReader("{\n \"legalName\": \"netero isaac\",\n \"document\": {\n \"number\": \"12345678909\",\n \"type\": \"cpf\"\n },\n \"transferSettings\": {\n \"transferEnabled\": true,\n \"automaticAnticipationEnabled\": true,\n \"anticipatableVolumePercentage\": 2\n },\n \"bankAccount\": {\n \"bankCode\": \"341\",\n \"agencyNumber\": \"1234\",\n \"accountNumber\": \"123456\",\n \"accountDigit\": \"7\",\n \"type\": \"conta_corrente\",\n \"legalName\": \"minhalojinha\",\n \"documentNumber\": \"12345678909\",\n \"documentType\": \"cpf\"\n },\n \"email\": \"financeiro@lojaabc.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.conta.paybeehive.com.br/v1/recipients")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"legalName\": \"netero isaac\",\n \"document\": {\n \"number\": \"12345678909\",\n \"type\": \"cpf\"\n },\n \"transferSettings\": {\n \"transferEnabled\": true,\n \"automaticAnticipationEnabled\": true,\n \"anticipatableVolumePercentage\": 2\n },\n \"bankAccount\": {\n \"bankCode\": \"341\",\n \"agencyNumber\": \"1234\",\n \"accountNumber\": \"123456\",\n \"accountDigit\": \"7\",\n \"type\": \"conta_corrente\",\n \"legalName\": \"minhalojinha\",\n \"documentNumber\": \"12345678909\",\n \"documentType\": \"cpf\"\n },\n \"email\": \"financeiro@lojaabc.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.conta.paybeehive.com.br/v1/recipients")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"legalName\": \"netero isaac\",\n \"document\": {\n \"number\": \"12345678909\",\n \"type\": \"cpf\"\n },\n \"transferSettings\": {\n \"transferEnabled\": true,\n \"automaticAnticipationEnabled\": true,\n \"anticipatableVolumePercentage\": 2\n },\n \"bankAccount\": {\n \"bankCode\": \"341\",\n \"agencyNumber\": \"1234\",\n \"accountNumber\": \"123456\",\n \"accountDigit\": \"7\",\n \"type\": \"conta_corrente\",\n \"legalName\": \"minhalojinha\",\n \"documentNumber\": \"12345678909\",\n \"documentType\": \"cpf\"\n },\n \"email\": \"financeiro@lojaabc.com\"\n}"
response = http.request(request)
puts response.read_body{
"legalName": "netero isaac",
"document": {
"number": "12345678909",
"type": "cpf"
},
"transferSettings": {
"transferEnabled": true,
"automaticAnticipationEnabled": true,
"anticipatableVolumePercentage": 2
},
"bankAccount": {
"bankCode": "341",
"agencyNumber": "1234",
"accountNumber": "123456",
"accountDigit": "7",
"type": "conta_corrente",
"legalName": "minhalojinha",
"documentNumber": "12345678909",
"documentType": "cpf"
},
"email": "financeiro@lojaabc.com",
"id": 916,
"companyId": 287,
"tenantId": 1,
"createdAt": "2025-12-04T04:33:10.000Z",
"balance": {}
}{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}{
"message": "Invalid request",
"code": "bad_request",
"details": {}
}Authorizations
Basic Authorization usando SECRET_KEY como usuário e "x" como senha.
Body
Razão social / nome legal do recebedor (obrigatório).
50"netero isaac"
Show child attributes
Show child attributes
Regras de transferência/antecipação do recebedor.
Show child attributes
Show child attributes
Dados bancários do recebedor.
Show child attributes
Show child attributes
Email do recebedor (opcional).
"financeiro@lojaabc.com"
Response
Recebedor criado
Razão social / nome legal do recebedor (obrigatório).
50"netero isaac"
Show child attributes
Show child attributes
Configurações retornadas pelo sistema (podem incluir campos adicionais).
Show child attributes
Show child attributes
Dados bancários do recebedor.
Show child attributes
Show child attributes
Email do recebedor (opcional).
"financeiro@lojaabc.com"
916
287
1
"2025-12-04T04:33:10.000Z"
Resumo de saldo do recebedor (pode variar por ambiente).