---
title: "Configure auto-payout for a currency"
method: PUT
path: "/api/auto-payout"
tags: ["Auto Payouts"]
---

# Configure auto-payout for a currency

`PUT /api/auto-payout`

Creates or updates a daily auto-payout rule for the given currency. Each day at the configured global hour, the merchant's full withdrawable balance (net of obligations) for that currency is swept to the destination account.

## Request body

- UpsertAutoPayoutDto
  - `currency` 'USDC' | 'EURC', required — Withdrawal currency for this auto-payout rule
  - `accountId` string, required — Identifier of the payout destination (bank or wallet account)
  - `network` 'avalanche' | 'base' | 'polygon' | 'ethereum' | 'solana' | 'arbitrum' — Destination network. Required when the destination account is a crypto wallet.
  - `enabled` boolean — Whether this auto-payout rule is active

## Response `200`

Auto-payout configuration saved

- AutoPayoutConfigDto
  - `currency` 'USDC' | 'EURC', required
  - `accountId` string, required
  - `destinationLabel` string, nullable
  - `destinationType` 'bank-account' | 'wallet', nullable
  - `bankInfo` string, nullable — Masked IBAN or account number (last 4 digits only)
  - `address` string, nullable
  - `network` string, nullable
  - `enabled` boolean, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Invalid input data
- `401` — Unauthorized - Invalid API key

---

[API](https://skmtc.dev/inflowpay/apis/inflow-api.md) · [All operations](https://skmtc.dev/inflowpay/apis/inflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inflowpay/inflow-api/revisions/3012dd3dd14a/schema)
