---
title: "Reveal Wallet Code"
method: POST
path: "/api/account/wallets/{wallet_id}/code"
tags: ["account"]
---

# Reveal Wallet Code

`POST /api/account/wallets/{wallet_id}/code`

## Request

- Base URL: `https://esimker.com` (the document declares no server; this is the origin it was published from)
- URL: `https://esimker.com/api/account/wallets/{wallet_id}/code`
- Auth: none declared

A linked wallet's code and 12-word phrase, for the account's owner.

Asks for the current password, not just the session: the session reads a
wallet but cannot spend it, and the code can — a stolen session must not
be one step from the balance. A wrong password counts against the account
like a wrong login, and a right one is followed by a letter to the
account's address: whoever read the code keeps it, so the owner hears.
`409 code_unavailable` when no code is kept: linking the wallet again with
its code keeps it.

## Path parameters

- `wallet_id` integer, required

## Request body

- RevealIn
  - `password` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/esimker/apis/esimker-api.md) · [All operations](https://skmtc.dev/esimker/apis/esimker-api/llms.txt) · [OpenAPI document](https://skmtc.dev/esimker/apis/esimker-api/revisions/13ea312e6990?raw)
