Skip to main content
POST
/
reconciliation_matches
Create a reconciliation match
curl --request POST \
  --url https://api.endclose.com/v1/reconciliation_matches \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "reconciliation_id": "<string>",
  "record_ids": [
    "<string>"
  ],
  "create_adjustment": true,
  "adjustment_reason": "<string>"
}
'
{
  "id": 123,
  "status": "<string>",
  "group_key": "<string>",
  "reconciliation_id": 123,
  "reconciliation_rule_id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "records": [
    {
      "id": 123,
      "amount": 123,
      "decimal_places": 2,
      "direction": "credit",
      "data_stream_key": "<string>"
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Body

application/json
reconciliation_id
string
required
record_ids
string[]
required

IDs of records to match together

create_adjustment
boolean

If true, creates an adjustment record to balance the match

adjustment_reason
string

Description for the adjustment record

Response

Match created

id
integer
status
string
group_key
string
reconciliation_id
integer
reconciliation_rule_id
integer
created_at
string<date-time>
records
object[]