{
  "info": {
    "_postman_id": "9bd32e04-7ddf-47e0-a611-b07fb21b32a9",
    "name": "Lev Account & Team Billing API",
    "description": "Build on Lev with AI-friendly API docs, agent guides, and production integration recipes.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:05:19.000Z",
    "updatedAt": "2026-07-28T02:05:19.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-9bd32e04-7ddf-47e0-a611-b07fb21b32a9"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "external",
          "item": [
            {
              "name": "v2",
              "item": [
                {
                  "name": "billing",
                  "item": [
                    {
                      "name": "summary",
                      "item": [
                        {
                          "name": "Get subscription metadata and credit balance for the active account",
                          "id": "ea65e65e-afb8-4dba-88df-f13c82d15ee5",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "bearer",
                              "bearer": [
                                {
                                  "key": "token",
                                  "value": "{{bearerToken}}",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/external/v2/billing/summary",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "external",
                                "v2",
                                "billing",
                                "summary"
                              ]
                            },
                            "description": "Get subscription metadata and credit balance for the active account\n\nDocs page: https://www.lev.com/docs/build/billing"
                          },
                          "response": [
                            {
                              "id": "be7c1f6b-14f1-44ab-b271-b6afa2422b00",
                              "name": "Success",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/external/v2/billing/summary",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "external",
                                    "v2",
                                    "billing",
                                    "summary"
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"request_id\": \"<string>\",\n  \"timestamp\": \"<dateTime>\",\n  \"data\": {\n    \"subscription\": {\n      \"type\": \"<string>\",\n      \"status\": \"<string>\",\n      \"billing_cycle\": \"<string>\",\n      \"end_date\": \"<string>\"\n    },\n    \"credits\": {\n      \"enabled\": \"<boolean>\",\n      \"balance\": \"<integer>\",\n      \"unit\": \"<string>\"\n    }\n  }\n}",
                              "createdAt": "2026-07-28T02:05:20.000Z",
                              "updatedAt": "2026-07-28T02:05:20.000Z",
                              "uid": "35240-be7c1f6b-14f1-44ab-b271-b6afa2422b00"
                            },
                            {
                              "id": "7c73eda4-ff12-4d8d-9d9f-cb977598558c",
                              "name": "Authentication required",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/external/v2/billing/summary",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "external",
                                    "v2",
                                    "billing",
                                    "summary"
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"request_id\": \"<string>\",\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\"\n  }\n}",
                              "createdAt": "2026-07-28T02:05:20.000Z",
                              "updatedAt": "2026-07-28T02:05:20.000Z",
                              "uid": "35240-7c73eda4-ff12-4d8d-9d9f-cb977598558c"
                            },
                            {
                              "id": "6417ecb0-c11d-498e-a6d2-639a7ceac76a",
                              "name": "Missing required scope: billing:read",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/external/v2/billing/summary",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "external",
                                    "v2",
                                    "billing",
                                    "summary"
                                  ]
                                }
                              },
                              "status": "Forbidden",
                              "code": 403,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"request_id\": \"<string>\",\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\"\n  }\n}",
                              "createdAt": "2026-07-28T02:05:20.000Z",
                              "updatedAt": "2026-07-28T02:05:20.000Z",
                              "uid": "35240-6417ecb0-c11d-498e-a6d2-639a7ceac76a"
                            }
                          ],
                          "createdAt": "2026-07-28T02:05:20.000Z",
                          "updatedAt": "2026-07-28T02:05:20.000Z",
                          "uid": "35240-ea65e65e-afb8-4dba-88df-f13c82d15ee5"
                        }
                      ],
                      "id": "9922cdeb-486b-4ab9-981b-612e7cee8763",
                      "createdAt": "2026-07-28T02:05:20.000Z",
                      "updatedAt": "2026-07-28T02:05:20.000Z",
                      "uid": "35240-9922cdeb-486b-4ab9-981b-612e7cee8763"
                    },
                    {
                      "name": "credits",
                      "item": [
                        {
                          "name": "balance",
                          "item": [
                            {
                              "name": "Get the credit balance for the active account",
                              "id": "2f3dba71-b728-4c82-84b1-bb83ea478392",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "auth": {
                                  "type": "bearer",
                                  "bearer": [
                                    {
                                      "key": "token",
                                      "value": "{{bearerToken}}",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/external/v2/billing/credits/balance",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "external",
                                    "v2",
                                    "billing",
                                    "credits",
                                    "balance"
                                  ]
                                },
                                "description": "Get the credit balance for the active account\n\nDocs page: https://www.lev.com/docs/build/billing"
                              },
                              "response": [
                                {
                                  "id": "c42b4346-4441-4526-abc4-85e06adfbd2e",
                                  "name": "Success",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: bearer",
                                        "key": "Authorization",
                                        "value": "Bearer <token>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/api/external/v2/billing/credits/balance",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "api",
                                        "external",
                                        "v2",
                                        "billing",
                                        "credits",
                                        "balance"
                                      ]
                                    }
                                  },
                                  "status": "OK",
                                  "code": 200,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"request_id\": \"<string>\",\n  \"timestamp\": \"<dateTime>\",\n  \"data\": {\n    \"enabled\": \"<boolean>\",\n    \"balance\": \"<integer>\",\n    \"unit\": \"<string>\"\n  }\n}",
                                  "createdAt": "2026-07-28T02:05:20.000Z",
                                  "updatedAt": "2026-07-28T02:05:20.000Z",
                                  "uid": "35240-c42b4346-4441-4526-abc4-85e06adfbd2e"
                                },
                                {
                                  "id": "fd1e8071-eb03-4fa3-aadb-b8cfe982760f",
                                  "name": "Authentication required",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: bearer",
                                        "key": "Authorization",
                                        "value": "Bearer <token>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/api/external/v2/billing/credits/balance",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "api",
                                        "external",
                                        "v2",
                                        "billing",
                                        "credits",
                                        "balance"
                                      ]
                                    }
                                  },
                                  "status": "Unauthorized",
                                  "code": 401,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"request_id\": \"<string>\",\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\"\n  }\n}",
                                  "createdAt": "2026-07-28T02:05:20.000Z",
                                  "updatedAt": "2026-07-28T02:05:20.000Z",
                                  "uid": "35240-fd1e8071-eb03-4fa3-aadb-b8cfe982760f"
                                },
                                {
                                  "id": "f48e9a1b-8d3c-43b7-aed0-e51bb8d00c61",
                                  "name": "Missing required scope: billing:read",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: bearer",
                                        "key": "Authorization",
                                        "value": "Bearer <token>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/api/external/v2/billing/credits/balance",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "api",
                                        "external",
                                        "v2",
                                        "billing",
                                        "credits",
                                        "balance"
                                      ]
                                    }
                                  },
                                  "status": "Forbidden",
                                  "code": 403,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"request_id\": \"<string>\",\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\"\n  }\n}",
                                  "createdAt": "2026-07-28T02:05:20.000Z",
                                  "updatedAt": "2026-07-28T02:05:20.000Z",
                                  "uid": "35240-f48e9a1b-8d3c-43b7-aed0-e51bb8d00c61"
                                }
                              ],
                              "createdAt": "2026-07-28T02:05:20.000Z",
                              "updatedAt": "2026-07-28T02:05:20.000Z",
                              "uid": "35240-2f3dba71-b728-4c82-84b1-bb83ea478392"
                            }
                          ],
                          "id": "a697db2a-7d83-4dc6-8d8d-20c1ba4b9827",
                          "createdAt": "2026-07-28T02:05:20.000Z",
                          "updatedAt": "2026-07-28T02:05:20.000Z",
                          "uid": "35240-a697db2a-7d83-4dc6-8d8d-20c1ba4b9827"
                        }
                      ],
                      "id": "90392c31-f89a-4d76-9e99-38fdab3a7b6b",
                      "createdAt": "2026-07-28T02:05:20.000Z",
                      "updatedAt": "2026-07-28T02:05:20.000Z",
                      "uid": "35240-90392c31-f89a-4d76-9e99-38fdab3a7b6b"
                    }
                  ],
                  "id": "1ad225a8-1c2b-484d-8113-09c8a407cca6",
                  "createdAt": "2026-07-28T02:05:20.000Z",
                  "updatedAt": "2026-07-28T02:05:20.000Z",
                  "uid": "35240-1ad225a8-1c2b-484d-8113-09c8a407cca6"
                }
              ],
              "id": "ea80e082-4715-4908-b2e6-68aa60ad3e80",
              "createdAt": "2026-07-28T02:05:20.000Z",
              "updatedAt": "2026-07-28T02:05:20.000Z",
              "uid": "35240-ea80e082-4715-4908-b2e6-68aa60ad3e80"
            }
          ],
          "id": "fec56bc9-0eb1-4e37-88ab-7cc4b993ed34",
          "createdAt": "2026-07-28T02:05:20.000Z",
          "updatedAt": "2026-07-28T02:05:20.000Z",
          "uid": "35240-fec56bc9-0eb1-4e37-88ab-7cc4b993ed34"
        }
      ],
      "id": "57346875-cb94-4432-ab1d-91d1cfa3c489",
      "createdAt": "2026-07-28T02:05:20.000Z",
      "updatedAt": "2026-07-28T02:05:20.000Z",
      "uid": "35240-57346875-cb94-4432-ab1d-91d1cfa3c489"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.lev.com"
    }
  ]
}