Xero · Example Payload

Xero Getbenefits Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Getbenefits Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "getBenefits",
  "method": "GET",
  "path": "/Benefits",
  "summary": "Retrieves employee benefits",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "id": "079865dc-f3df-4783-98a9-67db747ab82c",
        "providerName": "provider-name",
        "dateTimeUTC": "2020-04-15 18:45:03.617089",
        "httpStatusCode": "OK",
        "pagination": {
          "page": 1,
          "pageSize": 100,
          "pageCount": 1,
          "itemCount": 1
        },
        "problem": null,
        "benefits": [
          {
            "id": "17ee7e28-9f4c-4675-9590-cc0547c9f7ac",
            "name": "Mind The Gap Pensions",
            "category": "StakeholderPension",
            "liabilityAccountId": "d659ebbf-0760-4e07-a1fb-8de6b9ecdff9",
            "expenseAccountId": "edda7154-dfc8-4486-a82b-e5e955408eaa",
            "standardAmount": null,
            "percentage": 3,
            "calculationType": "PercentageOfGross",
            "currentRecord": true,
            "showBalanceToEmployee": false,
            "subjectToNIC": null,
            "subjectToPension": null,
            "subjectToTax": null,
            "isCalculatingOnQualifyingEarnings": null
          }
        ]
      }
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/xero-getbenefits-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.