cURL
curl --request GET \
--url 'https://api.skalepayments.com.br/company' \
--header 'X-API-Key: sk_sua_chave_aqui'import requests
url = "https://api.skalepayments.com.br/company"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.skalepayments.com.br/company', 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.skalepayments.com.br/company",
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-API-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.skalepayments.com.br/company"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-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.skalepayments.com.br/company")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.skalepayments.com.br/company")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"userId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"legalName": "Empresa Exemplo LTDA",
"blocked": false,
"invoiceDescriptor": "Empresa Exemplo",
"createdAt": "2022-05-26T19:06:35.000Z",
"uploadedDocuments": true,
"user": {
"email": "contato@exemplo.com",
"phone": "11999999999",
"name": "Responsável Exemplo",
"isEmailVerified": true,
"createdAt": "2022-05-26T19:03:23.000Z"
},
"document": {
"number": "12345678000199",
"type": "cnpj"
},
"permissions": {
"isPixAvailable": true,
"transferEnabled": true,
"transferPriceCents": 500,
"anticipationEnabled": false
},
"defaultRecipient": {
"legalName": "Empresa Exemplo LTDA",
"balance": {
"available": 69345,
"updatedAt": "2026-03-26T00:17:38.607Z"
}
}
}{
"success": false,
"statusCode": 123,
"message": "<string>",
"code": "HTTP_EXCEPTION",
"timestamp": "2023-11-07T05:31:56Z",
"path": "<string>",
"method": "<string>"
}{
"success": false,
"statusCode": 123,
"message": "<string>",
"code": "HTTP_EXCEPTION",
"timestamp": "2023-11-07T05:31:56Z",
"path": "<string>",
"method": "<string>"
}Empresa
Dados da empresa
Retorna cadastro, permissões e saldo da empresa autenticada.
GET
/
company
cURL
curl --request GET \
--url 'https://api.skalepayments.com.br/company' \
--header 'X-API-Key: sk_sua_chave_aqui'import requests
url = "https://api.skalepayments.com.br/company"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.skalepayments.com.br/company', 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.skalepayments.com.br/company",
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-API-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.skalepayments.com.br/company"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-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.skalepayments.com.br/company")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.skalepayments.com.br/company")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"userId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"legalName": "Empresa Exemplo LTDA",
"blocked": false,
"invoiceDescriptor": "Empresa Exemplo",
"createdAt": "2022-05-26T19:06:35.000Z",
"uploadedDocuments": true,
"user": {
"email": "contato@exemplo.com",
"phone": "11999999999",
"name": "Responsável Exemplo",
"isEmailVerified": true,
"createdAt": "2022-05-26T19:03:23.000Z"
},
"document": {
"number": "12345678000199",
"type": "cnpj"
},
"permissions": {
"isPixAvailable": true,
"transferEnabled": true,
"transferPriceCents": 500,
"anticipationEnabled": false
},
"defaultRecipient": {
"legalName": "Empresa Exemplo LTDA",
"balance": {
"available": 69345,
"updatedAt": "2026-03-26T00:17:38.607Z"
}
}
}{
"success": false,
"statusCode": 123,
"message": "<string>",
"code": "HTTP_EXCEPTION",
"timestamp": "2023-11-07T05:31:56Z",
"path": "<string>",
"method": "<string>"
}{
"success": false,
"statusCode": 123,
"message": "<string>",
"code": "HTTP_EXCEPTION",
"timestamp": "2023-11-07T05:31:56Z",
"path": "<string>",
"method": "<string>"
}Diferente das transações, esta rota retorna o objeto da empresa diretamente na raiz, sem envelope
success.Resposta
Dados da empresa
