---
title: "Create Wallet"
method: POST
path: "/v1/workspaces/{workspace}/agents/{agent_id}/wallet"
tags: ["v1", "protected", "wallet"]
---

# Create Wallet

`POST /v1/workspaces/{workspace}/agents/{agent_id}/wallet`

Create a wallet for an agent.

## Path parameters

- `agent_id` string, uuid, required
- `workspace` string, required — Slug of the workspace the request acts in

## Request body

- CreateWalletRequest
  - `credentials` WalletCredentialsSchema
    - `mpp_tempo_key` string, nullable
    - `x402_private_key` string, nullable
  - `mpp_config` MPPConfigSchema
    - `chain_id` integer, nullable
    - `currency` string, nullable
    - `decimals` integer
    - `payment_method_types` string[]
    - `recipient` string, nullable
    - `rpc_url` string, nullable
    - `session_budget_usd` union, required
      - number
      - string
    - `stripe_profile_id` string, nullable
  - `service_budget_period` string
  - `service_budget_usd` union
    - number
    - string
  - `wallet_type` string, required
  - `x402_config` X402ConfigSchema
    - `facilitator_url` string
    - `network` string
    - `scheme` string
    - `signer_type` string

## Response `201`

Successful Response

- WalletResponse
  - `agent_id` string, required
  - `created_at` string, nullable
  - `has_credentials` boolean
  - `id` string, required
  - `mpp_config` object, nullable
  - `service_budget_period` string, required
  - `service_budget_usd` string, required
  - `status` string, required
  - `updated_at` string, nullable
  - `wallet_type` string, required
  - `x402_config` object, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `d3ad8e1a3681` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/workspaces/:workspace/agents/:agent_id/wallet/post.md)

---

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