Skip to main content
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 use tags to simulate sandbox mode: that is the /analyze/sandbox path.

More fields, more coverage

There is no minimum number of optional fields required — the engine scores with whatever it receives. But the more fields you send, the more signal categories are evaluated. There is no fixed relationship between how many fields you send and the result: two transactions with the same field coverage can end up with different decisions. Next step: Going to production.