Skip to main content
POST
/
reconciliation
/
upload
Upload data
curl --request POST \
  --url http://localhost:5001/reconciliation/upload \
  --header 'X-blnk-key: <api-key>'
Use blnk.Reconciliation.upload to upload external statement data.
blnk.Reconciliation.upload
const response = await blnk.Reconciliation.upload('statement.csv', 'stripe');
FieldDescription
fileInputPath to a CSV or JSON file, or a readable stream containing the external records.
sourceLabel describing where the data came from, for example stripe.

Response shape

201 Created
{
  "upload_id": "upload_8c700d1b-09c0-4ef4-9ab1-a0decf3d0aa3",
  "record_count": 1000,
  "source": "Stripe"
}
FieldDescription
upload_idUnique ID for the upload. Store it to start a batch reconciliation run.
record_countNumber of records found in the file.
sourceLabel you passed for the data origin.

How reconciliation works

Batch and instant reconciliation workflows.

Upload external records

HTTP request and response schema.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.