---
title: "Legacy update score"
method: POST
path: "/update-score"
tags: ["Compatibility"]
---

# Legacy update score

`POST /update-score`

Legacy compatibility route. New integrations should use /update-gateway-score.

## Request body

- UpdateGatewayScoreRequest
  - `merchantId` string, required
  - `gateway` string, required
  - `paymentId` string, required
  - `status` 'CHARGED' | 'AUTHENTICATION_FAILED' | 'AUTHORIZATION_FAILED' | 'JUSPAY_DECLINED' | 'FAILURE', required
  - `gatewayReferenceId` string
  - `enforceDynamicRoutingFailure` boolean

## Response `200`

OK

- GenericObject

## Changes

- **2026-04-25** `986e537b0455` — 1 info
  - endpoint added
- **2026-04-10** `9618544de91a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/juspay/apis/decision-engine/changes/update-score/post.md)

---

[API](https://skmtc.dev/juspay/apis/decision-engine.md) · [All operations](https://skmtc.dev/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/juspay/decision-engine/revisions/986e537b0455/schema)
