Update a price
update_priceModify a price's nickname, active status, refund terms, and metadata without changing its amount or model. Only works with test keys.
Instructions
Update a price.
Nickname, active, refund terms (refunds replaces them whole; what you leave out takes its default) and metadata. Amounts and the model never change.
Test keys only: refused with a live key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The object's id. | |
| active | No | ||
| refunds | No | Refund terms the buyer accepts at checkout. | |
| metadata | No | Your own key–value pairs (≤ 50 keys, values ≤ 500 characters). On an update they are merged in; an empty value removes its key. | |
| nickname | No |