Skip to main content
GET
/
lines
/
{lineId}
/
balances
cURL
curl --request GET \
  --url http://sandbox.mintlify.com/lines/{lineId}/balances \
  --header 'Authorization: Bearer <token>'
[
  {
    "lineId": "872981cb-d498-44de-967e-e7a170e0b416",
    "totalAmount": {
      "MB": 6144
    },
    "usedAmount": {
      "MB": 1757.826171875
    },
    "createdAt": "2024-05-19T13:58:03.418Z",
    "updatedAt": "2024-05-20T10:12:45.123Z",
    "products": [
      {
        "catalogProductId": "62607833-03a5-46e8-be0b-a7a6f7fd1582",
        "name": "PLUS 3",
        "billingType": "POSTPAID",
        "features": [
          {
            "icon": "https://foo.bar.com/icon.svg",
            "name": "Icon"
          }
        ],
        "externalCode": "700031450",
        "networkComponents": [
          {
            "id": "144399e9-6c2a-4f6f-ae7d-2bed451d8eaf",
            "externalCode": "National_Data_MB",
            "unlimited": false,
            "startDate": "2024-11-24T03:00:00.000Z",
            "endDate": "2024-12-24T03:00:00.000Z",
            "totalAmount": 6144,
            "usedAmount": 1757.826171875,
            "unit": "MB"
          }
        ]
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

lineId
string<uuid>
required

Id of line - Unique identifier for the object

Response

Line balance response

lineId
string<uuid>
Example:

"872981cb-d498-44de-967e-e7a170e0b416"

totalAmount
object
Example:
{ "MB": 6144 }
usedAmount
object
Example:
{ "MB": 1757.826171875 }
createdAt
string<date-time>
Example:

"2024-05-19T13:58:03.418Z"

updatedAt
string<date-time>
Example:

"2024-05-20T10:12:45.123Z"

products
object[]