Merchant API 密钥
在 Business 个人菜单 → 开发者 → API 密钥中创建 Merchant API 密钥。GET /v1/me 返回该密钥的 orgId、apiKeyId 和权限。Merchant API 密钥是服务端凭据。
智能体钱包密钥
智能体钱包密钥是为单个智能体钱包创建的 P-256 签名密钥包:
签名覆盖以下内容的 SHA-256 摘要:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
安全使用 Merchant API 密钥、智能体钱包签名和遥测密钥。
curl https://merchant-api-prod.anyway.sh/v1/me \
-H "X-API-Key: ak_YOUR_API_KEY"
GET /v1/me 返回该密钥的 orgId、apiKeyId 和权限。Merchant API 密钥是服务端凭据。
export ANYWAY_AGENT_WALLET_KEY="<base64url key bundle>"
anyway wallets agents whoami
| 请求头 | 值 |
|---|---|
X-Agent-Pubkey | Base64 SPKI P-256 公钥 |
X-Agent-Timestamp | 当前 Unix 时间戳 |
X-Agent-Signature | Base64 DER ECDSA 签名 |
METHOD
/request/path
unix_timestamp