---
title: "Creating a request to update a Payment template."
method: PUT
path: "/v1/payments/templates/{id}"
tags: ["PaymentTemplates"]
---

# Creating a request to update a Payment template.

`PUT /v1/payments/templates/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdatePaymentTemplate
  - `name` string, nullable
  - `description` string, nullable
  - `creditor` PaymentCreditor
    - `account` PaymentAccount, required
      - `accountNumber` string, required
      - `accountType` 'IBAN' | 'BBAN' | 'BG' | 'PG', required
      - `bic` string, nullable
      - `currencyCode` string, nullable
    - `message` string, nullable
    - `name` string, required
  - `amount` PaymentTemplateAmount
    - `currency` string, required
    - `value` number, double, required
    - `isAmountEditable` boolean
  - `remittanceInformation` PaymentRequestRemittanceInformation
    - `value` string, required
    - `type` 'UNSTRUCTURED' | 'OCR', required
  - `region` string, nullable
  - `paymentProductId` string, nullable

## Response `200`

The request has been fulfilled and a payout is updated.

- PaymentTemplate
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `creditor` PaymentCreditor, required
    - `account` PaymentAccount, required
      - `accountNumber` string, required
      - `accountType` 'IBAN' | 'BBAN' | 'BG' | 'PG', required
      - `bic` string, nullable
      - `currencyCode` string, nullable
    - `message` string, nullable
    - `name` string, required
  - `amount` PaymentTemplateAmount
    - `currency` string, required
    - `value` number, double, required
    - `isAmountEditable` boolean
  - `remittanceInformation` PaymentRequestRemittanceInformation
    - `value` string, required
    - `type` 'UNSTRUCTURED' | 'OCR', required
  - `region` string, required
  - `paymentProductId` string, required

## Other responses

- `400` — Error caused by invalid or missing data.
- `401` — Authentication failed due to missing or invalid credentials.
- `403` — Error caused by end user (PSU) not permitted access to the resource.
- `404` — Endpoint does not exist or URL is not constructed correctly.
- `500` — Error caused by remote technical issues, this status code is used for unforeseen technical issues.
- `503` — Returned when service is unavailable due to scheduled reasons, such as maintenance.

---

[API](https://skmtc.net/finshark/apis/finshark-api.md) · [All operations](https://skmtc.net/finshark/apis/finshark-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/finshark/finshark-api/versions/7fc3b4f800ae/schema)
