---
title: "Changes to Update a stripe gateway"
method: PATCH
path: "/stripe_gateways/{stripeGatewayId}"
---

# Changes to Update a stripe gateway

`PATCH /stripe_gateways/{stripeGatewayId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 11 revisions.

- **2026-10-08** `71dbd5f83326`: 2 info
- **2026-09-19** `57ea5cf4622c`: 2 info
- **2026-07-13** `859097ed3fe6`: 1 breaking, 12 info

## Changes

- **2026-10-08** `71dbd5f83326`: 2 info
  - added the new optional request property `data/attributes/idempotency_window_mins`
  - added the optional property `data/attributes/idempotency_window_mins` to the response with the `200` status
- **2026-09-19** `57ea5cf4622c`: 2 info
  - added the new optional request property `data/attributes/_refresh_webhook_secrets`
  - added the new optional request property `data/attributes/_update_webhooks`
- **2026-07-13** `859097ed3fe6`: 1 breaking, 12 info
  - request property `data/type` was restricted to a list of enum values
  - added the new optional request property `data/attributes/_check`
  - added the new optional request property `data/attributes/_disable`
  - added the new optional request property `data/attributes/_enable`
  - added the new optional request property `data/attributes/auto_payments`
  - added the new optional request property `data/attributes/connected_account`
  - added the new optional request property `data/attributes/force_payments`
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/reference` became nullable
  - the request property `data/attributes/reference_origin` became nullable
  - the `type` request property default value `stripe_gateways` was removed
  - added the new `stripe_gateways` enum value to the request property `data/type`
  - added the media type `application/vnd.api+json` for the response with the status `200`

---

[Operation](https://skmtc.dev/commercelayer/apis/commerce-layer-api/docs/stripe_gateways/:stripeGatewayId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/stripe_gateways/:stripeGatewayId/patch)
