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

POST /v1/products

POST/v1/products
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
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
Request body
requiredapplication/json
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
namestringrequired
min length 1
descriptionstring | null
Show properties
Any of:
string
string
null
null
productIdstring | null
Show properties
Any of:
string
string
null
null
metadataobject | null
Show properties
Any of:
object
object
null
null
Responses
201

Success

dataobjectrequired
Show properties
productIdstringrequired
min length 1
namestringrequired
min length 1
activebooleanrequired
metadataobjectrequired
createdAtstringrequired
min length 1
descriptionstring | null
Show properties
Any of:
string
string
null
null
archivedAtstring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/products?environment=sandbox&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"productId":"prod_core","name":"Core","description":"Core subscription product"}'
Response
{
  "data": {
    "productId": "string",
    "name": "string",
    "active": true,
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "description": "string",
    "archivedAt": "string"
  },
  "requestId": "string"
}

Was this page helpful?