---
title: "Replace Payment Method Handler"
method: POST
path: "/payments/payment-method/replace"
---

# Replace Payment Method Handler

`POST /payments/payment-method/replace`

## Headers

- `x-api-key` string

## Cookies

- `lmnt-auth0` string, nullable

## Request body

- ReplacePaymentMethodRequest
  - `payment_method_id` string, required

## Response `200`

Successful Response

- PaymentMethodResponse
  - `brand` string, required
  - `last4` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/lmnt/apis/yapster.md) · [All operations](https://skmtc.net/lmnt/apis/yapster/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lmnt/yapster/versions/f153248e1350/schema)
