Compatibility

Legacy update score

Changed on

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

post/update-score

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/update-score
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Request body

log_messagestring required
enforce_dynaic_routing_failureboolean nullable
gateway_reference_idstring nullable

Example request

{
  "txn_detail": {
    "id": "1",
    "netAmount": 1000,
    "currency": "USD"
  },
  "txn_card_info": {
    "id": "1",
    "txnDetailId": "1"
  },
  "log_message": "Transaction completed"
}

Response

OK

string required

Bare JSON string, not an object.

Example response

"Success"

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the response's body type changed from object to string for status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      endpoint added