v2

latestSwagger 2.02026-08-01139174369.1 KB
Payments

Returns information about a single Payments.

get/v1/payments/{id}

Path parameters

idinteger required

Id of Payment to return.

Response

OK

bankAccountIdinteger
bankAccountCodestring
referencestring
supplierIdinteger
transferBankIdinteger
transferBankCodestring
discountnumber double
unallocatednumber double
detailCollectionstring[]
plaidTransactionIdstring
idinteger
bookTranTypeIdinteger
acCodestring
notestring
entryDatestring date-time
procDatestring date-time
totalnumber double
timestampstring byte

Example response

{
  "bankAccountId": 1,
  "bankAccountCode": "B1",
  "reference": "000002",
  "supplierId": 2,
  "transferBankId": 1,
  "transferBankCode": "",
  "discount": 2,
  "unallocated": 155,
  "detailCollection": [
    "d1",
    "d2"
  ],
  "acEntries": [],
  "id": 2,
  "bookTranTypeId": 3,
  "acCode": "C1",
  "note": "123",
  "entryDate": "2011-07-01T00:00:00",
  "procDate": "2011-08-08T00:00:00",
  "total": 155,
  "timestamp": "UPpH5vbv3gg=",
  "customFields": [
    {
      "id": 1,
      "userDefinedFieldId": 1,
      "description": "F1",
      "value": "f1"
    },
    {
      "id": 2,
      "userDefinedFieldId": 2,
      "description": "F2",
      "value": "f2"
    }
  ]
}