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/{customFieldId}

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

Success

dataobjectrequired
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/custom-fields/:customFieldId?environment=...&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "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?