FISCALISTO / API / REFERENCE
Cancel a supplier payout · Supplier payments
One this account's keys prepared, while nothing has gone out (draft, pending_approval or approved): its invoices go back to Por pagar and payout.canceled arrives. One prepared in the app, or by another API account connected to the empresa, is canceled there (400 payout_not_from_api).
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.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
id*stringThe object's id.
Idempotency-Key?stringOptional (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).
1 <= length <= 255application/json- body
reason?|Why it's canceled; the team sees it on the payout.
OK.
application/json- response
A supplier payout with Fintoc: one or more SPEI transfers that go out together on their day, after the signatures the empresa requires. The API prepares it; it is only signed in the app.
id*stringObject identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
object*stringWhat kind of object it is («invoice», «customer»…).
issuer*stringThe issuer (iss_…) that pays.
number*integerIts number in the empresa (Pago 12), as in the app.
-9007199254740991 <= value <= 9007199254740991status*stringdraft (someone still has to sign it in the app), pending_approval (signatures missing), approved (signed: it goes out on its day), sending, paid (all arrived), partially_paid (some arrived), failed (none arrived) or canceled.
"draft""pending_approval""approved""sending""paid""partially_paid""failed""canceled"name*|The lote's name («Fletes»), or null: the app calls it by its day.
pay_on*stringThe day it goes out (YYYY-MM-DD, Mexico City time).
exchange_rate*|In a scheduled pago with invoices in another currency, how it takes the exchange rate: official (the official one; if it moved past the Configurar pagos tolerance by the day it goes, it's held until signed again) or fixed (it goes at the rate it was signed with). null in pesos or if it goes today.
total*numberThe sum of its transfers, in pesos.
currency*stringAlways MXN: SPEI transfers are in pesos.
note*|The note for whoever reviews it, or null.
source*stringWhere it came from: app, api, assistant (an assistant such as ChatGPT or Claude), rule (a rule that pays on its own) or recurring (a recurring payment).
"app""api""assistant""rule""recurring"payout_mandate*|The recurring payment (pym_…) that made it, or null.
signatures*required: how many signatures it requires (null while it is a draft); given: how many people have already signed. The API never signs.
app_url*stringWhere someone on the team reviews and signs it, in the app.
transfers*array<>Its transfers, one per supplier and account.
cancel_reason*|Why it was canceled, or null.
created_by_api*booleantrue if the API prepared it.
created_at*|When it was prepared.
approved_at*|When it got all its signatures, or null.
sent_at*|When its transfers started going out, or null.
settled_at*|When it finished (all arrived or were resolved), or null.
canceled_at*|When it was canceled, or null.
The issuer is archived and no longer stamps. Its documents can still be read and canceled.
The account has several issuers and the request doesn't say which: send
issuer(iss_…).The object belongs to the other mode: an fk_test_ key only sees test data and an fk_live_ key only live data.
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_essays why, line by line.The pago was prepared in the app: cancel it there.
The issuer's RFC doesn't pay suppliers with Fiscalisto: connect Fintoc in the app, under Pagos.
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.
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.
This key can't use that issuer.
The empresa doesn't let the API prepare pagos: turn it on in the app, under Pagos › Configurar pagos.
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.
There is no such issuer in the account (or it belongs to the other mode).
There's no object with that id (or it belongs to another issuer or the other mode).
Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.
curl -X POST 'https://api.fiscalisto.com/v1/payouts/pyo_OufpKqnrvx9p4Pq9mZr1XyT5uBcW8sKdLx/cancel' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042' \ -H 'Content-Type: application/json' \ -d '{ "reason": "Se pagó por otro medio"}'{ "id": "pyo_OufpKqnrvx9p4Pq9mZr1XyT5uBcW8sKdLx", "object": "payout", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "number": 12, "status": "paid", "name": "Fletes", "pay_on": "2026-11-18", "exchange_rate": null, "total": 11600, "currency": "MXN", "note": "Fletes de octubre", "source": "api", "payout_mandate": null, "signatures": { "required": 1, "given": 1 }, "app_url": "https://fiscalisto.com/k7x2m9/pagos/po_4b1e2c3d4f504a618b729c83d4e5f601", "transfers": [ { "id": "pyt_OufpKqnrvx9p5Rt7mZr1XyT5uBcW8sKdLx", "object": "payout_transfer", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "payout": "pyo_OufpKqnrvx9p4Pq9mZr1XyT5uBcW8sKdLx", "supplier_tax_id": "AAA010101AAA", "supplier_name": "Fletes del Norte", "payee_account": "pya_OufpKqnrvx9p6Ac3mZr1XyT5uBcW8sKdLx", "clabe": "002010077777777771", "bank": "BANAMEX", "amount": 11600, "currency": "MXN", "concept": "Pago 12 A120", "reference": "1200001", "status": "succeeded", "tracking_key": "FNTC2026111800012", "cep_url": "https://www.banxico.org.mx/cep/go?i=90646&s=20210302&d=FNTC2026111800012", "failure_reason": null, "invoices": [ { "uuid": "9F1C2B3A-4D5E-4F60-8A7B-1C2D3E4F5A6B", "amount": 11600, "currency": "MXN", "without_invoice": false, "description": null } ], "sent_at": "2026-11-18T09:00:04-06:00", "settled_at": "2026-11-18T09:00:41-06:00" } ], "cancel_reason": null, "created_by_api": true, "created_at": "2026-11-17T16:20:00-06:00", "approved_at": "2026-11-17T18:02:00-06:00", "sent_at": "2026-11-18T09:00:00-06:00", "settled_at": "2026-11-18T09:00:41-06:00", "canceled_at": null}Was this page helpful?
Get a supplier payout GET
With its signatures, each transfer, its tracking key and its CEP when it arrives.
List supplier accounts GET
The accounts your suppliers are paid to, verified with the bank, and whether they can be paid yet. Read only: adding or changing a CLABE is done in the app, with its waiting period and its approval.