/cli/ needs a key scoped to all, domain, or reselling. Changes need read_write.
Domain purchase flow
Search domains
POST /domains/search
Search and catalog endpoints
check-availability takes the name and TLD apart, for example {"name":"pxxl","tld":"cv"}.
Create a registrant contact
POST /cli/contacts
Optional fields: organization, address2, and isDefault.
201
Contact endpoints
Create a domain purchase
POST /cli/domainprovider/domain/register
201
Search again immediately before purchase. Availability and pricing can change.
Get a payment URL
GET /cli/domainprovider/invoice/{invoiceId}/payment-url
Connect a domain
POST /cli/domains
dnsRecords at your DNS provider, then call /cli/domains/checkrecord. A plan without custom domains returns 403 with code DOMAIN_LIMIT_EXCEEDED.
Connected domain endpoints
Some routes take the domain’s ID (fromdomainId or /cli/domains). Others take the hostname. The table says which.
DNS records
DNS records can be changed only on domains bought through Pxxl that use Pxxl DNS. Other domains return403 with DNS records are read-only for this domain. Paths take the domain ID.
Reseller endpoints
Selling domains to your own users? The reseller API at/api/v3/domain-reseller takes a reseller key and charges your wallet. See Domain reseller.

