Return only unallocated loan-forwarding funds to the actual original borrower debit DDA
/ledger/payable-obligations/{id}/refundsOnly verified svc_lending with existing ledger:post may refund an exact loan_forwarding obligation. The caller supplies retained lender request/notice evidence and actual requesting identity. Native accounting resolves only the original two-entry loan receipt's borrower-owned open USD DDA, bounds the amount by still-held unallocated funds, atomically debits2365 and credits that original DDA, and pins the refund against generic reversal. Exact key and source identity replay returns the original journal; no caller-selected destination exists.
Path parameters
idstringRequiredHeaders
Idempotency-KeystringRequiredSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
amount_minorintegerRequiredevidence_referencestringRequiredobligation_idstringRequiredobligation_sha256stringRequiredreasonstringRequiredrequested_bystringRequiredsource_idstringRequiredsource_sha256stringRequiredReturns
200 OK
actorstringRequiredamount_minorintegerRequiredcontent_sha256stringRequiredcreated_atstring · date-timeRequireddestination_ledger_account_idstringRequiredExample lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm
evidence_referencestringRequiredidstringRequiredjournal_idstringRequiredExample jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm
journal_keystringRequiredobligation_idstringRequiredobligation_sha256stringRequiredreasonstringRequiredrequested_bystringRequiredsource_idstringRequiredsource_sha256stringRequiredErrors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503