OpenMeter Customers

Update customer billing app data

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

Request

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"
    }
  }
}

Changes

    • 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

    • warning

      added the new 400.00 enum value to the response property for the response status

    • warning

      added the new 403.00 enum value to the response property for the response status

    • warning

      added the new 404.00 enum value to the response property for the response status

    • warning

      added the new 410.00 enum value to the response property for the response status