POST /api/v1/bank-transaction/reconcile
application/json

Body

  • provider_statement_uuid string(uuid)

    The UUID of the provider statement. Required if you do not provide statement_transactions.

  • statement_transactions array[string(uuid)]

    The list of statement transactions to reconcile against expectations. Required if provider_statement_uuid is not present.

  • bank_transactions array[string(uuid)] Required

    The list of bank payments to reconcile against statement transactions.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/bank-transaction/reconcile
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/bank-transaction/reconcile' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"provider_statement_uuid":"0fad15b1-b734-49fb-a2c8-8563039ee16d","statement_transactions":["5ad55c10-d507-4a0a-a037-c371b8a941cc","5e0994d5-b976-4f97-b616-85819996ce0d","65f908f9-c849-40f7-a087-b5b534d4a8ac"],"bank_transactions":["82bc246d-696b-475a-8c80-3eb5763f638c","4535e902-f185-48be-a3b4-fa6dfddd229f","e9b16165-0815-4a55-89c2-a624c463f919"]}'
Request examples
{
  "provider_statement_uuid": "0fad15b1-b734-49fb-a2c8-8563039ee16d",
  "statement_transactions": [
    "5ad55c10-d507-4a0a-a037-c371b8a941cc",
    "5e0994d5-b976-4f97-b616-85819996ce0d",
    "65f908f9-c849-40f7-a087-b5b534d4a8ac"
  ],
  "bank_transactions": [
    "82bc246d-696b-475a-8c80-3eb5763f638c",
    "4535e902-f185-48be-a3b4-fa6dfddd229f",
    "e9b16165-0815-4a55-89c2-a624c463f919"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}