You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/services/wallet.md
+3-103Lines changed: 3 additions & 103 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,7 @@
1
1
# Wallet Service
2
2
3
-
Manage user balances, expenses, and refunds with the Wallet Service. This service provides comprehensive functionality
4
-
for handling user financial operations: get user balance and transaction history, create and manage expenses, process
5
-
refunds, and handle credit-specific operations.
3
+
Manage user balances and expenses with the Wallet Service. This service provides comprehensive functionality
4
+
for handling user financial operations: get user balance and transaction history, and create and manage expenses.
6
5
7
6
## Table of Contents
8
7
@@ -18,14 +17,10 @@ refunds, and handle credit-specific operations.
18
17
|[`get_balance()`](#get-balance-example)| Get user's balance |`user_id`, `filters`, `x_operator_id`|
19
18
|[`get_transactions()`](#get-transactions-example)| Get transaction history |`user_id`, `page`, `per_page`, `x_operator_id`|
20
19
|[`create_expense()`](#create-expense-example)| Create an expense |`user_id`, `request`, `x_operator_id`|
21
-
|[`create_expense_from_credit()`](#create-expense-from-credit-example)| Create expense from specific credit |`user_id`, `credit_id`, `request`, `x_operator_id`|
22
20
|[`get_expense()`](#get-expense-example)| Get expense details |`user_id`, `expense_id`, `x_operator_id`|
|[`get_expense_by_ref()`](#get-expense-by-ref-example)| Get expense by reference |`user_id`, `reason_id`, `reference_id`, `x_operator_id`|
25
23
|[`delete_expense_by_ref()`](#delete-expense-by-ref-example)| Delete expense by reference |`user_id`, `reason_id`, `reference_id`, `rollback_reason_id`, `x_operator_id`|
26
-
|[`create_refund()`](#create-refund-example)| Process a refund |`request`, `x_operator_id`|
27
-
|[`can_rollback_refund()`](#can-rollback-refund-example)| Check if refund can be rolled back |`refund_id`, `refund_reason`, `refund_reference_id`, `x_operator_id`||
28
-
|[`rollback_refund()`](#rollback-refund-example)| Rollback a refund |`refund_id`, `request`, `x_operator_id`|
29
24
30
25
## Examples
31
26
@@ -34,8 +29,7 @@ refunds, and handle credit-specific operations.
34
29
```python
35
30
from basalam_sdk import BasalamClient, PersonalToken
0 commit comments