curl -X PUT https://xenarch.dev/v1/publishers/me/payout \
-H "Authorization: Bearer xk_pub_abc123..." \
-H "Content-Type: application/json" \
-d '{"payout_wallet": "0xnew_wallet_address..."}'
{
"confirmed": true,
"effective_at": "2023-11-07T05:31:56Z"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Publishers
Update Payout Wallet
Update the publisher’s USDC payout wallet address — all future x402 pay-per-crawl payments for this publisher will route to the new wallet on Base.
PUT
/
v1
/
publishers
/
me
/
payout
curl -X PUT https://xenarch.dev/v1/publishers/me/payout \
-H "Authorization: Bearer xk_pub_abc123..." \
-H "Content-Type: application/json" \
-d '{"payout_wallet": "0xnew_wallet_address..."}'
{
"confirmed": true,
"effective_at": "2023-11-07T05:31:56Z"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}curl -X PUT https://xenarch.dev/v1/publishers/me/payout \
-H "Authorization: Bearer xk_pub_abc123..." \
-H "Content-Type: application/json" \
-d '{"payout_wallet": "0xnew_wallet_address..."}'
Notes
- Wallet changes may have a 48-hour delay before activation (security measure)
- The pending wallet is stored in
payout_wallet_pendinguntil the delay passes - Cancel a pending change via
POST /v1/publishers/me/payout/cancel