OpenMeter Customers

Get customer billing data

Changed on
get/openmeter/customers/{customerId}/billing

Request

  • Base URL: http://localhost:8888/api/v3
  • URL: http://localhost:8888/api/v3/openmeter/customers/{customerId}/billing
  • Auth: none declared

Path parameters

customerIdstring required

ULID (Universally Unique Lexicographically Sortable Identifier).

Example:01G65Z755AFWAKHE12NY0CQ9FH

Response

CustomerBillingData response.

Example response

{
  "billing_profile": {
    "id": "01G65Z755AFWAKHE12NY0CQ9FH"
  },
  "app_data": {
    "stripe": {
      "customer_id": "cus_1234567890",
      "default_payment_method_id": "pm_1234567890",
      "labels": {
        "env": "test"
      }
    },
    "external_invoicing": {
      "labels": {
        "env": "test"
      }
    }
  }
}

Changes

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the ///// response's property type changed from no type to object for status

    • breaking

      the ///// response's property type changed from no type to object for status