Skip to main content
POST
Issue Loan Agreement
Issues a REQUESTED agreement. The schedule is read again from the market and frozen, and a fresh 32-byte salt is created. You may lower the requested collateral or principal and shorten the offer, never raise them. The figures must be inside the market rules. An earlier open agreement of the same kind for the same wallet becomes SUPERSEDED. Then download the schedule with Get Loan Schedule, attach it to your contract and sign it in your own tool.

Who can call

The bank. Needs the Scale plan.

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
A lower collateral amount than requested.
string
A lower principal than requested.
number
A shorter offer than the policy’s.
string
The admin wallet named as lender in the schedule.

Response Fields

object

Error Codes