---
title: "Changes to Validate Purchase Code"
method: POST
path: "/payments/purchases/validate-code"
---

# Changes to Validate Purchase Code

`POST /payments/purchases/validate-code`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 28 revisions.

- **2026-08-03** `f1fc76343c9e`: 1 info
- **2026-07-23** `c4c6162ab77f`: 6 breaking, 2 warning
- **2026-06-04** `6e758c13847f`: 2 breaking
- **2026-05-15** `180fda38d099`: 3 warning

## Changes

- **2026-08-03** `f1fc76343c9e`: 1 info
  - added the required property `replaces_stripe_subscription` to the response with the `200` status
- **2026-07-23** `c4c6162ab77f`: 6 breaking, 2 warning
  - the response property `charges_enabled` became nullable for the status `200`
  - the response property `product/client_metadata` became nullable for the status `200`
  - the response property `product/client_read_only_metadata` became nullable for the status `200`
  - the response property `product/server_metadata` became nullable for the status `200`
  - the response property `project_logo_url` became nullable for the status `200`
  - the response property `stripe_account_id` became nullable for the status `200`
  - added the new `undefined` enum value to the `project_logo_url` response property for the response status `200`
  - added the new `undefined` enum value to the `stripe_account_id` response property for the response status `200`
- **2026-06-04** `6e758c13847f`: 2 breaking
  - the response property `charges_enabled` became optional for the status `200`
  - the response property `stripe_account_id` became optional for the status `200`
- **2026-05-15** `180fda38d099`: 3 warning
  - added the new `custom` enum value to the `product/customer_type` response property for the response status `200`
  - added the new `team` enum value to the `product/customer_type` response property for the response status `200`
  - added the new `user` enum value to the `product/customer_type` response property for the response status `200`

---

[Operation](https://skmtc.dev/hexclave/apis/hexclave-rest-api-2/docs/payments/purchases/validate-code/post.md) - [API](https://skmtc.dev/hexclave/apis/hexclave-rest-api-2.md) - [Page](https://skmtc.dev/hexclave/apis/hexclave-rest-api-2/changes/payments/purchases/validate-code/post)
