Skip to content

Commit

Permalink
feat(wallet): Add transaction_status to wallet object
Browse files Browse the repository at this point in the history
  • Loading branch information
rsempe committed Apr 22, 2024
1 parent c8a30a6 commit 624c0dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lago_python_client/models/wallet_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class WalletTransactionResponse(BaseResponseModel):
lago_id: str
lago_wallet_id: str
status: str
transaction_status: str
transaction_type: str
amount: str
credit_amount: str
Expand Down
2 changes: 2 additions & 0 deletions tests/fixtures/wallet_transaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"lago_id": "b7ab2926-1de8-4428-9bcd-779314ac1111",
"lago_wallet_id": "12345",
"status": "settled",
"transaction_status": "paid",
"transaction_type": "inbound",
"amount": "10",
"credit_amount": "10",
Expand All @@ -14,6 +15,7 @@
"lago_id": "b7ab2926-1de8-4428-9bcd-779314ac1222",
"lago_wallet_id": "12345",
"status": "settled",
"transaction_status": "paid",
"transaction_type": "inbound",
"amount": "10",
"credit_amount": "10",
Expand Down
2 changes: 2 additions & 0 deletions tests/fixtures/wallet_transaction_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"lago_id": "b7ab2926-1de8-4428-9bcd-779314ac1111",
"lago_wallet_id": "12345",
"status": "settled",
"transaction_status": "paid",
"transaction_type": "inbound",
"amount": "10",
"credit_amount": "10",
Expand All @@ -14,6 +15,7 @@
"lago_id": "b7ab2926-1de8-4428-9bcd-779314ac1222",
"lago_wallet_id": "12345",
"status": "settled",
"transaction_status": "paid",
"transaction_type": "inbound",
"amount": "10",
"credit_amount": "10",
Expand Down

0 comments on commit 624c0dc

Please sign in to comment.