# Sync and Update Debits and Credits for a Recon

Based on submitted details, update the Disbursed and Received tables for cleared items on the selected Reconciliation.

Endpoint: POST /update-recon-credit-debit
Version: v1
Security: apiKeyAuth, bearerAuth

## Security:

  - `apiKeyAuth` (unknown)
    apiKey in header x-api-key

  - `bearerAuth` (unknown)
    http bearer JWT

## Header parameters:

  - `vbasoftware-database` (string, required)
    Target database

## Request fields (application/json):

  - `reconcile_Key` (integer)

  - `debits` (array)

  - `debits.selected` (boolean)

  - `debits.check_ID` (integer)

  - `credits` (array)

  - `credits.selected` (boolean)

  - `credits.deposit_Key` (integer)

## Response 202:

  - `202` (unknown)
    Accepted for processing

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Forbidden. The x-api-key header is missing or not valid. The API gateway sends this response, not VBAPI, so the body is not the VBAPI envelope; see Errors and troubleshooting.

## Response 429:

  - `429` (unknown)
    Too many requests. The limit is 25 requests per second sustained, with bursts up to 50, per API key. Wait and retry with exponential backoff and jitter.

