Merchants
POST/v1/claims

Start merchant claim

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/claims" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"domain":"merchant.example.com","network":"eip155:84532","payto":"string"}'

Starts claiming a merchant by domain and payTo on a Solana or EVM network, returning the payTo challenge to sign and the domain token to publish. Console session or API key with merchant:manage (or the owner of a standard organization); 409 if another organization owns the domain.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/claimsBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Body

application/json · required. Fields are listed under Request body below.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Request Body

application/json
  1. body
domain*Domain
network*Network

Network as a CAIP-2 id, for example eip155:84532 (Base Sepolia) or solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 (Solana devnet).

payto*Payto

Response Body

Success.

application/json
  1. response
claim*
challenge*Challenge

Message to sign with the payTo address key to prove control of it.

domain_token*Domain Token

Token to publish at /.well-known/uapg.json or in a DNS TXT record on _uapg..

instructions*
[key: string]?any