The payroll journal object

Status and download link for a payroll journal CSV generation.

Both POST /payrolls/{payroll}/journal and GET /payrolls/{payroll}/journal return this object.

{
  "status": "completed",
  "download_url": "https://example.com/journal.csv",
  "content_type": "text/csv"
}
AttributeDescription
status
enum
One of generating, completed, or failed.
download_url
string
Short-lived download link for the journal file when status is
completed; otherwise null. The link expires one minute after it is
issued—call GET /payrolls/{payroll}/journal for a new one.
content_type
string
Media type of the journal file. Always text/csv.