GET /api/v1/channel-accounts/invoices
    • 09 Sep 2024
    • 1 Minute to read
    • PDF

    GET /api/v1/channel-accounts/invoices

    • PDF

    Article summary

    Get Channel Account Invoices

    Returns a list of all channel account invoices.

    URL (GET)

    /api/v1/channel-accounts/invoices

    Query Parameters

    Key NameDescriptionRequired
    channelAccountIdFilter by controlAccountId

    Request Body

    None

    Response

    {
        "success": true,
        "message": "Successfully read!",
        "data": {
            "items": [
                {
                    "id": 1,
                    "subInvoiceId": 6405,
                    "subAccountId": 1,
                    "subAccountName": "Sub-Account Example",
                    "subAccountEmail": "example@wasabi.com",
                    "controlAccountId": 3732,
                    "controlAccountName": "Control Account Example",
                    "controlAccountEmail": "caexample@wasabi.com",
                    "governanceAccountId": 25843,
                    "governanceAccountName": "Governance Account Example",
                    "controlInvoiceId": 286946,
                    "periodStart": "2020-08-03",
                    "periodEnd": "2020-08-04",
                    "totalStorage": 0.2,
                    "activeStorage": 0,
                    "activeStorageUnitCost": 0.00019499,
                    "activeStorageTotalCost": 0,
                    "deletedStorage": 0,
                    "deletedStorageUnitCost": 0.00019499,
                    "deletedStorageTotalCost": 0,
                    "apiCalls": 0,
                    "apiCallsUnitCost": 0,
                    "apiCallsTotalCost": 0,
                    "ingress": 0,
                    "ingressUnitCost": 0,
                    "ingressTotalCost": 0,
                    "egress": 0,
                    "egressUnitCost": 0,
                    "egressTotalCost": 0,
                    "minimumActiveStorage": 0.0333333,
                    "minimumActiveStorageUnitCost": 5.99,
                    "minimumActiveStorageTotalCost": 0.2,
                    "wasabiAccountNumber": 182760
                },
                {
                    "id": 2,
                    "subInvoiceId": 7720,
                    "subAccountId": 1,
                    "subAccountName": "Sub-Account Example 2",
                    "subAccountEmail": "example2@wasabi.com",
                    "controlAccountId": 3732,
                    "controlAccountName": "Control Account Example",
                    "controlAccountEmail": "caexample@wasabi.com",
                    "governanceAccountId": 25843,
                    "governanceAccountName": "Account Governance Example",
                    "controlInvoiceId": 332439,
                    "periodStart": "2020-08-04",
                    "periodEnd": "2020-09-03",
                    "totalStorage": 5.99,
                    "activeStorage": 0,
                    "activeStorageUnitCost": 0,
                    "activeStorageTotalCost": 0,
                    "deletedStorage": 0,
                    "deletedStorageUnitCost": 0,
                    "deletedStorageTotalCost": 0,
                    "apiCalls": 0,
                    "apiCallsUnitCost": 0,
                    "apiCallsTotalCost": 0,
                    "ingress": 0,
                    "ingressUnitCost": 0,
                    "ingressTotalCost": 0,
                    "egress": 0,
                    "egressUnitCost": 0,
                    "egressTotalCost": 0,
                    "minimumActiveStorage": 0.999985,
                    "minimumActiveStorageUnitCost": 5.99,
                    "minimumActiveStorageTotalCost": 5.99,
                    "wasabiAccountNumber": 182760
                },