Skip to main content
POST
Accept Loan Agreement
Accepts a SIGNED agreement. Read Get Loan Agreement with the copyVerified you state, have the borrower wallet sign its acceptTypedData (EIP-712, for example eth_signTypedData_v4), and send the signature here with the same copyVerified. The signature must recover the borrower wallet in canonical low-s form; a contract wallet is checked with EIP-1271 over the typed-data hash. The acceptance covers the commitments as they stand: if the bank reported again after you read the typed data, the signature no longer matches and you sign the new one. An acceptance sent twice returns the agreement unchanged (changed: false). A LOAN agreement must be used before expiresAt; a FRAMEWORK agreement stays ACCEPTED until its end date.

Who can call

The borrower side, with a signature from the borrower wallet.

Path Parameters

string
required
The market’s record ID on your instance.
string
required
The agreement reference: agr_ followed by 20 characters.

Body Parameters

string
required
The borrower wallet’s signature over acceptTypedData.
boolean
required
Whether the borrower’s copy matched the reported commitment. It is part of the signed data and the bank sees it.

Response Fields

object

Error Codes