---
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}`

Gets a payment Method that corresponds to a customer ID.

## Path parameters

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

## Headers

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

## Request body

- UpdatePaymentMethodsCard
  - `name` string — The name of the payment method holder
  - `expires_at` integer — The expiration date of the payment method in Unix timestamp format

## Response `200`

successful operation

## Other responses

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

---

[API](https://skmtc.net/conekta/apis/conekta-api.md) · [All operations](https://skmtc.net/conekta/apis/conekta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conekta/conekta-api/revisions/029df3052bca/schema)
