# Pause all payouts

`POST https://api.fiscalisto.com/v1/payouts/pause`

The empresa's emergency stop, for a security tool or your ERP's own button: at once no transfer goes out (signed payouts, retries or recurring ones) and the admins get an alert with the reason. The API never resumes: the people in Quién firma sign it in the app, each with their passkey. Only where the empresa lets the API work with its payouts, under Pagos › Configurar pagos (otherwise 403 payouts_api_disabled). Pausing what's already paused changes nothing.

## Before you call

- **A Fintoc account in the issuer's name**, to pay suppliers: it's opened in the app, in **Pagos › Abrir la cuenta**.
- **The empresa letting the API prepare payouts**, in the app, in **Pagos › Configurar pagos**. Even so, someone on the team signs each payout.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `Idempotency-Key` | header |  | Optional (the SDKs send it on their own). If the response is lost, repeat the request with the same value within 24 hours: it answers the same, with idempotent-replayed: true, and doesn't do it twice (it doesn't create, send emails or charge). |

## Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `issuer` | string |  | The empresa (iss_…); without it, the key's. |
| `reason` | string | yes | Why payouts are paused; the team sees it and it's in the alert. (up to 500 characters) |

Example:

```json
{
  "reason": "Acceso sospechoso a la cuenta de tesorería"
}
```

## With the TypeScript SDK

```ts
import { Fiscalisto } from "fiscalisto";

// La llave viene de FISCALISTO_API_KEY.
const fiscalisto = new Fiscalisto();

const payoutsPause = await fiscalisto.payouts.pause({
  reason: "Acceso sospechoso a la cuenta de tesorería",
}, { idempotencyKey: "pedido-A-1042" });
```

## With the Python SDK

```python
from fiscalisto import Fiscalisto

# La llave viene de FISCALISTO_API_KEY.
fiscalisto = Fiscalisto()

payouts_pause = fiscalisto.payouts.pause({
    "reason": "Acceso sospechoso a la cuenta de tesorería",
}, idempotency_key="pedido-A-1042")
```

## With the PHP SDK

```php
<?php

use Fiscalisto\Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
$fiscalisto = new Fiscalisto();

$payoutsPause = $fiscalisto->payouts->pause([
    'reason' => 'Acceso sospechoso a la cuenta de tesorería',
], ['idempotency_key' => 'pedido-A-1042']);
```

## With the .NET SDK

```csharp
using Fiscalisto;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

var payoutsPause = await fiscalisto.Payouts.PauseAsync(new PausePayoutsParams
{
    Reason = "Acceso sospechoso a la cuenta de tesorería",
}, new RequestOptions { IdempotencyKey = "pedido-A-1042" });
```

## With the Go SDK

```go
package main

import (
	"context"
	"fmt"
	"log"

	fiscalisto "fiscalisto.com/go"
)

func main() {
	// La llave viene de FISCALISTO_API_KEY.
	client, err := fiscalisto.NewClient("")
	if err != nil {
		log.Fatal(err)
	}
	ctx := context.Background()

	payoutsPause, err := client.Payouts.Pause(ctx, &fiscalisto.PausePayoutsParams{
		Reason: "Acceso sospechoso a la cuenta de tesorería",
	}, fiscalisto.WithIdempotencyKey("pedido-A-1042"))
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", *payoutsPause)
}
```

## With the Java SDK

```java
import com.fiscalisto.FiscalistoClient;
import com.fiscalisto.RequestOptions;
import com.fiscalisto.model.PausePayoutsParams;

// La llave viene de FISCALISTO_API_KEY.
var fiscalisto = new FiscalistoClient();

var payoutsPause = fiscalisto.payouts().pause(new PausePayoutsParams()
        .setReason("Acceso sospechoso a la cuenta de tesorería"), RequestOptions.idempotencyKey("pedido-A-1042"));
System.out.println(payoutsPause);
```

## Response 200

OK.

A `PayoutsPause` object:

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `object` | `"payouts_pause"` | yes | What kind of object it is («invoice», «customer»…). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `issuer` | string | yes | The issuer (iss_…). |
| `paused` | boolean | yes | true while payouts are paused. |
| `paused_at` | string (date-time) or null | yes | Since when they're paused, or null. |
| `reason` | string or null | yes | Why they were paused, or null. |
| `paused_by_api` | boolean | yes | true if an API key paused them (not a person in the app). |

```json
{
  "object": "payouts_pause",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "paused": true,
  "paused_at": "2026-11-21T09:12:00-06:00",
  "reason": "Acceso sospechoso a la cuenta de tesorería",
  "paused_by_api": true
}
```

## Errors

- `feature_not_in_plan` (403): Live, this part of the API (inventario, portal de proveedores, pedidos, comprobación de gastos) follows the empresa's plan, as in the app: it comes with Operaciones (added to any paid plan; included in Corporativo). The books (the /v1/accounting routes except DIOT, cross checks, IVA refunds and fixed assets) come with Contabilidad (added to Independiente, Emprendedor or Negocio; included in Despacho and Corporativo): without it, changing the books answers this error, and reading them works only up to the last month it had it. Add either in Ajustes › Plan y pagos; test mode has everything.
- `issuer_archived` (400): The issuer is archived and no longer stamps. Its documents can still be read and canceled.
- `issuer_linked_empresa` (403): That issuer is an empresa of the app connected to your account: through the API it only offers its Portal de proveedores (/v1/portal_suppliers and /v1/supplier_invoices) and, once someone who may pay suppliers and change Configurar pagos turned them on, its supplier payouts (/v1/payouts and /v1/payroll_payouts). It also stops when whoever connected it (or turned its payouts on) no longer has that permission in the empresa: message_es says which. Do everything else in the app.
- `issuer_missing` (404): There is no such issuer in the account (or it belongs to the other mode).
- `issuer_not_allowed` (403): This key can't use that issuer.
- `issuer_required` (400): The account has several issuers and the request doesn't say which: send `issuer` (iss_…).
- `livemode_mismatch` (400): The object belongs to the other mode: an fk_test_ key only sees test data and an fk_live_ key only live data.
- `payout_invalid` (400): The pago can't be prepared or changed like that (an invoice already paid or in another pago, a supplier without an approved account, a rule that blocks it, a limit, or it already went out). `message_es` says why, line by line.
- `payouts_api_disabled` (403): The empresa doesn't let the API prepare pagos: turn it on in the app, under Pagos › Configurar pagos.
- `payouts_not_enabled` (400): The issuer's RFC doesn't pay suppliers with Fiscalisto: connect Fintoc in the app, under Pagos.
- `team_permission_denied` (403): The key acts as the person who created it, with their access in the empresa: they lack the permission for this, what you asked would give more than they have, or they're no longer a member.

Plus those of any call (key, fields, limits): https://fiscalisto.com/en/docs/api/errores.md.
