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

GET /v1/products/{productId}/custom-fields

GET/v1/products/{productId}/custom-fields
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
productIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
itemsobject[]required
Show properties
Array of object
customFieldIdstringrequired
min length 1
ordernumberrequired
requiredbooleanrequired
fieldobjectrequired
Show properties
customFieldIdstringrequired
min length 1
slugstringrequired
min length 1
namestringrequired
min length 1
fieldTypestringrequired
Allowed:textnumberdatecheckboxselect
propertiesobjectrequired
Show properties
formLabelstring | null
Show properties
Any of:
string
string
null
null
formHelpTextstring | null
Show properties
Any of:
string
string
null
null
formPlaceholderstring | null
Show properties
Any of:
string
string
null
null
textareaboolean | null
Show properties
Any of:
boolean
boolean
null
null
minLengthnumber | null
Show properties
Any of:
number
number
null
null
maxLengthnumber | null
Show properties
Any of:
number
number
null
null
genumber | null
Show properties
Any of:
number
number
null
null
lenumber | null
Show properties
Any of:
number
number
null
null
optionsobject[] | null
Show properties
Any of:
object[]
Array of object
valuestringrequired
min length 1
labelstringrequired
min length 1
null
null
metadataobjectrequired
createdAtstringrequired
min length 1
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/products/:productId/custom-fields?environment=...&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "items": [
      {
        "customFieldId": "string",
        "order": 0,
        "required": true,
        "field": {
          "customFieldId": "string",
          "slug": "string",
          "name": "string",
          "fieldType": "text",
          "properties": {
            "formLabel": "string",
            "formHelpText": "string",
            "formPlaceholder": "string",
            "textarea": true,
            "minLength": 0,
            "maxLength": 0,
            "ge": 0,
            "le": 0,
            "options": [
              {
                "value": "string",
                "label": "string"
              }
            ]
          },
          "metadata": {
            "property1": "string",
            "property2": "string"
          },
          "createdAt": "string",
          "archivedAt": "string"
        }
      }
    ]
  },
  "requestId": "string"
}