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":"3c427ff1-9677-4f3a-b6ac-64f29b09e598","statement_transactions":["5ec6f3d4-a548-44a9-93e8-d9ff283af07b","c57abaa3-16a4-4136-a490-b56e47246eee","e95fa7b2-27fc-483a-a94a-0668be828f06"],"bank_transactions":["7100b523-b682-4bb4-9671-e2c7470bf26a","5db1d666-187a-4ac6-9451-8c52d663970d","1707e243-6987-44ec-ae9f-17fa10232c65"]}'
Request examples
{
  "provider_statement_uuid": "3c427ff1-9677-4f3a-b6ac-64f29b09e598",
  "statement_transactions": [
    "5ec6f3d4-a548-44a9-93e8-d9ff283af07b",
    "c57abaa3-16a4-4136-a490-b56e47246eee",
    "e95fa7b2-27fc-483a-a94a-0668be828f06"
  ],
  "bank_transactions": [
    "7100b523-b682-4bb4-9671-e2c7470bf26a",
    "5db1d666-187a-4ac6-9451-8c52d663970d",
    "1707e243-6987-44ec-ae9f-17fa10232c65"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}