---
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 29 revisions.

- **2026-08-03** `2f21a754b405`: 1 info
- **2026-07-23** `ae5572197e85`: 6 breaking, 2 warning
- **2026-06-04** `dcc0a61a98a6`: 2 breaking
- **2026-05-15** `f6aec844c9f2`: 3 warning

## Changes

- **2026-08-03** `2f21a754b405`: 1 info
  - added the required property `replaces_stripe_subscription` to the response with the `200` status
- **2026-07-23** `ae5572197e85`: 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** `dcc0a61a98a6`: 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** `f6aec844c9f2`: 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-3/docs/payments/purchases/validate-code/post.md) - [API](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3.md) - [Page](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3/changes/payments/purchases/validate-code/post)
