---
title: "Update payment method"
method: PATCH
path: "/v1/payment_methods/{payment_method_id}"
tags: ["Payment Methods"]
---

# Update payment method

`PATCH /v1/payment_methods/{payment_method_id}`

Update supported fields on a payment method. Only fields included in the payload will be updated. Omitted fields will not be updated.

## Parameters

- `#/paths/~1v1~1payins/get/parameters/0` — unresolved $ref
- `#/paths/~1v1~1payment_methods~1%7Bpayment_method_id%7D/get/parameters/1` — unresolved $ref

## Request body

- object — The fields that can be updated on a payment method.
  - `billable_merchant_id` BillableMerchantId — unresolved $ref
  - `billing_contact` object, nullable — Billing contact details. To remove a field, set the value to `null`.
    - `name` string, nullable — First and last name.
    - `address_line_1` AddressLine1 — unresolved $ref
    - `address_line_2` AddressLine2 — unresolved $ref
    - `city` City — unresolved $ref
    - `state` State — unresolved $ref
    - `postal_code` PostalCode — unresolved $ref
    - `country` Country — unresolved $ref
    - `email` string, nullable — Email address.
    - `phone` string, nullable — Phone number, including extension.

## Response `200`

OK

- object
  - `status` Status — unresolved $ref
  - `data` Data — unresolved $ref
  - `errors` Errors — unresolved $ref

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — unresolved $ref
- `5XX` — unresolved $ref

---

[API](https://skmtc.dev/rainforestpay/apis/authentication.md) · [All operations](https://skmtc.dev/rainforestpay/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rainforestpay/authentication/revisions/529a0dab0f90/schema)
