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":"3068fbc1-dc76-481c-a99d-955e8e36fee6","statement_transactions":["8ed67515-2b0d-4f06-937d-187babf0a399","7ac643d1-33a7-4d9e-bec9-110d213d95d7","729a2998-65bf-4e32-90a6-774799891e1b"],"bank_transactions":["56606d62-3b3b-4f72-98d7-b1f39f2a2f9d","5864a340-207a-4618-821d-bbfd923acba9","ac9af83c-460b-4e77-b586-9f5e45980299"]}'
Request examples
{
  "provider_statement_uuid": "3068fbc1-dc76-481c-a99d-955e8e36fee6",
  "statement_transactions": [
    "8ed67515-2b0d-4f06-937d-187babf0a399",
    "7ac643d1-33a7-4d9e-bec9-110d213d95d7",
    "729a2998-65bf-4e32-90a6-774799891e1b"
  ],
  "bank_transactions": [
    "56606d62-3b3b-4f72-98d7-b1f39f2a2f9d",
    "5864a340-207a-4618-821d-bbfd923acba9",
    "ac9af83c-460b-4e77-b586-9f5e45980299"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}