Credit

Call data to repay credit debt

Changed on

Creates list of contract calls to approve USDC and repay debt to CreditHub

get/credit/v2/accounts/{account}/assets/{asset}/repay

Request

  • Base URL
    https://api.sprinter.tech
  • URL
    https://api.sprinter.tech/credit/v2/accounts/{account}/assets/{asset}/repay
  • Auth
    none declared

Path parameters

accountstring required

Account (borrower) that will repay the debt

assetstring required

Credit asset symbol (e.g. usdc, eure)

Query parameters

amountstring required

Amount in lowest denomination (e.g., wei for ETH)

Response

List of contract calls to execute repayment

Changes