XeroPayments

Xero Payments API

Sync permissioned payments data with Xero through Apideck's unified API. One integration, instant access to the governed data your team needs.

Supported Operations for Xero Payments

List, Create, Get, Delete operations available through our unified API

list
get
create
update
delete

Supported Fields

13 fields

Fields available for Xero Payments

idcurrencycurrency_ratetotal_amountreferenceaccounttransaction_datecustomerreconciledstatustypeallocationsupdated_at

API Model Preview

Sample response structure for payments

{
  "id": "12345",
  "currency": "USD",
  "currency_rate": 100,
  "total_amount": 100,
  "reference": "string",
  "account": {
    "id": "12345"
  },
  "transaction_date": "2024-01-15",
  "customer": {
    "id": "12345",
    "display_id": "CUST-001",
    "display_name": "Acme Corp",
    "company_name": "Acme Corporation"
  },
  "reconciled": "string",
  "status": "active",
  "type": "standard",
  "allocations": [
    {
      "id": "12345"
    }
  ],
  "updated_at": "2024-01-15T10:30:00.000Z"
}

Quick Start Example

Start syncing Xero payments in minutes

Node.js
import { Apideck } from '@apideck/unify'

const apideck = new Apideck({
  apiKey: process.env.APIDECK_API_KEY,
  appId: 'YOUR_APP_ID',
  consumerId: 'YOUR_CONSUMER_ID'
})

// List payments from Xero
const result = await apideck.accounting.payments.list({
  serviceId: 'xero'
})

for await (const page of result) {
  console.log(page)
}
// Returns unified payments data

Xero SDKs

Build Xero integrations in your favorite language with our official SDKs.

Launch accounting integrations in weeks, not months

Sign Up