---
title: "PUT /paymentRun/id/{id}"
method: PUT
path: "/paymentRun/id/{id}"
tags: ["paymentRun"]
---

# PUT /paymentRun/id/{id}

`PUT /paymentRun/id/{id}`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/paymentRun/id/{id}`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/paymentRun/id/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

update paymentRun

## Path parameters

- `id` string, required

## Query parameters

- `dryRun` boolean

## Request body

- PaymentRun
  - `id` string
  - `version` string
  - `createdDate` integer
  - `lastModifiedDate` integer
  - `paymentRunDate` integer
  - `paymentRunItems` PaymentRunItem[]
    - `id` string
    - `version` string
    - `amountDiscount` string, number
    - `amountPayment` string, number
    - `bankAccountId` string
    - `bankTransactionId` string
    - `cleared` boolean
    - `conversionRate` string, number
    - `conversionRateDate` integer
    - `createdDate` integer
    - `lastModifiedDate` integer
    - `partyBankAccountId` string
    - `paymentRunId` string
    - `paymentRunPaymentType` 'NONE' | 'ONLINE' | 'SEPA' | 'SWIFT'
    - `purchaseOpenItemId` string
    - `purpose` string
    - `recordCurrency` Currency
      - `id` string
      - `version` string
      - `createdDate` integer
      - `currencySymbol` string
      - `lastModifiedDate` integer
      - `name` string, required
  - `paymentRunNumber` string
  - `runByUserId` string
  - `totalAmount` string, number

## Response `200`

paymentRun update response

- PaymentRun
  - `id` string
  - `version` string
  - `createdDate` integer
  - `lastModifiedDate` integer
  - `paymentRunDate` integer
  - `paymentRunItems` PaymentRunItem[]
    - `id` string
    - `version` string
    - `amountDiscount` string, number
    - `amountPayment` string, number
    - `bankAccountId` string
    - `bankTransactionId` string
    - `cleared` boolean
    - `conversionRate` string, number
    - `conversionRateDate` integer
    - `createdDate` integer
    - `lastModifiedDate` integer
    - `partyBankAccountId` string
    - `paymentRunId` string
    - `paymentRunPaymentType` 'NONE' | 'ONLINE' | 'SEPA' | 'SWIFT'
    - `purchaseOpenItemId` string
    - `purpose` string
    - `recordCurrency` Currency
      - `id` string
      - `version` string
      - `createdDate` integer
      - `currencySymbol` string
      - `lastModifiedDate` integer
      - `name` string, required
  - `paymentRunNumber` string
  - `runByUserId` string
  - `totalAmount` string, number

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - added the new optional `query` request parameter `dryRun`
- **2022-12-03** `cc274ef79dfd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/paymentRun/id/:id/put.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
