v61

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-018131,3812.6 MB
OpenMeter Customers

Update customer billing app data

put/v3/openmeter/customers/{customerId}/billing/app-data

Path parameters

customerIdstring required

ULID (Universally Unique Lexicographically Sortable Identifier).

Example:01G65Z755AFWAKHE12NY0CQ9FH

Request body

Example request

{
  "stripe": {
    "customer_id": "cus_1234567890",
    "default_payment_method_id": "pm_1234567890",
    "labels": {
      "env": "test"
    }
  },
  "external_invoicing": {
    "labels": {
      "env": "test"
    }
  }
}

Response

AppCustomerData upsert response.

Example response

{
  "stripe": {
    "customer_id": "cus_1234567890",
    "default_payment_method_id": "pm_1234567890",
    "labels": {
      "env": "test"
    }
  },
  "external_invoicing": {
    "labels": {
      "env": "test"
    }
  }
}