Skip to content

Commit

Permalink
feat: Add recurring_transaction_rules to WalletsController#index
Browse files Browse the repository at this point in the history
  • Loading branch information
rsempe committed Apr 17, 2024
1 parent d434da7 commit 2fd04dd
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tests/fixtures/wallet_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@
"ongoing_balance_cents": 800,
"ongoing_usage_balance_cents": 200,
"credits_ongoing_balance": "8.0",
"credits_ongoing_usage_balance": "2.0"
"credits_ongoing_usage_balance": "2.0",
"recurring_transaction_rules": [
{
"lago_id": "12345",
"rule_type": "interval",
"interval": "monthly",
"paid_credits": "105.0",
"granted_credits": "105.0"
}
]
},
{
"lago_id": "b7ab2926-1de8-4428-9bcd-779314ac1111",
Expand All @@ -40,7 +49,8 @@
"ongoing_balance_cents": 800,
"ongoing_usage_balance_cents": 200,
"credits_ongoing_balance": "8.0",
"credits_ongoing_usage_balance": "2.0"
"credits_ongoing_usage_balance": "2.0",
"recurring_transaction_rules": []
}
],
"meta": {
Expand Down

0 comments on commit 2fd04dd

Please sign in to comment.