Credit
Call data to repay credit debt
Changed onCreates list of contract calls to approve USDC and repay debt to CreditHub
get/credit/accounts/{account}/repay
Request
- Base URLhttps://api.sprinter.tech
- URLhttps://api.sprinter.tech/credit/accounts/{account}/repay
- Authnone 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
ApiKeyAuthwas removed from the API
- info
- breaking
the
//response's property type changed fromstringtoarrayfor status - breaking
the
//response's property type changed fromstringtoarrayfor status - breaking
the
//response's property type changed fromstringtoobjectfor status
- breaking