---
title: "Changes to Update a braintree payment"
method: PATCH
path: "/braintree_payments/{braintreePaymentId}"
---

# Changes to Update a braintree payment

`PATCH /braintree_payments/{braintreePaymentId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 2 breaking, 2 warning, 9 info

## Changes

- **2026-07-13** `859097ed3fe6`: 2 breaking, 2 warning, 9 info
  - added the new required request property `data/relationships/order/data`
  - request property `data/type` was restricted to a list of enum values
  - removed the request property `data/relationships/order/id`
  - removed the request property `data/relationships/order/type`
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/options` became nullable
  - the request property `data/attributes/payment_id` became nullable
  - the request property `data/attributes/payment_method_nonce` 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_payments` was removed
  - added the new `braintree_payments` 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_payments/:braintreePaymentId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/braintree_payments/:braintreePaymentId/patch)
