Skip to main content
GET
/
credit
/
v2
/
accounts
/
{account}
/
assets
/
{asset}
/
operator
/
auto-topup
/
config
curl --request GET \
  --url 'https://api.sprinter.tech/credit/v2/accounts/0xUSER/assets/usdc/operator/auto-topup/config?receiver=0xRECEIVER'
{
  "config": {
    "threshold": "500000000",
    "targetBalance": "1000000000",
    "healthFactor": "10000"
  }
}
The asset parameter is the credit asset symbol — currently supported values are usdc and eure.
curl --request GET \
  --url 'https://api.sprinter.tech/credit/v2/accounts/0xUSER/assets/usdc/operator/auto-topup/config?receiver=0xRECEIVER'
{
  "config": {
    "threshold": "500000000",
    "targetBalance": "1000000000",
    "healthFactor": "10000"
  }
}
Machine-readable API spec: OpenAPI JSON | Swagger UI

Path Parameters

account
string
required

User account address

asset
string
required

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

Query Parameters

receiver
string
required

Receiver address to get config for

Response

200 - application/json

Auto top-up configuration

config
object
required