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. Repay operation only. If the value is `true`, the amount will be ignored and the loan will be repaid in full. | [optional] |
| currency_pair | str | Currency pair |