Endpoint
Request
This endpoint accepts multipart/form-data.The file containing external transaction data. Supported formats:
- CSV: With headers for transaction fields
- JSON: Array of transaction objects
The source identifier for the external data (e.g., “stripe”, “bank_statement”, “paypal”)
Response
Unique identifier for this upload. Use this ID to start a reconciliation process
The total number of transaction records found in the uploaded file
The source identifier provided in the request
Example Request
CSV File Format Example
JSON File Format Example
Example Response
Error Responses
Error message describing what went wrong
Common Errors
- 400 Bad Request: File upload failed or invalid file format
- 500 Internal Server Error: Failed to process the upload
Next Steps
After uploading external data:- Create matching rules using the Create Matching Rule endpoint
- Start the reconciliation process using the Start Reconciliation endpoint with the
upload_idfrom this response