Skip to main content
PUT
/
stripe
/
collections
/
settings
/
{id}
Update Stripe collection settings for Sequence account
curl --request PUT \
  --url https://dev.seqhq.io/api/stripe/collections/settings/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "enableAutomaticPayments": false,
  "autoEnableStripePayments": true
}
'
{
  "id": "018f6b0c-7e89-7b4a-8e47-1b2e2d5a4f6c",
  "sequenceAccountId": "683fe518-60c8-429f-9320-8aa7efc20bcc",
  "enableAutomaticPayments": true,
  "autoEnableStripePayments": false
}

Headers

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Path Parameters

id
string
required

Stripe Collection Settings ID

Body

application/json
enableAutomaticPayments
boolean

Whether to automatically collect payments by default if payment details are available

Example:

false

autoEnableStripePayments
boolean

Whether to automatically enable Stripe payments for new billing schedules

Example:

true

Response

OK

id
string
required
Example:

"018f6b0c-7e89-7b4a-8e47-1b2e2d5a4f6c"

sequenceAccountId
string
required
Example:

"683fe518-60c8-429f-9320-8aa7efc20bcc"

enableAutomaticPayments
boolean
required

Whether to automatically collect payments by default if payment details are available

Example:

true

autoEnableStripePayments
boolean
required

Whether to automatically enable Stripe payments for new billing schedules

Example:

false