Authorize a settlement
Permissions required: Authorize Settlements
After your participant has proposed a settlement or accepted a settlement proposal, the details of the settlement must be authorized.
To authorize via API, the API key must have a special permission. Otherwise, authorization takes place in the app according to organization policy.
Api-Signature. Replace SETTLEMENT_ID in the path with the actual settlement ID before signing.
Authorizations
An API key associated with a security role
Headers
A hex-encoded Ed25519 signature of timestamp_epoch_seconds + uppercase(http_method) + request_path + request_body.
Construction example:
toHex(
ed25519Sign(
signing_key,
'{}{}{}{}'.format(timestamp_epoch_seconds, toUpper(httpMethod), httpRequestPath, httpBody)
)
)^[0-9A-Fa-f]{128,160}$Current timestamp, represented as unix epoch seconds
Path Parameters
ID of settlement to authorize
Query Parameters
ID of participant authorizing the settlement
Body
Settlement proposal

