---
title: "Update a Payment Method"
method: PUT
path: "/v1/payment_methods/{id}"
---

# Update a Payment Method

`PUT /v1/payment_methods/{id}`

## Request

- Base URL: `https://api.paymongo.com`
- URL: `https://api.paymongo.com/v1/payment_methods/{id}`
- Auth: HTTP basic

Use secret API key to update a Payment Method

## Path parameters

- `id` string, required

## Headers

- `Content-Type` string

## Request body

- object
  - `data` object
    - `attributes` object
      - `type` string, required: The type of payment method. The only possible value is `card` for now.
      - `details` object
        - `cvc` string, required: CVC of the Credit/Debit Card.

## Response `200`

200

- object

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `f9ffaecbfe3d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/paymongo/apis/paymongo-api/changes/v1/payment_methods/:id/put.md)

---

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