POST /api/v1/statement-transaction/create-expectations

Bulk action create expectations for incoming statement transactions. Useful when a provider statement has historic transactions which Plannr has not generated the expectations for. The client and policy for this transactions must exist within Plannr.

Headers

  • X-PLANNR-ACCOUNT-UUID string
application/json

Body

  • statement_transactions array[string(uuid)] Required

    Array of unreconciled statement transactions to bulk create matching expectations.

Responses

  • 204 application/json
POST /api/v1/statement-transaction/create-expectations
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/statement-transaction/create-expectations' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"statement_transactions":["73cd2d16-8469-4fc0-8118-88c626cc8d16","29141865-ae1e-4ba7-a88a-561fd2ba3c4a","0a65450a-f38a-4ee2-8b17-7af0427ae575"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "statement_transactions": [
    "73cd2d16-8469-4fc0-8118-88c626cc8d16",
    "29141865-ae1e-4ba7-a88a-561fd2ba3c4a",
    "0a65450a-f38a-4ee2-8b17-7af0427ae575"
  ]
}
Response examples (204)