---
title: "Changes to Create a partner hosted-checkout session"
method: POST
path: "/api/v1/partner/residency_applications/{id}/checkout_session"
---

# Changes to Create a partner hosted-checkout session

`POST /api/v1/partner/residency_applications/{id}/checkout_session`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 12 revisions.

- **2026-09-22** `d2c5a5cda002`: 8 info
- **2026-09-15** `197106eab8bc`: 3 breaking, 1 warning, 1 info

## Changes

- **2026-09-22** `d2c5a5cda002`: 8 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `409` status
  - added the optional property `code` to the response with the `429` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `code` to the response with the `503` status
- **2026-09-15** `197106eab8bc`: 3 breaking, 1 warning, 1 info
  - the `header` request parameter `Idempotency-Key` became required
  - for the `header` request parameter `Idempotency-Key`, the minLength was increased from `1` to `8`
  - added the pattern `^[A-Za-z0-9_.~-]+$` to the `header` request parameter `Idempotency-Key`
  - for the `header` request parameter `Idempotency-Key`, the maxLength was set to `128`
  - added the non-success response with the status `503`

---

[Operation](https://skmtc.dev/eprospera/apis/e-pro-spera-api/docs/api/v1/partner/residency_applications/:id/checkout_session/post.md) - [API](https://skmtc.dev/eprospera/apis/e-pro-spera-api.md) - [Page](https://skmtc.dev/eprospera/apis/e-pro-spera-api/changes/api/v1/partner/residency_applications/:id/checkout_session/post)
