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_textstringrequired

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

Responses

201Successful Response

successboolean
messagestring
codestring
dataPasteTransactionTextResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject