---
title: "Revert wallet load"
method: POST
path: "/v1/wallets/{id}/transactions/{transactionId}/revert"
tags: ["Wallets"]
---

# Revert wallet load

`POST /v1/wallets/{id}/transactions/{transactionId}/revert`

Revert a credit wallet transaction. Voids the related credit note/document and creates a debit transaction.

## Path parameters

- `id` string, required
- `transactionId` string, required

## Response `200`

The debit transaction created by the revert

- WalletTransaction
  - `id` string, required — Wallet transaction ID.
  - `type` 'credit_free' | 'credit_paid' | 'debit', required — Wallet transaction type.
  - `amount` number, required — Amount of the wallet transaction.
  - `comment` string, nullable, required — Internal comment stored on the wallet transaction.
  - `invoice_id` string, nullable, required — Generated invoice ID for the transaction. Only applies for `credit_paid` and `debit`.
  - `original_transaction_id` string, nullable, required — The ID of the original wallet transaction that was reverted by this transaction.
  - `reverted_by` string, nullable, required — The ID of the wallet transaction that reverted this transaction.
  - `created_at` string, date-time, required — UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.

## Other responses

- `404` — Wallet or transaction not found

---

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