Skip to main content
POST
/
reconciliation
/
start
Start reconciliation
curl --request POST \
  --url http://localhost:5001/reconciliation/start \
  --header 'X-blnk-key: <api-key>'
Use client.Reconciliation.Run to start batch reconciliation.
1

Call the method

client.Reconciliation.Run
reconResp, resp, err := client.Reconciliation.Run(blnkgo.RunReconData{
	UploadID: "upload_8c700d1b-09c0-4ef4",
	Strategy: blnkgo.ReconciliationStrategyOneToOne,
	DryRun: true,
	GroupingCriteria: blnkgo.CriteriaFieldReference,
	MatchingRuleIDs: []string{"rule_890bdbc4-467f-4670"},
})
FieldTypeDescription
UploadIDstringUpload ID returned by client.Reconciliation.Upload.
Strategyblnkgo.ReconciliationStrategyMatch strategy: ReconciliationStrategyOneToOne, ReconciliationStrategyOneToMany, or ReconciliationStrategyManyToOne.
DryRunboolSet true to test without writing results to the ledger.
GroupingCriteriablnkgo.CriteriaFieldField used to group records, for example CriteriaFieldReference.
MatchingRuleIDs[]stringIDs of the matching rules to apply.
2

Save the reconciliation ID

Use the reconciliation ID from the Core response with client.Reconciliation.Get to poll status and match counts.
3

Response

200 OK
{
  "reconciliation_id": "rec_a8f2c91d-1234-4abc-9def-0123456789ab"
}
FieldTypeDescription
reconciliation_idstringID of the reconciliation run. Use it with client.Reconciliation.Get to check status.

How reconciliation works

Batch and instant reconciliation workflows.

Start reconciliation

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.