latestSwagger 2.02026-08-20196638916.1 KB

23d8982b533d

ENTERPRISE
Connector.Transaction
MULTI_TENANT

Ingest transactions

Takes historical or real time transactions together with an account.

post/connector/users/{externalUserId}/transactions

Path parameters

externalUserIdstring required

External identifier for the user.

Request body

autoBookboolean

(DEPRECATED) This feature try to automatically match stored pending transactions to booked transactions in the incoming batch. This feature is disabled by default and deprecated

overridePendingboolean

When enabled, all stored pending transactions will be replaced by the pending transactions in the batch. Stored pending transaction present in batch will be kept but not updated and new pending transactions will be stored. Already stored pending transactions not existing in batch will be removed, hence make sure all pending transaction already stored and to be kept are sent in the batch. It is a requirement to set EXPIRE date on pending transactions to maximum 30 days(pending transactions older than 30 days have no guarantee to be replaced). This feature should only be used when no known external-id relation between the pending and booked transactions exists. Please contact your Technical Project Manager to enable this option.

type'REAL_TIME' | 'HISTORICAL' | 'BATCH' required

Defines the priority of the ingestion request: BATCH: is recommended for non time critical ingestion requests in daily running batch jobs. Note: Should be used for backfilling users transaction history. REAL_TIME: is recommended for ingestion requests where it is time critical to minimize lag before transactions are available on the api. Note: This request type is designed for reflecting the most recent updates on a user's account, like ingesting or updating recently booked transactions. It is not intended for fulfilling larger requests such as backfilling a user's entire transaction history. HISTORICAL: is deprecated. Requests of type HISTORICAL are processed with same priority as BATCH but account balance will be ignored if this option is used.

Response

Transactions ingested.