Organização da chave
curl --request GET \
--url https://app.onixfy.com/api/v1/organization \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.onixfy.com/api/v1/organization"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.onixfy.com/api/v1/organization', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"timezone": "America/Sao_Paulo",
"currency": "BRL"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Organização
Organização da chave
A organização da chave, com o fuso e a moeda. Use também para testar a chave.
GET
/
organization
Organização da chave
curl --request GET \
--url https://app.onixfy.com/api/v1/organization \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.onixfy.com/api/v1/organization"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.onixfy.com/api/v1/organization', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"timezone": "America/Sao_Paulo",
"currency": "BRL"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}