Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/schemas/WalletCreateInput.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ properties:
pattern: "^[0-9]+.?[0-9]*$"
description: The number of free granted credits used for recurring top-up.
example: "10.0"
grants_target_top_up:
type:
- boolean
- "null"
description: "Applies only to `target` rules. When `true`, the recurring top-up grants free credits to reach the target ongoing balance instead of creating a paid top-up (and bypasses the paid top-up minimum). When `false`, the gap is filled with a paid top-up. `null` for `fixed` rules. Defaults to `false` for target rules when omitted."
example: false
method:
type: string
enum:
Expand Down
7 changes: 7 additions & 0 deletions src/schemas/WalletRecurringTransactionRule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ required:
- created_at
- expiration_at
- granted_credits
- grants_target_top_up
- ignore_paid_top_up_limits
- interval
- invoice_requires_successful_payment
Expand Down Expand Up @@ -69,6 +70,12 @@ properties:
pattern: "^[0-9]+.?[0-9]*$"
description: The number of free granted credits. Required only if there is no paid credits.
example: "10.0"
grants_target_top_up:
type:
- boolean
- "null"
description: "Applies only to `target` rules. When `true`, the recurring top-up grants free credits to reach the target ongoing balance instead of creating a paid top-up (and bypasses the paid top-up minimum). When `false`, the gap is filled with a paid top-up. `null` for `fixed` rules. Defaults to `false` for target rules when omitted."
example: false
started_at:
type:
- string
Expand Down
6 changes: 6 additions & 0 deletions src/schemas/WalletUpdateInput.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ properties:
pattern: "^[0-9]+.?[0-9]*$"
description: The number of free granted credits. Required only if there is no paid credits.
example: "10.0"
grants_target_top_up:
type:
- boolean
- "null"
description: "Applies only to `target` rules. When `true`, the recurring top-up grants free credits to reach the target ongoing balance instead of creating a paid top-up (and bypasses the paid top-up minimum). When `false`, the gap is filled with a paid top-up. `null` for `fixed` rules. Defaults to `false` for target rules when omitted."
example: false
started_at:
type:
- string
Expand Down
Loading