ZenithPay iconZenithPay
API Reference

POST /agents/link

Link an existing agent address to a human owner EOA

Endpoint

POST https://api.usezenithpay.xyz/agents/link

Auth

No Bearer token. Linking is validated server-side.

Request body

{
  "agentAddress": "0x726cf0c4fe559db9a32396161694c7b88c60c947",
  "ownerAddress": "0xa44fa8ad3e905c8ab525cd0cb14319017f1e04e5"
}

Response shape (200)

{
  "agentAddress": "0x726cf0c4fe559db9a32396161694c7b88c60c947",
  "ownerAddress": "0xa44fa8ad3e905c8ab525cd0cb14319017f1e04e5"
}

Common errors

  • 409 conflict: agent already linked
  • 404 not_found: agent not found

On this page