---
title: "Changes to Update a braintree gateway"
method: PATCH
path: "/braintree_gateways/{braintreeGatewayId}"
---

# Changes to Update a braintree gateway

`PATCH /braintree_gateways/{braintreeGatewayId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 11 revisions.

- **2026-10-08** `71dbd5f83326`: 2 info
- **2026-07-13** `859097ed3fe6`: 2 breaking, 2 warning, 13 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-07-13** `859097ed3fe6`: 2 breaking, 2 warning, 13 info
  - added the new required request property `data/relationships/braintree_payments/data`
  - request property `data/type` was restricted to a list of enum values
  - removed the request property `data/relationships/braintree_payments/id`
  - removed the request property `data/relationships/braintree_payments/type`
  - 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/force_payments`
  - the request property `data/attributes/descriptor_name` became nullable
  - the request property `data/attributes/descriptor_phone` became nullable
  - the request property `data/attributes/descriptor_url` became nullable
  - 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 `braintree_gateways` was removed
  - added the new `braintree_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/braintree_gateways/:braintreeGatewayId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/braintree_gateways/:braintreeGatewayId/patch)
