POST /analyze accepts a flat object with the transaction data. Four fields are
required; the rest are optional, and each one enables an additional signal category.
Required fields
The canonical name you should send is
payment_method. paymentInstrumentType is the
same concept under another name in the JSON, not a second field. Values and rails:
Payment methods.
Optional fields
auth_response_code is also accepted as response_code (same field).
device_id, ip_address, and user_id, besides enabling their direct categories, are
also the basis on which velocity signals are calculated across transactions —
there is no single field that activates that category on its own.Other accepted fields
created_at(optional, ISO 8601): the transaction timestamp. If you do not send it, the time of the request is used.is_chargeback,is_friendly_fraud: historical outcome labels, useful for retraining — they are not scoring signals.extra_fields,tags: they do not take part in scoring; they are stored as additional transaction information. Do not usetagsto simulate sandbox mode: that is the/analyze/sandboxpath.