OpenMeter Customers

Get customer billing data

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

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

customerIdstring required

ULID (Universally Unique Lexicographically Sortable Identifier).

Example:01G65Z755AFWAKHE12NY0CQ9FH

Response

CustomerBillingData response.

Example response

{
  "billing_profile": {
    "id": "01G65Z755AFWAKHE12NY0CQ9FH"
  },
  "effective_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

    • info

      added the required property to the response with the status

    • breaking

      added to the / response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the ////// response property for the response status

    • warning

      added the new unique enum value to the ////// response property for the response status