Skip to content

[Feature New API] Agency and Sub-Account Wallet Transaction and Billing APIs #275

@i-am-rad

Description

@i-am-rad

🌟 Describe the Feature

We need access to the agency and sub-account level charges that displays all the metered charges:

Agency Summary by Sub-Account
https://backend.leadconnectorhq.com/blade-platform/warehouse/v2/usage-records/LocationChargesInCompanyWallet/{locationId}?companyId={companyId}

Agency Detailed Transactions by Sub-Account:
https://backend.leadconnectorhq.com/blade-platform/transactions/COMPANY/{companyId}

Sub-Account Wallet Transactions Summary:
https://services.leadconnectorhq.com/saas_wallet_service/location-wallet/{locationId}

Sub-Account Wallet Detailed Transactions:
https://services.leadconnectorhq.com/blade-platform/transactions/LOCATION/{locationId}

🚀 Justification

This is important for 3rd party billing of voice ai to see the detailed breakdown of charges for external systems. This also does a great deal to help all agencies pull these reports into their billing systems to understand their profits broken down by the meter.

📝 Suggestions

Make those 4 apis publicly available to agencies and sub-accounts.

Product Area

marketplace

📋 Use Case

Audit the charges / billing systems of all accounts or individual accounts from different contexts.

🚨 Why Should This Be Prioritized?

Very important for accounting and keeping track of charges. For AI products these expenses can run-away really fast especially with the new agent studio products. Being able to query these apis on a daily basis may catch anomolies before they become a bigger issue.

🧠 Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions