Skip to main content
GET
AhaSend Go SDK
The AhaSend API returns current billing-period usage and proportional allocated cost for the parent and active sub-accounts.
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.
allocated_cost is a proportional share of the parent account’s pooled invoice, not standalone pricing.

Authorizations

Authorization
string
header
required

API key for authentication. Non-empty Security Requirement values are AhaSend API-key roles. Roles listed within one requirement object are jointly required; separate requirement objects are alternatives.

Path Parameters

account_id
string<uuid>
required

Parent account ID

Response

Sub-account usage breakdown

billing_period
object
required
currency
string
required

Currency code used for cost allocation

allocation_method
enum<string>
required

Method used to allocate the pooled parent invoice cost

Available options:
proportional
allocation_note
string
required

Disclaimer explaining that allocated cost is not standalone sub-account pricing

parent
object
required
Example:
sub_accounts
object[]
required

Per-sub-account usage and allocated cost

removed_sub_accounts
object
required

Aggregated usage from sub accounts deleted during the period; still billed to the parent and not identified individually

Example:
total
object
required
Example: