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":["2e35e596-0540-4471-b133-861d6159f618","7658ca76-1317-426f-aa7a-b4b8110fc79f","71dfa320-19d5-4f02-b69f-ff0af15dd672"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "statement_transactions": [
    "2e35e596-0540-4471-b133-861d6159f618",
    "7658ca76-1317-426f-aa7a-b4b8110fc79f",
    "71dfa320-19d5-4f02-b69f-ff0af15dd672"
  ]
}
Response examples (204)
{}