Reconciliation
Update matching rule
Update a reconciliation matching rule with the Go SDK.
PUT
Update matching rule
Use
client.Reconciliation.UpdateMatchingRule to update a matching rule.
Call the method
client.Reconciliation.UpdateMatchingRule
| Field | Type | Description |
|---|---|---|
ruleID | string | ID of the matching rule to update. |
Name | string | Updated name for the rule. |
Description | string | Updated description of what the rule does. |
Criteria | []blnkgo.Criteria | Full replacement array of match criteria. |
Criteria[].Field | blnkgo.CriteriaField | Field to match: CriteriaFieldAmount, CriteriaFieldCurrency, CriteriaFieldReference, CriteriaFieldDescription, or CriteriaFieldDate. |
Criteria[].Operator | blnkgo.ReconciliationOperator | How to compare the field: ReconciliationOperatorEquals or ReconciliationOperatorContains. |
Criteria[].AllowableDrift | float64 | Optional tolerance for amount (percentage) or date (seconds). |
Verify the changes
Read fields on the returned
*blnkgo.RunReconResp to confirm the updated criteria and description. The rule ID stays the same.Related docs
How reconciliation works
Criteria, operators, and drift behavior.
Update matching rule
HTTP request and response schema.