Get organization billing configuration
curl --request GET \
--url https://dashboard.hologram.io/api/1/organizations/{orgId}/billing \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://dashboard.hologram.io/api/1/organizations/{orgId}/billing"
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://dashboard.hologram.io/api/1/organizations/{orgId}/billing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://dashboard.hologram.io/api/1/organizations/{orgId}/billing';
const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"data": {
"id": "<string>",
"billingmethod": 123,
"failed_billing_attempts": 123,
"cardset": true,
"card": {
"address1": "<string>",
"address2": "<string>",
"city": "<string>",
"country": "<string>",
"expirationmonth": 123,
"expirationyear": 123,
"issuer": "<string>",
"last4": "<string>",
"name": "<string>",
"state": "<string>",
"zip": "<string>"
},
"billing_address": {
"city": "<string>",
"country": "<string>",
"invoice_text": "<string>",
"line1": "<string>",
"line2": "<string>",
"name": "<string>",
"state": "<string>",
"zip": "<string>"
},
"billing_address_set": true,
"contract": {
"status": "found",
"is_contracted": true,
"agreement_effective_date": "2023-12-25",
"agreement_end_date": "2023-12-25",
"is_auto_renew": true,
"renewal_opt_out_date": "2023-12-25",
"service_level": "<string>",
"account_owner_name": "<string>",
"account_owner_email": "<string>",
"record_updated_at": "<string>"
}
}
}Billing
Get organization billing configuration
Get billing info for the organization
GET
/
organizations
/
{orgId}
/
billing
Get organization billing configuration
curl --request GET \
--url https://dashboard.hologram.io/api/1/organizations/{orgId}/billing \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://dashboard.hologram.io/api/1/organizations/{orgId}/billing"
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://dashboard.hologram.io/api/1/organizations/{orgId}/billing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://dashboard.hologram.io/api/1/organizations/{orgId}/billing';
const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"data": {
"id": "<string>",
"billingmethod": 123,
"failed_billing_attempts": 123,
"cardset": true,
"card": {
"address1": "<string>",
"address2": "<string>",
"city": "<string>",
"country": "<string>",
"expirationmonth": 123,
"expirationyear": 123,
"issuer": "<string>",
"last4": "<string>",
"name": "<string>",
"state": "<string>",
"zip": "<string>"
},
"billing_address": {
"city": "<string>",
"country": "<string>",
"invoice_text": "<string>",
"line1": "<string>",
"line2": "<string>",
"name": "<string>",
"state": "<string>",
"zip": "<string>"
},
"billing_address_set": true,
"contract": {
"status": "found",
"is_contracted": true,
"agreement_effective_date": "2023-12-25",
"agreement_end_date": "2023-12-25",
"is_auto_renew": true,
"renewal_opt_out_date": "2023-12-25",
"service_level": "<string>",
"account_owner_name": "<string>",
"account_owner_email": "<string>",
"record_updated_at": "<string>"
}
}
}Authorizations
Was this page helpful?