Skip to main content
POST
/
api
/
banking
/
matching
/
match
Match the given uncategorized transaction.
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 '
{
  "matchedTransactions": [
    {
      "referenceType": "SaleInvoice",
      "referenceId": 1
    },
    {
      "referenceType": "SaleInvoice",
      "referenceId": 2
    }
  ]
}
'

Headers

Authorization
string
required

Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Body

application/json
matchedTransactions
string[]
required

The entries to match

Example:
[
{
"referenceType": "SaleInvoice",
"referenceId": 1
},
{
"referenceType": "SaleInvoice",
"referenceId": 2
}
]

Response

201 - undefined