How to upload external data for reconciliation.
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"
}
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
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"
}
Was this page helpful?
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"
}