A Batch is a grouping for any transactions that took place within a certain timeframe. Batches do not directly contain a collection of transactions. Instead, a transaction is associated with a Batch automatically when the transaction is created.

Properties

PropertyTypeDescriptionExample
idNumber(integer)A read-only unique identifier.1234567890
statusStringRead-only. "open", "closed""open"
date_openedString(YYYY-MM-DD HH:MM:SS)The date that the batch was created."2023-01-01 05:06:07"
date_closedString(YYYY-MM-DD HH:MM:SS)The date that the batch was closed."2023-01-02 05:06:07"
external_idStringUnique identifier used to look up batch. This is not generated by PaidYET."1234567890"

Example

{
  "id": 1234567890,
  "status": "open",
  "date_opened": "2023-01-01 05:06:07",
  "date_closed": "2023-01-01 05:06:07",
  "external_id": "1234567890"
}