POST
/
reconciliation
/
upload
curl --location 'https://localhost:5001/reconciliation/upload' \
--header 'X-blnk-key: <api-key>' \
--form 'file=@"transactions.json"' \
--form 'source="Stripe"'
{
  "upload_id": "upload_8c700d1b-09c0-4ef4-9ab1-a0decf3d0aa3",
  "record_count": 1000,
  "source": "Stripe"
}

Authorization

If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>.

Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.

See also: Secure your Blnk server

Body

file
string
required

Uploaded file containing external data.

We support both CSV and JSON file types for external data upload.

source
string
required

Origin of the transaction data, e.g. “Stripe”.

Response

upload_id
string
required

Specifies the unique ID for the uploaded file

record_count
string
required

Total number of records found in the uploaded file.

source
string
required

Origin of the transaction data, e.g. “Stripe”.

curl --location 'https://localhost:5001/reconciliation/upload' \
--header 'X-blnk-key: <api-key>' \
--form 'file=@"transactions.json"' \
--form 'source="Stripe"'
{
  "upload_id": "upload_8c700d1b-09c0-4ef4-9ab1-a0decf3d0aa3",
  "record_count": 1000,
  "source": "Stripe"
}

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.