---
title: "Update Payment Option"
method: PATCH
path: "/v2/identities/{identifier}/payment/options/{id}"
tags: ["Payment"]
---

# Update Payment Option

`PATCH /v2/identities/{identifier}/payment/options/{id}`

Update payment option for the provided identity.

## Path parameters

- `identifier` string, required
- `id` string, required

## Request body

- UpdatePaymentOptionRequest
  - `name` string
  - `description` string
  - `paymentOptions` PaymentOptionConfigItem[]
    - `paymentOptionID` integer, required
    - `amount` string, required
    - `recipient` string, required
    - `signingKeyID` string, required — base64 encoded keyID
    - `expiration` string, date-time — Expiration date for the payment option, if not set the 1 hour from the creation date will be used

## Response `200`

Schema information

- GenericMessage
  - `message` string, required

## Other responses

- `400` — Bad Request
- `404` — Not found
- `500` — Internal Server error

## Changes

- **2025-01-13** `3689936cd8ce` — 1 info
  - endpoint added
- **2024-12-02** `a71b9e9bd838` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/changes/v2/identities/:identifier/payment/options/:id/patch.md)

---

[API](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer.md) · [All operations](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/llms.txt) · [OpenAPI document](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/revisions/8ea65174fe46?raw)
