---
title: "Auto recover the status of checkout session"
method: POST
path: "/api/v1/checkout/sessions/{id}/auto-recover"
tags: ["Checkout Sessions"]
---

# Auto recover the status of checkout session

`POST /api/v1/checkout/sessions/{id}/auto-recover`

Auto recover the status of checkout session with its transaction hash

## Path parameters

- `id` string, required

## Request body

- RequestAutoRecoverCheckoutSessionDto
  - `chainId` number, required — Chain ID
  - `transactionHash` string, required — Transaction hash

## Response `200`

- SuccessDto
  - `message` string, required
  - `statusCode` number, required

## Other responses

- `500`

---

[API](https://skmtc.net/copperx/apis/copperx-api-2.md) · [All operations](https://skmtc.net/copperx/apis/copperx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/copperx/copperx-api-2/versions/c0bfbc37fb98/schema)
