---
title: "Call data to repay credit debt"
method: GET
path: "/credit/accounts/{account}/repay"
tags: ["Credit"]
---

# Call data to repay credit debt

`GET /credit/accounts/{account}/repay`

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

## Path parameters

- `account` string, required

## Query parameters

- `amount` string, required

## Response `200`

List of contract calls to execute repayment

- CreditRepayResponse
  - `calls` EvmContractCall[], required
    - `chain` string, required
    - `data` integer[], required
    - `to` integer[], required
    - `value` TypesBigInt, required

## Other responses

- `400` — Bad request due to invalid input or missing parameters
- `500` — Internal server error

---

[API](https://skmtc.net/sprintertech/apis/untitled-api.md) · [All operations](https://skmtc.net/sprintertech/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sprintertech/untitled-api/revisions/a1172848364e/schema)
