loan_payment
Fixed periodic payment, total interest and an amortization summary for a loan. 0.001 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Term in years | |
| ratePct | Yes | Annual interest percent | |
| principal | Yes | Loan amount | |
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. | |
| periodsPerYear | No |