Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview

PATCH /v1/prices/{priceId}

PATCH/v1/prices/{priceId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
priceIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Header parameters
Idempotency-Keystring

Required for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.

min length 1
Responses
200

Success

dataobjectrequired
Show properties
priceIdstringrequired
min length 1
productIdstringrequired
min length 1
namestringrequired
min length 1
priceTypestringrequired
Allowed:fixed_recurringfixed_one_timeusage_meteredpay_what_you_wantfreecredit_grantcredit_top_up
currencystringrequired
min length 1
metadataobjectrequired
createdAtstringrequired
min length 1
billingIntervalstring | null
Show properties
Any of:
string
string
null
null
billingIntervalCountnumber | null
Show properties
Any of:
number
number
null
null
unitAmountnumber | null
Show properties
Any of:
number
number
null
null
meterIdstring | null
Show properties
Any of:
string
string
null
null
tiersobject[] | null
Show properties
Any of:
object[]
Array of object
unitAmountnumberrequired
upTonumber | null
Show properties
Any of:
number
number
null
null
null
null
packageAmountnumber | null
Show properties
Any of:
number
number
null
null
packageSizenumber | null
Show properties
Any of:
number
number
null
null
archivedAtstring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/prices/:priceId?environment=...&merchantAccountId=..." \
  -X PATCH \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "priceId": "string",
    "productId": "string",
    "name": "string",
    "priceType": "fixed_recurring",
    "currency": "string",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "billingInterval": "day",
    "billingIntervalCount": 0,
    "unitAmount": 0,
    "meterId": "string",
    "tiers": [
      {
        "unitAmount": 0,
        "upTo": 0
      }
    ],
    "packageAmount": 0,
    "packageSize": 0,
    "archivedAt": "string"
  },
  "requestId": "string"
}

Was this page helpful?