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/custom-fields

GET/v1/custom-fields
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
includeArchivedstring
Allowed:truefalse
Responses
200

Success

dataobjectrequired
Show properties
itemsobject[]required
Show properties
Array of object
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/custom-fields?environment=...&merchantAccountId=...&includeArchived=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "items": [
      {
        "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"
}

Was this page helpful?