Credit

Call data to repay credit debt

Changed on

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

get/credit/accounts/{account}/repay

Request

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

Path parameters

accountstring required

Account (borrower) that will repay the debt

Query parameters

amountstring required

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

Response

List of contract calls to execute repayment

Changes

    • info

      the endpoint scheme security ApiKeyAuth was removed from the API

    • breaking

      the // response's property type changed from string to array for status

    • breaking

      the // response's property type changed from string to array for status

    • breaking

      the // response's property type changed from string to object for status