---
title: "Updates a PaymentMethod by id"
method: PUT
path: "/PaymentMethod/{PaymentMethodId}"
tags: ["PaymentMethod"]
---

# Updates a PaymentMethod by id

`PUT /PaymentMethod/{PaymentMethodId}`

## Request

- Base URL: `https://yourorgsite.com/api`
- URL: `https://yourorgsite.com/api/PaymentMethod/{PaymentMethodId}`
- Auth: OAuth 2
  - Implicit: `https://yourorgsite.com`

Updates an instance of PaymentMethod by id

## Path parameters

- `PaymentMethodId` string, required

## Request body

- PaymentMethodData
  - `$type` 'Asi.Soa.Commerce.DataContracts.PaymentMethodData, Asi.Contracts', required: The DataType must be "Asi.Soa.Commerce.DataContracts.PaymentMethodData, Asi.Contracts"
  - `CSCRequired` boolean
  - `Currency` CurrencyData
    - `$type` 'Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts', required: The DataType must be "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts"
    - `CurrencyCode` string
    - `DecimalPositions` integer
  - `DataVaultAuthorizationGateway` string
  - `DataVaultGatewayAccountId` string
  - `DisplayName` string
  - `EnableTermsAndConditions` boolean
  - `FinancialEntityId` string
  - `GatewayAccountId` string
  - `GLAccountId` string
  - `IssueDateRequired` boolean
  - `IssueNumberRequired` boolean
  - `Message` string
  - `Name` string
  - `PaymentMethodId` string
  - `PaymentType` string
  - `TermsAndConditions` string

## Response `200`

The request was successful.

---

[API](https://skmtc.dev/imis/apis/payments.md) - [All operations](https://skmtc.dev/imis/apis/payments/llms.txt) - [OpenAPI document](https://skmtc.dev/imis/apis/payments/revisions/e0669f9d110b?raw)
