Get inherited billing stub
curl --request GET \
--url https://api.interchange.io/api/v2/billing/account/inherited-stub \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/billing/account/inherited-stub"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/billing/account/inherited-stub', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"organization": {
"name": "<string>"
},
"scope": {
"boundary": "ORG"
},
"managedBy": {
"customerId": 4503599627370495
}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Buyer Billing
Get inherited billing stub
Returns only the parent organization display name, the ORG billing boundary, and the managing organization customer pointer for a direct human member of a CHILD account who has no applicable VIEW delegation. It never returns the organization billing document or any account, member, contract, rate, standing, payment, or advertiser data. Parent and standalone members, advertiser-scoped principals, API keys, Agents, workloads, service tokens, missing topology, and compatibility-tenancy principals are denied.
GET
/
billing
/
account
/
inherited-stub
Get inherited billing stub
curl --request GET \
--url https://api.interchange.io/api/v2/billing/account/inherited-stub \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/billing/account/inherited-stub"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/billing/account/inherited-stub', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"organization": {
"name": "<string>"
},
"scope": {
"boundary": "ORG"
},
"managedBy": {
"customerId": 4503599627370495
}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}