sampled
updateSettlementById
updateSettlementById
Changed onAcknowledgement of settlement by updating with Settlement Id.
put/settlements/{id}
Request
- Base URL/v2 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
A valid Settlement Id.
Request body
Example request
{
"participants": [
{
"accounts": [
{
"reason": "reason",
"state": "SETTLED",
"externalReference": "external-reference-abc123"
}
]
}
]
}Response
Settlements updated.
Example response
{
"participants": [
{
"accounts": [
{
"state": "PENDING_SETTLEMENT"
}
]
}
]
}Changes
- breaking
added required request body
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking