latestSwagger 2.02026-08-20196638916.1 KB

23d8982b533d

ENTERPRISE
Connector.Transaction
MULTI_TENANT

Delete transactions

Removes transactions. When deleting transactions, it's only the externalId of each transaction that is necessary.

post/connector/users/{externalUserId}/transactions/delete

Path parameters

externalUserIdstring required

External identifier for the user.

Request body

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

Defines the priority of the delete request. Only REAL_TIME is supported for reflecting the most recent updates on a user's account. For deleting whole account with transactions use Delete account instead. Please use Delete user for deleting all user data with transactions.

Example request

{
  "transactionAccounts": [
    {
      "balance": 7000,
      "externalId": "2d3bd65493b549e1927d97a2d0683ab9",
      "payload": {},
      "reservedAmount": 2000,
      "transactions": [
        {
          "externalId": "40dc04e5353547378c84f34ffc88f853"
        }
      ]
    }
  ],
  "type": "REAL_TIME"
}

Response

Transactions deleted.