---
title: "Register a worker payout wallet for x402 marketplace settlement"
method: POST
path: "/v1/payments/x402/worker-wallet"
tags: ["billing"]
---

# Register a worker payout wallet for x402 marketplace settlement

`POST /v1/payments/x402/worker-wallet`

## Request

- Base URL: `https://api.runx.ai`
- URL: `https://api.runx.ai/v1/payments/x402/worker-wallet`
- Auth: HTTP bearer

## Request body

- X402WorkerWalletRequest
  - `worker_principal_id` string, required
  - `rail` string, required
  - `address` string, required

## Response `200`

Registered x402 worker wallet.

- X402WorkerWalletEnvelope
  - `ok` unknown, required

## Other responses

- `400`: Validation error.
- `401`: Unauthorized.
- `403`: Payment write scope is required.
- `409`: Payout wallet is registered to another worker.
- `503`: x402 worker-wallet registry is not configured.

---

[API](https://skmtc.dev/runx/apis/runx-hosted-api.md) · [All operations](https://skmtc.dev/runx/apis/runx-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/runx/apis/runx-hosted-api/revisions/6c940d8edacc?raw)
