Create a repayment
Repays part or all of a loan. Asynchronous. Circle builds, signs, and submits the UserOperation for you.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Universally unique identifier (UUID v4) of a resource.
"b3d9d2d5-4c12-4946-a09d-953e82fae2b0"
Body
Request to repay part or all of an outstanding borrow.
Idempotency key
(UUID v4) for this request. Reusing it with a different body returns
409 Conflict.
Repayment mode. FULL repays the entire outstanding debt (measured when
the UserOperation is built). PARTIAL repays exactly amount.
FULL, PARTIAL Amount to repay, in raw onchain uint256 base units (decimal-integer string).
Required when mode is PARTIAL. Ignored when mode is FULL. Must be positive.
Response
Repayment accepted. Poll the returned job to track its status.
An async onchain operation. Each job represents one of: borrow, repay,
add collateral, wallet setup, owner change, or residual withdraw. Poll
this resource until the job reaches a terminal status (completed,
failed, or approval_rejected). Fields that do not apply to the current
status or job type are omitted rather than returned as null.