at.marque.partner.createCheckout

Prices and validates the requested domains, ensures a registrant contact for the authenticated user, and returns a hosted checkout URL. Call this proxied through the user's PDS (atproto-proxy: did:web:marque.at#marque_registrar) with a token holding the at.marque.partnerApi permission set: the authenticated user (the JWT iss) becomes the owner of the domains and is billed by the selected payment provider. The owning DID is taken from that authenticated session, never from input. The end user completes payment on the provider's hosted page and is redirected to successUrl with an order query parameter (successUrl?order=<orderId>) on success, or to cancelUrl if they abandon. Domains are not registered until payment is confirmed; poll at.marque.partner.getOrder with the returned orderId for provisioning status, then write the at.marque.domain and at.marque.dns records into the user's repository yourself. Only new registrations are supported here (no transfers or renewals).

Repository @marque.at did:plc:nckosudltxrtrjkt4zz4jy5y namespace authority
Details · procedure
Kindprocedure
Authoritypartner.marque.at
Indexed

Procedure

procedure · POST

Input

application/json

cancelUrl

requiredstring · uri

Where the payment provider redirects if the user cancels.

items

requiredarray

Domains to register in this order, 1 to 50. Every domain must currently be available (verify with checkAvailability first); if any is unavailable or on an unsupported TLD the whole call fails.

  • minLength: 1
  • maxLength: 50
itemsref
Reference

Hosted payment provider. Defaults to stripe when omitted. Use paypal for PayPal checkout or nowpayments for cryptocurrency checkout.

  • knownValues: stripe | paypal | nowpayments

registrant

requiredref
Reference

successUrl

requiredstring · uri

Where the payment provider redirects after successful payment. An order parameter carrying the order id is appended.

Output

application/json

checkoutUrl

requiredstring · uri

Hosted checkout URL from the selected payment provider.

currency

requiredstring

ISO 4217 currency code of subtotalCents. Currently always usd.

orderId

requiredstring

Opaque order id; pass to getOrder to poll status.

paymentMethod

requiredstring

Payment provider selected for this order.

  • knownValues: stripe | paypal | nowpayments

subtotalCents

requiredinteger

Order subtotal in cents, before provider-specific tax or conversion adjustments. The amount shown on the hosted page may be higher.

taxCents

integer

Tax charged in cents. Zero when tax is calculated by the hosted provider.

totalCents

integer

Checkout total in cents, including tax known when the checkout is created.

Errors

InvalidRequest

The request is malformed: no items, too many items (max 50), or an item with an invalid domain.

Unavailable

A requested domain cannot be registered: it is taken, on an unsupported TLD, or could not be verified with the registry. The message identifies the domain.

InvalidRegistrant

The registrant is missing a required field (including state/province where the country requires it) or is missing an extra field a specific TLD mandates. The message names what is missing.

InvalidCallback

successUrl or cancelUrl is not a valid absolute https URL.

InvalidPaymentMethod

paymentMethod is not stripe, paypal, or nowpayments.

PaymentMethodUnavailable

The selected payment provider is not configured.

PaymentAmountTooLow

NOWPayments was selected but the order total is below the configured crypto minimum.

PaymentProviderError

The selected payment provider could not create a hosted checkout.

#item

object

Properties

autoRenew

boolean

Mark the domain to auto-renew before expiry using the user's saved payment method. Defaults to false. Auto-renewal is charged separately from this order.

domain

requiredstring

Fully qualified domain name to register.

  • maxLength: 253

Whether to redact the registrant's details from public WHOIS. Defaults to true (privacy on) when omitted; set false to publish the registrant's contact data. Silently ignored for TLDs that do not allow it, and for TLDs whose registry redacts WHOIS regardless (see whoisPrivacyAllowed from listPricing / checkAvailability).

years

integer

Registration period in years. Defaults to the TLD minimum.

  • minimum: 1
  • maximum: 10

#registrant

object

The person or organization that will own the domains (the WHOIS registrant). Marque creates one registrant contact from these fields and uses it as the registrant, admin, tech, and billing contact for every domain in this order. Collect these in the partner's UI; the end user never visits Marque. All names and addresses must be real and accurate. Most gTLDs require the registrant email to be verifiable, so a registry verification email may be sent to it after registration; an unverified address can cause some TLDs to suspend the domain until confirmed. Certain TLDs require extra fields beyond these (for example a tax/VAT or national ID); those orders fail with InvalidRegistrant naming the missing field, and are not yet supported through this endpoint.

Properties

city

requiredstring

City or locality.

  • maxLength: 255

Optional. Company/commercial register number. Required by some TLDs when registering to an organization (organization set).

  • maxLength: 64

country

requiredstring

ISO 3166-1 alpha-2 country code, uppercase, e.g. US, GB, DE. Determines which address/state rules apply.

  • minLength: 2
  • maxLength: 2

email

requiredstring

Registrant email. Must be a real, monitored address: registries may send a verification message here, and registry/transfer notifications go to it.

  • maxLength: 320

firstName

requiredstring

Registrant's legal given name.

  • maxLength: 255

lastName

requiredstring

Registrant's legal family name.

  • maxLength: 255

Optional. If set, the domain is registered to this organization rather than an individual. Leave empty for a personal registration.

  • maxLength: 255

Optional. Passport or national identity document number. Required by a few ccTLDs for individual registrants.

  • maxLength: 64

Optional area/city code, for regions that use one separately from the subscriber number.

  • maxLength: 16

phoneCountryCode

requiredstring

International calling code with a leading plus, e.g. +1 for US/CA or +44 for UK. Required.

  • maxLength: 8

phoneSubscriber

requiredstring

Local subscriber number, digits only. Combined with phoneCountryCode (and phoneAreaCode) to form the full phone number. Required.

  • maxLength: 32

Optional. National identification / social security number, where a TLD mandates it (e.g. certain Nordic or Latin American ccTLDs). Handle as sensitive data.

  • maxLength: 64

state

string

State, province, or region. Required for countries that mandate one (e.g. US, CA, AU, BR); send the full name or its ISO 3166-2 code (e.g. 'California' or 'CA'). Omit for countries that do not use one.

  • maxLength: 255

street

requiredstring

Street address including house/building number, e.g. '123 Main St'.

  • maxLength: 255

taxIdType

string

Optional. Type of the tax identifier in taxIdValue, e.g. 'vat' for an EU VAT number or a registry-specific code. Send together with taxIdValue. Some TLDs (notably several EU ccTLDs registered to an organization) require a VAT number.

  • maxLength: 32

Optional. The tax identifier itself, e.g. an EU VAT number like DE123456789. Paired with taxIdType.

  • maxLength: 64

zipcode

requiredstring

Postal/ZIP code. Required even where the country's format is loose.

  • maxLength: 32

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.