Lending - Cancel Pending Send

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

Request cancelation of a pending send, reversing the reserved assets.

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) previously reserved
daxlId integer required
The DAXL Transaction Id of the pending send, used as an external reference by DAS
booked string required
ISO String representation of the recorded booked date/time.
Example: 2011-10-05T14:48:00.000Z
notation string
Optional notation for the reversal entries
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