PUT
/
payments
/
settings
/
{id}
curl --request PUT \
  --url https://eu.sequencehq.com/api/payments/settings/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "failureNotifications": {
    "merchantNotifications": "DO_NOT_SEND_NOTIFICATIONS",
    "customerNotifications": "DO_NOT_SEND_NOTIFICATIONS"
  }
}'
{
  "id": "e095e00f-36af-44c9-8c53-3e25677ce8ce",
  "failureNotifications": {
    "merchantNotifications": "SEND_NOTIFICATIONS",
    "customerNotifications": "SEND_NOTIFICATIONS"
  }
}

Headers

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Path Parameters

id
string
required

Account Payment Settings ID

Body

application/json
failureNotifications
object
required

The failure notification settings for the account

Example:
{
  "merchantNotifications": "SEND_NOTIFICATIONS",
  "customerNotifications": "SEND_NOTIFICATIONS"
}

Response

200
application/json
OK
id
string
required

The ID of the account's payment settings

Example:

"e095e00f-36af-44c9-8c53-3e25677ce8ce"

failureNotifications
object
required

The failure notification settings for the account

Example:
{
  "merchantNotifications": "SEND_NOTIFICATIONS",
  "customerNotifications": "SEND_NOTIFICATIONS"
}