curl --request POST \
--url https://api.example.com/api/banking/matching/match \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'organization-id: <organization-id>' \
--data '
{
"uncategorizedTransactions": [
1,
2
],
"matchedTransactions": [
{
"referenceType": "SaleInvoice",
"referenceId": 1
},
{
"referenceType": "SaleInvoice",
"referenceId": 2
}
]
}
'