Xero · Example Payload

Xero Createemployeepaymentmethod Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createemployeepaymentmethod 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": "createEmployeePaymentMethod",
  "method": "POST",
  "path": "/Employees/{EmployeeID}/PaymentMethods",
  "summary": "Creates a payment method for an employee",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "bankAccounts": [
          {
            "accountName": "Casual Worker",
            "accountNumber": "0607050201419000",
            "sortCode": null,
            "particulars": null,
            "code": null,
            "dollarAmount": null,
            "reference": "",
            "calculationType": "Balance"
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "id": "00000000-0000-0000-0000-000000000000",
        "providerName": "provider-name",
        "dateTimeUTC": "2020-08-26 23:34:53.685631",
        "httpStatusCode": "OK",
        "pagination": null,
        "problem": null,
        "paymentMethod": {
          "bankAccounts": [
            {
              "accountName": "Casual Worker",
              "accountNumber": "0607050201419000",
              "sortCode": null,
              "particulars": null,
              "code": null,
              "dollarAmount": null,
              "reference": "",
              "calculationType": "Balance"
            }
          ]
        }
      }
    }
  ]
}