AhaSend Go SDK
Sub Accounts
Get Sub-Account Usage
Returns current billing-period usage and proportional allocated cost for the parent and active sub accounts
GET
AhaSend Go SDK
Platform Partner feature: Sub Accounts is part of our Platform Partner capabilities and is currently in early access. Contact us to enable it on your account.
Authorizations
API key for authentication
Path Parameters
Parent account ID
Response
Sub-account usage breakdown
Currency code used for cost allocation
Method used to allocate the pooled parent invoice cost
Available options:
proportional Disclaimer explaining that allocated cost is not standalone sub-account pricing
Example:
{
"account_id": "2f3c5d2a-9ef8-4c91-a5f4-79990c8c1d3a",
"name": "Acme Subsidiary",
"reception_count": 3000000,
"allocated_cost": 60
}Per-sub-account usage and allocated cost
Aggregated usage from sub accounts deleted during the period; still billed to the parent and not identified individually
Example:
{
"account_id": "2f3c5d2a-9ef8-4c91-a5f4-79990c8c1d3a",
"name": "Acme Subsidiary",
"reception_count": 3000000,
"allocated_cost": 60
}Example:
{
"account_id": "2f3c5d2a-9ef8-4c91-a5f4-79990c8c1d3a",
"name": "Acme Subsidiary",
"reception_count": 3000000,
"allocated_cost": 60
}
