Lending - Confirm Pending Send

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

Confirm transfer of a pending send, affecting the appropriate loan ledgers

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
incomeType string required
The account type of the individual loan income account.
Allowed values: BG_RECEIVABLE BG_LIABILITY
pendingDaxlId integer required
The DAXL Transaction Id of the pending send.
fromDaxlId integer required
The DAXL Transaction Id of the sending (holding/clearing) account transaction.
toDaxlId integer required
The DAXL Transaction Id of the receiving (loan) account transaction.
reservedQuantity string
String representation of the (bigint) quantity (base units) originally sent, if it differs
quantity string required
String representation of the (bigint) quantity (base units) confirmed as sent
address string required
Address or memo id of 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
marketValue string
String representation of the transaction market value in cents
booked string required
ISO String representation of date/time of actual confirmation
Example: 2011-10-05T14:48:00.000Z
notation string required
Required notation for the entries, should specify lender or borrower confirmed 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
balance string
String representation of the (bigint) account balance
booked string
ISO String representation of the recorded booked date/time.
Example: 2011-10-05T14:48:00.000Z
quantity string
String representation of the (bigint) quantity (base units) confirmed