Skip to main content
POST
Declare a custom field

Authorizations

X-API-Key
string
header
required

Body

name
string
required

Name of the attribute. Rules match it as custom_field_<name>, and ingest stores it under this spelling whatever casing it arrives in. Must be unique for your account, ignoring case

Maximum string length: 100
Pattern: ^[A-Za-z_][A-Za-z0-9_]*$
fieldType
enum<string>
required

Type the value is validated and stored as on ingest

  • STRING - String
  • NUMBER - Number
  • BOOLEAN - Boolean
  • DATE - Date
Available options:
STRING,
NUMBER,
BOOLEAN,
DATE
appliesTo
enum<string>
required

Ingest surface this field applies to, or all of them

  • ALL - All
  • BANK_PAYMENT - Bank Payment
  • CREDIT_CARD - Credit Card
  • CRYPTO_TRANSFER - Crypto Transfer
  • CUSTOM_EVENT - Custom Event
Available options:
ALL,
BANK_PAYMENT,
CREDIT_CARD,
CRYPTO_TRANSFER,
CUSTOM_EVENT
partnerId
string | null
write-only

Target partner id; honored only for multi-partner operators, ignored otherwise.

isRequired
boolean
default:false

Whether ingest rejects a matching transaction that omits this field. Declare it required only once your integration always sends it

description
string | null

Your own note on what the field holds

Maximum string length: 255

Response

201 - application/json
id
string<uuid>
required
read-only

Primary key

partnerId
integer
required
read-only
name
string
required
read-only

Field name; must match ^[A-Za-z_][A-Za-z0-9_]*$ and be unique per partner

fieldType
enum<string>
required

Data type of the field value

  • STRING - String
  • NUMBER - Number
  • BOOLEAN - Boolean
  • DATE - Date
Available options:
STRING,
NUMBER,
BOOLEAN,
DATE
appliesTo
enum<string>
required

Ingest module this field applies to

  • ALL - All
  • BANK_PAYMENT - Bank Payment
  • CREDIT_CARD - Credit Card
  • CRYPTO_TRANSFER - Crypto Transfer
  • CUSTOM_EVENT - Custom Event
Available options:
ALL,
BANK_PAYMENT,
CREDIT_CARD,
CRYPTO_TRANSFER,
CUSTOM_EVENT
isRequired
boolean
required
read-only

Whether ingest must supply this field

description
string | null
required
read-only

Optional human-readable description

createdAt
string<date-time>
required
read-only
updatedAt
string<date-time>
required
read-only