Upload pasted transaction text

POST /api/v1/transactions/bulk-upload/paste

Accept raw CSV/TSV text (e.g. copied from a bank export or spreadsheet) and store it as a CSV file in S3. Returns an s3_key that can be passed directly to the existing /bulk-upload/preview and /bulk-upload endpoints.

This lets users skip the file-save-and-upload step — they can copy transaction data from their bank and paste it straight into DayZero.

Operation ID: paste_transaction_text_api_v1_transactions_bulk_upload_paste_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

pasted_text string required

Raw CSV/TSV text pasted from a bank export or spreadsheet

Responses

201 Successful Response

s3_key string required

S3 key of the generated CSV file

row_count integer required

Approximate number of data rows detected

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object