---
title: "Build transaction calls to enable auto top-up"
method: GET
path: "/credit/accounts/{account}/operator/auto-topup/enable"
tags: ["Credit"]
---

# Build transaction calls to enable auto top-up

`GET /credit/accounts/{account}/operator/auto-topup/enable`

## Request

- Base URL: `https://api.sprinter.tech`
- URL: `https://api.sprinter.tech/credit/accounts/{account}/operator/auto-topup/enable`
- Auth: none declared

Returns the calls needed to enable auto top-up. Checks on-chain state
and only includes setOperator (if not already set) and addCreditReceiver
(if not already whitelisted).

## Path parameters

- `account` string, required

## Query parameters

- `receiver` string, required

## Response `200`

List of contract calls

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

## Other responses

- `400`: Bad request
- `409`: Account has a different operator
- `500`: Internal server error

## Changes

- **2026-03-30** `30b6ea563119`: 3 breaking
  - the `calls/items/data` response's property type changed from `string` to `array` for status `200`
  - the `calls/items/to` response's property type changed from `string` to `array` for status `200`
  - the `calls/items/value` response's property type changed from `string` to `object` for status `200`
- **2026-03-30** `2a8a11e2dda0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sprintertech/apis/sprinter-api/changes/credit/accounts/:account/operator/auto-topup/enable/get.md)

---

[API](https://skmtc.dev/sprintertech/apis/sprinter-api.md) - [All operations](https://skmtc.dev/sprintertech/apis/sprinter-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sprintertech/apis/sprinter-api/revisions/1713381f8993?raw)
