Update a billing profile
Update a billing profile.
Path parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
Request body
Example request
{
"labels": {
"env": "test"
},
"supplier": {
"key": "019ae40f-4258-7f15-9491-842f42a7d6ac",
"addresses": {
"billing_address": {
"country": "US"
}
}
},
"workflow": {
"collection": {
"alignment": {
"recurring_period": {
"anchor": "2023-01-01T01:01:01.001Z",
"interval": "P1M"
}
},
"interval": "P1D"
},
"invoicing": {
"draft_period": "P1D"
},
"payment": {
"due_after": "P30D"
},
"tax": {
"default_tax_config": {
"stripe": {
"code": "txcd_10000000"
},
"tax_code_id": "01G65Z755AFWAKHE12NY0CQ9FH",
"tax_code": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH"
}
}
}
}
}Response
BillingProfile updated response.
Example response
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"labels": {
"env": "test"
},
"created_at": "2023-01-01T01:01:01.001Z",
"updated_at": "2023-01-01T01:01:01.001Z",
"deleted_at": "2023-01-01T01:01:01.001Z",
"supplier": {
"key": "019ae40f-4258-7f15-9491-842f42a7d6ac",
"addresses": {
"billing_address": {
"country": "US"
}
}
},
"workflow": {
"collection": {
"alignment": {
"recurring_period": {
"anchor": "2023-01-01T01:01:01.001Z",
"interval": "P1M"
}
},
"interval": "P1D"
},
"invoicing": {
"draft_period": "P1D"
},
"payment": {
"due_after": "P30D"
},
"tax": {
"default_tax_config": {
"stripe": {
"code": "txcd_10000000"
},
"tax_code_id": "01G65Z755AFWAKHE12NY0CQ9FH",
"tax_code": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH"
}
}
}
},
"apps": {
"tax": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH"
},
"invoicing": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH"
},
"payment": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH"
}
}
}Changes
Changed in 3 of the 75 revisions of this API.15
- ○
api tag
OpenMeter Billing Settingsaddedapi-tag-added
- ○
api tag
OpenMeter Billingremovedapi-tag-removed
- ○
added the new optional request property
workflow/invoicing/subscription_end_proration_modenew-optional-request-property
- ○
added the optional property
workflow/invoicing/subscription_end_proration_modeto the response with the200statusresponse-optional-property-added
This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional request property
workflow/tax/default_tax_config/tax_codenew-optional-request-property
- ○
added the new optional request property
workflow/tax/default_tax_config/tax_code_idnew-optional-request-property
- ○
request property
workflow/tax/default_tax_config/external_invoicingdeprecatedrequest-property-deprecated
- ○
request property
workflow/tax/default_tax_config/stripedeprecatedrequest-property-deprecated
- ○
added the optional property
workflow/tax/default_tax_config/tax_codeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
workflow/tax/default_tax_config/tax_code_idto the response with the200statusresponse-optional-property-added
- ○
the response property
created_atbecame required for the status200response-property-became-required
- ○
the response property
updated_atbecame required for the status200response-property-became-required
- ○
response property
workflow/tax/default_tax_config/external_invoicingdeprecatedresponse-property-deprecated
- ○
response property
workflow/tax/default_tax_config/stripedeprecatedresponse-property-deprecated
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○