OpenMeter Customers
Update customer billing app data
Changed onput/v3/openmeter/customers/{customerId}/billing/app-data
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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 propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status - warning
added the new
410.00enum value to theresponse property for the response status
- warning