sampled
updateSettlementById

updateSettlementById

Changed on

Acknowledgement of settlement by updating with Settlement Id.

put/settlements/{id}

Request

Path parameters

idinteger required

A valid Settlement Id.

Request body

state'ABORTED' | 'INVALID'
reasonstring
externalReferencestring

Example request

{
  "participants": [
    {
      "accounts": [
        {
          "reason": "reason",
          "state": "SETTLED",
          "externalReference": "external-reference-abc123"
        }
      ]
    }
  ]
}

Response

Settlements updated.

idinteger
statestring

Example response

{
  "participants": [
    {
      "accounts": [
        {
          "state": "PENDING_SETTLEMENT"
        }
      ]
    }
  ]
}

Changes

    • breaking

      added required request body

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status