Skip to content

Commit 10709f4

Browse files
feat: add status to rules (#350)
1 parent 57e9b31 commit 10709f4

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

openapi.yaml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/schemas/WalletRecurringTransactionRule.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ properties:
3939
- yearly
4040
description: "The interval used for recurring top-up. It represents the frequency at which automatic top-up occurs. The interval can be one of the following values: `weekly`, `monthly`, `quarterly` or `yearly`. Required only if trigger is set to `interval`."
4141
example: 'monthly'
42+
status:
43+
type: string
44+
enum:
45+
- active
46+
- terminated
47+
description: The status of the recurring transaction rule. Possible values are `active` or `terminated`.
48+
example: 'active'
4249
threshold_credits:
4350
type: string
4451
pattern: '^[0-9]+.?[0-9]*$'

0 commit comments

Comments
 (0)