Authorization
Basic authentication header of the form — Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string of your username:password
.
Body
Name of the matching rule.
A brief description of what the matching rule does.
An array of criteria that defines the rule. Each criteria is defined by 3 attributes — field
, operator
, allowable_drift
.
Fields to match. It can be "amount"
, "currency"
, "reference"
, "description"
, or "date"
.
Defines how the selected field should be compared with internal records. Depending on the field, this can be "equals"
or "contains"
.
equals
: The field in the external record must exactly match the corresponding field in your Blnk Ledger.
contains
: Parts of the external field’s value must be found in your Blnk Ledger.
Helps to accomodate small variations in transaction amounts between both records. Only applicable to amount and date fields.
- Amount drift: Measured in percentages, e.g., 1% is
"allowable_drift": 0.01
- Date drift: Measured in seconds, e.g., 1 hour is
"allowable_drift": 3600
For further details, refer to: Handling discrepancies with drifts
{
"name": "Default matcher",
"description": "Amount with 1% drift matcher",
"criteria": [
{
"field": "amount",
"operator": "equals",
"allowable_drift": 0.01
},
{
"field": "currency",
"operator": "equals"
},
{
"field": "date",
"operator": "equals",
"allowable_drift": 1800
},
{
"field": "reference",
"operator": "contains"
}
]
}
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.