v1

latestOpenAPI 3.0.02026-07-2412592575.3 KB
notification thresholds

Update a single notification threshold

Requires accounts:read and either of accounts:write or accounts:write:all scopes.

patch/accounts/{accountId}/notification-thresholds/{thresholdId}

Path parameters

accountIdstring uuid required

The Account Id

thresholdIdstring uuid required

The Threshold Id

Request body

valueinteger required

The value of the threshold in minor units of the currency, eg. pennies for GBP.

type'gt' | 'lt' required

The type of threshold, either great than or less than

Example request

{
  "value": 10000,
  "type": "lt"
}

Response

Successful Notification Threshold Response

metaobject

Example response

{
  "data": {
    "id": "199cae84-6876-4dc6-b905-9de7593be6d0",
    "value": 10000,
    "type": "lt"
  }
}