Create transactions
This endpoint allows to add transactions to an existing account, represented by the Account Insights ID.
Request
POST /insights/v1/storage/transactions/create HTTP/1.1
Content-Type: application/json; charset=utf-8
Authorization: Token <Token>
Host: <Host>
{
"insights_consumer_id": String,
"insights_account_id": String,
"data_retention_minutes": ?Integer,
"transactions": Array<StorageTransaction>
}
insights_consumer_id String, required
The id identifying the consumer to whom the transactions belong.
insights_account_id String, required
The id identifying the account to which the transactions belong.
data_retention_minutes Integer, optional
How long the data should be stored until expiring. Default value is 10 minutes.
Response
{
"data": {
"insights_consumer_id" : String,
"insights_account_id" : String
}
}