---
title: "Update"
method: PATCH
path: "/payments/{payment_id}/update/"
---

# Update

`PATCH /payments/{payment_id}/update/`

Activates or deactivates the specified payment method.

## Path parameters

- `payment_id` string, required

## Request body

- object
  - `live` boolean, required — Account status: active = True

## Response `200`

200

- object
  - `customer` string
  - `billing_address` string
  - `cc_number_ending` unknown
  - `public_id` string
  - `label` unknown
  - `token_id` string
  - `cc_holder` unknown
  - `cc_type` integer
  - `cc_exp_date` string
  - `payment_method` string
  - `live` boolean
  - `created` string
  - `last_updated` string

## Other responses

- `400` — 400
- `403` — 403
- `404` — 404

---

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