Lending - Reserve for Pending Send

post/das-rest/api/v1/lending/send

Request reservation of assets for a pending send

Request Body

from object required
The DAS account descriptor for the holding or clearing account sending the assets
acctId string required
Account id for related ledger accounts
currency string required
A cryptocurrency or token ticker symbol.
Example: btc
type string required
The account types related to Lending
Allowed values: BG_CASHBOOK BG_HOLDING BG_CLEARING BG_RESERVED BG_RECEIVABLE BG_LIABILITY BG_LOAN BG_ACCRUAL
to object required
The DAS account descriptor for the target loan account of the send
acctId string required
Account id for related ledger accounts
currency string required
A cryptocurrency or token ticker symbol.
Example: btc
type string required
The account types related to Lending
Allowed values: BG_CASHBOOK BG_HOLDING BG_CLEARING BG_RESERVED BG_RECEIVABLE BG_LIABILITY BG_LOAN BG_ACCRUAL
quantity string required
String representation of the (bigint) quantity (base units) to reserve
address string required
Address or memo id for identifying the confirmed send
txId string
The transaction id of the send (if available)
loanId integer required
daxlHeaderId integer
The transaction header id in DAXL, required if txId is omitted
daxlId integer required
The DAXL Transaction Id, used as an external reference by DAS
marketValue string
String representation of the transaction market value in cents
notation string required
Required notation for the entries, should specify lender or borrower send
origin string required
origin of action as seen by requester, suitable for auditing the data flow and request chain; typically a JSON stringified set of request headers

200 Response

from object
Account descriptor for DAS
acctId string required
Account id for related ledger accounts
currency string required
A cryptocurrency or token ticker symbol.
Example: btc
type string required
The account types related to Lending
Allowed values: BG_CASHBOOK BG_HOLDING BG_CLEARING BG_RESERVED BG_RECEIVABLE BG_LIABILITY BG_LOAN BG_ACCRUAL
balance string
String representation of the (bigint) account balance
to object
Account descriptor for DAS
acctId string required
Account id for related ledger accounts
currency string required
A cryptocurrency or token ticker symbol.
Example: btc
type string required
The account types related to Lending
Allowed values: BG_CASHBOOK BG_HOLDING BG_CLEARING BG_RESERVED BG_RECEIVABLE BG_LIABILITY BG_LOAN BG_ACCRUAL
quantity string
String representation of the (bigint) quantity (base units) reserved