Skip to main content
POST
Legacy update score

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login

Body

application/json

Legacy score-feedback payload built from full internal transaction objects. This is NOT the /update-gateway-score shape. txn_detail and txn_card_info must each carry a partitionKey key (value may be null), and their id fields are numeric strings.

txn_detail
object
required

Full internal transaction object. Note: partitionKey must be PRESENT in this object (it may be null). It is an Option field with a custom deserialize_with and no serde(default), so serde requires the key even though the value is nullable.

txn_card_info
object
required

Full internal card/payment-method object. Note: partitionKey must be PRESENT in this object (it may be null). It is an Option field with a custom deserialize_with and no serde(default), so serde requires the key even though the value is nullable.

log_message
string
required
Example:

"Transaction completed"

enforce_dynaic_routing_failure
boolean | null
gateway_reference_id
string | null
txn_latency
object | null

Response

200 - application/json

OK

The response is of type string.