---
title: "Commit transaction"
method: PUT
path: "/v3/users/{user-id}/activity-transactions/{transaction-id}"
tags: ["Daily activity (deprecated)"]
---

# Commit transaction

`PUT /v3/users/{user-id}/activity-transactions/{transaction-id}`

## Request

- Base URL: `https://www.polaraccesslink.com`
- URL: `https://www.polaraccesslink.com/v3/users/{user-id}/activity-transactions/{transaction-id}`
- Auth: OAuth 2
  - Authorization code: `https://flow.polar.com/oauth2/authorization`
  - Token URL: `https://polarremote.com/v2/oauth2/token` scopes: `accesslink.read_all`
- TypeScript: <https://skmtc.dev/polar-com/apis/polar-accesslink-api/docs/v3/users/:user-id/activity-transactions/:transaction-id/put.ts> (a function with typed inputs; its response is checked against the schema)

After successfully retrieving activity summary data within a transaction, partners are expected to commit the transaction.

## Path parameters

- `transaction-id` integer, required
- `user-id` integer, required

## Response `200`

Transaction has been committed and data deleted.

## Other responses

- `204`: No content when there is no data available.
- `403`: User has not accepted all mandatory consents.

## Changes

- **2026-02-07** `f197848bba31`: 2 info
  - api tag `Daily activity (deprecated)` added
  - api tag `Daily activity` removed
- **2025-06-04** `5ef2cea678a2`: 1 info
  - added the non-success response with the status `403`

[Operation history](https://skmtc.dev/polar-com/apis/polar-accesslink-api/changes/v3/users/:user-id/activity-transactions/:transaction-id/put.md)

---

[API](https://skmtc.dev/polar-com/apis/polar-accesslink-api.md) - [All operations](https://skmtc.dev/polar-com/apis/polar-accesslink-api/llms.txt) - [OpenAPI document](https://skmtc.dev/polar-com/apis/polar-accesslink-api/revisions/18ce96365320?raw)
