2
0

🐛 (billing) Set invoicing behavior to "always invoice" to fix double payment issue

This commit is contained in:
Baptiste Arnaud
2023-11-14 16:00:10 +01:00
parent 6c0f28b3e4
commit a1d7415227
4 changed files with 73 additions and 2 deletions

View File

@ -370,6 +370,51 @@
"data"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"userId": {
"type": "string"
},
"workspaceId": {
"type": "string"
},
"name": {
"type": "string",
"enum": [
"Subscription automatically updated"
]
},
"data": {
"type": "object",
"properties": {
"plan": {
"type": "string",
"enum": [
"FREE",
"STARTER",
"PRO",
"LIFETIME",
"OFFERED",
"CUSTOM",
"UNLIMITED"
]
}
},
"required": [
"plan"
],
"additionalProperties": false
}
},
"required": [
"userId",
"workspaceId",
"name",
"data"
],
"additionalProperties": false
}
]
}