---
title: "update a payment method"
method: PUT
path: "/payment-methods/channels/payment-methods/{id}"
tags: ["payment-methods-users"]
---

# update a payment method

`PUT /payment-methods/channels/payment-methods/{id}`

## Path parameters

- `id` string, required

## Request body

- PaymentMethodUpdateRequest
  - `data` object, required — Can be used to store the required fields and their values for a payment method created by a user.
  - `otp` string — Otp code to verify if user exists

## Response `200`

Success

- PaymentMethod
  - `paymentMethodId` string, required — Id of the payment method
  - `userId` string, required — Id of the owner of a payment method
  - `paymentChannelId` string, required — Payment Channel's id
  - `paymentChannelName` string, required — Payment Channel's name
  - `paymentChannelType` string, required — The type of the payment channel
  - `defaultCurrencyMap` object — map of currencies set as default - A payment method can belong to a channel that supports multiple currencies - This contains a map currency symbols to boolean to indicate if method is default for the currency
  - `data` object, required — Can be used to store the required fields and their values for a payment method created by a user.
  - `isBeneficiary` boolean — Flag indicating if the payment method is a beneficiary account or owned by user. Beneficiary accounts CANNOT be used to process P2P trades.

## Other responses

- `400` — Bad request
- `401` — Unauthorized request
- `404` — Not found
- `500` — Server error

## Changes

- **2026-07-26** `a3c4e2742615` — 2 info
  - the endpoint scheme security `HMACAuth` was added to the API
  - the endpoint scheme security `authToken` was removed from the API

[Change history](https://skmtc.dev/nestechops/apis/onboard-external-api-gateway/changes/payment-methods/channels/payment-methods/:id/put.md)

---

[API](https://skmtc.dev/nestechops/apis/onboard-external-api-gateway.md) · [All operations](https://skmtc.dev/nestechops/apis/onboard-external-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nestechops/onboard-external-api-gateway/revisions/76329919f8a7/schema)
