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":"68da1506-bbcb-4c8a-88db-cf89e70e82aa","statement_transactions":["8d34d6b0-c6a6-47d0-8ab4-dbbf39e34739","5fe46367-2ff4-41d5-bf87-f9f4d964d78b","00861c1f-61e8-45a7-b9e4-d9cceba052a1"],"bank_transactions":["b5196c48-64fc-4fc6-916c-41db1c63331a","e4d180b6-5a0c-4991-933d-7b6a0f2e551f","b5f6b174-6963-4c99-8fa8-af72883ba077"]}'
Request examples
{
  "provider_statement_uuid": "68da1506-bbcb-4c8a-88db-cf89e70e82aa",
  "statement_transactions": [
    "8d34d6b0-c6a6-47d0-8ab4-dbbf39e34739",
    "5fe46367-2ff4-41d5-bf87-f9f4d964d78b",
    "00861c1f-61e8-45a7-b9e4-d9cceba052a1"
  ],
  "bank_transactions": [
    "b5196c48-64fc-4fc6-916c-41db1c63331a",
    "e4d180b6-5a0c-4991-933d-7b6a0f2e551f",
    "b5f6b174-6963-4c99-8fa8-af72883ba077"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}