openintegration200+ connectors

Delete payment in Xero

Accounting API · write, waits for approval · 100% field coverage

Your agent can delete payment in Xero through Apideck's Accounting API, the same call it makes for every Accounting app. It changes data in the customer's Xero account, so it stops with the exact request until a person approves it. Apideck adds the customer's Xero credentials, so no token ever reaches the agent.

Paste into Claude Code, Cursor or any coding agent.

The call

DELETE https://unify.apideck.com/accounting/payments/{id}

Headers: x-apideck-service-id: xero, plus your app id and the customer's consumer id. Apideck MCP tool: accounting-payments-delete. Agent operation id: unified.accounting.paymentsDelete.

ParameterInDescription
id · requiredpathID of the record you are acting upon.

More for payments in Xero

list_paymentscreate_paymentget_payment

Delete payment in other Accounting apps

The same call works for each of these; only the service id changes.

Access FinancialsAcumaticaAlegraCampfireFortnoxFreshBooksIntuit Enterprise SuiteMYOBMYOB AcumaticaNetSuiteQuickBooksSage IntacctSage Intacct RESTWafeqZoho Books