Skip to main content
POST
/
v1
/
prices
/
{id}
/
version
Create a new price version
curl --request POST \
  --url https://revstack.dev/v1/prices/{id}/version \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 1,
  "currency": "<string>"
}
'
null

Path Parameters

id
string
required
Example:

"price_abc123"

Body

application/json
amount
integer
required
Required range: x >= 0
currency
string
Required string length: 3

Response

201 - application/json

New price version created

The response is of type unknown.