---
title: "Link Wallet"
method: POST
path: "/api/account/wallets"
tags: ["account"]
---

# Link Wallet

`POST /api/account/wallets`

## 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`
- Auth: none declared

Links the wallet whose code (or 12-word phrase) is in `X-Wallet-Code` —
the code is the proof it is the caller's, as it is everywhere else. The
wallet goes on working with the code alone, and the account keeps the code,
encrypted, to show it back to its owner against the password. Linking a
wallet already on this account keeps its code again.

## Headers

- `X-Wallet-Code` string, nullable

## Response `200`

Successful Response

- object

## 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)
