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

---

[API](https://skmtc.net/0xpolygonid/apis/privado-id-issuer.md) · [All operations](https://skmtc.net/0xpolygonid/apis/privado-id-issuer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/0xpolygonid/privado-id-issuer/versions/8ea65174fe46/schema)
