Borrow or repay.
| Name | Type | Description | Notes |
|---|---|---|---|
| currency | str | Currency. | |
| type | str | type: borrow - borrow, repay - repay. | |
| amount | str | The amount of lending or repaying. | |
| repaid_all | bool | Full repayment is solely for repayment operations. When set to 'true,' it overrides the 'amount,' allowing for direct full repayment. | [optional] |
| text | str | User defined custom ID. | [optional] |