Credit

Call data to repay credit debt

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

get/credit/accounts/{account}/repay

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

Changed in 3 of the 9 revisions of this API.61

    • the endpoint scheme security ApiKeyAuth was removed from the API

      api-security-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the calls/items/data response's property type/format changed from string/ to array/ for status 200

      response-property-type-changed

    • the calls/items/to response's property type/format changed from string/ to array/ for status 200

      response-property-type-changed

    • the calls/items/value response's property type/format changed from string/ to object/ for status 200

      response-property-type-changed

    • the calls/items/data response's property type/format changed from array/ to string/ for status 200

      response-property-type-changed

    • the calls/items/to response's property type/format changed from array/ to string/ for status 200

      response-property-type-changed

    • the calls/items/value response's property type/format changed from object/ to string/ for status 200

      response-property-type-changed