Account Settings

Update payment settings for Sequence account

Changed on

Updates payment settings for the current Sequence accounts.

put/payments/settings/{id}

Request

  • Base URL
    https://sandbox.sequencehq.com/api
  • URL
    https://sandbox.sequencehq.com/api/payments/settings/{id}
  • Auth
    none declared. Required headers: Authorization

Path parameters

idstring required

Account Payment Settings ID

Headers

Authorizationstring required

Your API credentials. Eg. Basic {credentials}.

sequence-version'2024-07-30'

Use this header to select an API version

Request body

Example request

{
  "failureNotifications": {
    "merchantNotifications": "DO_NOT_SEND_NOTIFICATIONS",
    "customerNotifications": "DO_NOT_SEND_NOTIFICATIONS"
  }
}

Response

OK

idstring required

The ID of the account's payment settings

Example response

{
  "id": "e095e00f-36af-44c9-8c53-3e25677ce8ce",
  "failureNotifications": {
    "merchantNotifications": "SEND_NOTIFICATIONS",
    "customerNotifications": "SEND_NOTIFICATIONS"
  }
}

Changes

    • breaking

      added the new required header request parameter Authorization

    • warning

      deleted the header request parameter Sequence-Version

    • info

      added the new optional header request parameter sequence-version