Dunmore

Xero Integration

Record settled payments in Xero as bank transactions.

Connect Dunmore to Xero to automatically record settled payments as bank transactions for accounting.

Setup

  1. Create a Xero app on the Xero Developer portal
  2. Authorize access and get an Access Token and Tenant ID
  3. Add a Xero connector in the Dunmore console

Supported Events

Only payment.settled events are sent to Xero. A bank transaction (RECEIVE type) is created with:

  • Total payment amount
  • Contact reference (payer wallet address)
  • Line item with payment description and endpoint reference

Configuration

{
  "type": "xero",
  "config": {
    "accessToken": "your-xero-access-token",
    "tenantId": "your-xero-tenant-id"
  },
  "eventTypes": ["payment.settled"]
}

API Example

curl -X POST https://api.dunmore.xyz/api/projects/{projectId}/connectors \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "xero",
    "config": {
      "accessToken": "YOUR_XERO_TOKEN",
      "tenantId": "YOUR_TENANT_ID"
    },
    "eventTypes": ["payment.settled"]
  }'