Overview

External data refers to files and datasets containing transaction activity records from sources outside your Ledger, such as bank statements or payment processor reports.

Since these data are exported in various formats, it’s essential to standardize them before uploading to Blnk Core for reconciliation to ensure accuracy and compatibility


Preparing your data

After exporting your data from the external source, convert it into the specified structure below, ensuring each record includes the following attributes:

AttributesTypeDescription
idStringUnique external transaction id.
amountNumberThe transaction amount, e.g. 100.50
currencyStringISO 4217 currency code, e.g. “USD”
sourceStringOrigin of the transaction data, e.g. “Stripe”
descriptionStringDescription/narration of the transaction, e.g. “Monthly subscription”
referenceStringUnique transaction reference, e.g., “ref_128GA6Ag1298ahkj”
dateStringTransaction date and time, e.g., “2025-02-15T13:30:00Z”

Once set, export your data in CSV or JSON and upload for reconciliation.

Key considerations

  1. Use consistent formatting across all fields.
  2. Ensure that each transaction has a unique reference.
  3. Convert your date to the UTC timezone to avoid timezone discrepancies.

Upload your data

Upload your formatted data to Blnk with the following endpoint:

Request
curl --location 'https://YOUR_BLNK_INSTANCE_URL/reconciliation/upload' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--form 'file=@transactions.json' \
--form 'source=Stripe'
Response
{
  "upload_id": "upload_8c700d1b-09c0-4ef4-9ab1-a0decf3d0aa3",
  "status": "success",
  "record_count": 1000,
  "source": "Stripe"
}
FieldDescription
upload_idUnique identifier of the uploaded external record for reconciliation.
statusIndicates that the file was uploaded successfully.
record_countCounts the number of records found in the uploaded file.
sourceIndicates the source of the file.

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.

Love building with Blnk? We’d love to hear your feedback. Tell us here.