---
title: "Update Payment Method"
method: PUT
path: "/customers/{id}/payment_sources/{payment_method_id}"
tags: ["Payment Methods"]
---

# Update Payment Method

`PUT /customers/{id}/payment_sources/{payment_method_id}`

Updates a specific payment method of a customer. Use this endpoint to modify the payment method identified by `payment_method_id` for the customer identified by `id`. The fields that can be updated depend on the payment method `type`.

## Path parameters

- `id` string, required
- `payment_method_id` string, required

## Headers

- `Accept-Language` 'es' | 'en'
- `X-Child-Company-Id` string

## Request body

- UpdatePaymentMethods
  - `name` string

## Response `200`

successful operation

## Other responses

- `401` — authentication error
- `404` — not found entity
- `422` — parameter validation error
- `500` — internal server error

---

[API](https://skmtc.dev/digitalfemsa/apis/femsa-api.md) · [All operations](https://skmtc.dev/digitalfemsa/apis/femsa-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/digitalfemsa/femsa-api/revisions/2e43caddf36b/schema)
