{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-payment-method-update-schema.json",
  "title": "Payment method update",
  "description": "Fields to update on a saved payment method.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revolut-customers-api-openapi.yml#/components/schemas/Payment-Method-Update",
  "type": "object",
  "properties": {
    "saved_for": {
      "type": "string",
      "enum": [
        "customer"
      ],
      "description": "Update the value of `saved_for` from `merchant` to `customer`.\n\nOnce updated, this payment method can no longer be used for merchant-initiated transactions (MIT). It can only be used when the customer is present on the checkout page.\n\n| Value | Description |\n| ----- | ----------- |\n| `customer` | Restrict this payment method to customer-initiated transactions only. |"
    }
  }
}