---
title: "Simulate Transaction Status Transition"
method: POST
path: "/test-data-generator/transactions/{transactionId}/status"
tags: ["Test Data Generator (Sandbox-only)"]
---

# Simulate Transaction Status Transition

`POST /test-data-generator/transactions/{transactionId}/status`

Change the status of an existing transaction in the sandbox environment from `PENDING` to `CONFIRMED`, `REVERSED` or `DECLINED`.
This endpoint is ONLY available on our sandbox environment and NOT on production. See [documentation](/docs/generate-test-transactions) for details.

Hint: The Pliant web app shows confirmed transactions as pending, since we only switch this status if the transaction is booked/settled. Keep this in mind when using this generator!

## Path parameters

- `transactionId` string, uuid, required

## Request body

- object
  - `status` 'CONFIRMED' | 'REVERSED' | 'DECLINED' — The new status of the transaction. The initial status of the transaction is `PENDING`. The status can be changed to `CONFIRMED` or `REVERSED` or `DECLINED`.

## Response `200`

Ok

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `429` — unresolved $ref
- `500` — unresolved $ref

---

[API](https://skmtc.dev/getpliant/apis/pliant-customer-api.md) · [All operations](https://skmtc.dev/getpliant/apis/pliant-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getpliant/pliant-customer-api/revisions/f3f589cfa718/schema)
