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":"84a8bfe4-2211-4068-99c1-b2079c7f2b31","statement_transactions":["cae8bedc-31e6-4a06-a8da-cac487a698f7","36137f38-5d5e-4714-806c-53cffd3baeba","c0cfd29a-8a83-4b34-97fe-b2f06ed99219"],"bank_transactions":["9c6bc277-ccf2-4e30-8b85-02d3cd408bda","9db8b17f-0aa9-40c0-987f-f8d1e39e1140","94b3bcc3-4608-4d4c-bc7b-cfaabfdac441"]}'
Request examples
{
  "provider_statement_uuid": "84a8bfe4-2211-4068-99c1-b2079c7f2b31",
  "statement_transactions": [
    "cae8bedc-31e6-4a06-a8da-cac487a698f7",
    "36137f38-5d5e-4714-806c-53cffd3baeba",
    "c0cfd29a-8a83-4b34-97fe-b2f06ed99219"
  ],
  "bank_transactions": [
    "9c6bc277-ccf2-4e30-8b85-02d3cd408bda",
    "9db8b17f-0aa9-40c0-987f-f8d1e39e1140",
    "94b3bcc3-4608-4d4c-bc7b-cfaabfdac441"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}