at.marque.partner.getOrder
Poll an order created by createCheckout. Call it proxied through the user's PDS (atproto-proxy: did:web:marque.at#marque_registrar) with an at.marque.partnerApi-scoped token; only orders owned by the authenticated user (the JWT iss) are returned. Status flows awaitingPayment (user has not finished paying) -> paid -> provisioning -> provisioned (or failed). Poll every few seconds until provisioned or failed. Once provisioned, each item carries the registeredAt, expiresAt, and nameServers the partner needs to write the at.marque.domain and at.marque.dns records into the user's repository. Individual items can be failed even when the order is provisioned (a partial failure); check each item's status.
Details · query
| Kind | query |
|---|---|
| Authority | partner.marque.at |
| Indexed |
Query
query · GETParameters
query stringThe order id returned by createCheckout.
Output
application/jsoncheckoutUrl
string · uriHosted payment URL. Present while status is awaitingPayment so a partner can resume an interrupted checkout.
error
stringFailure reason when status is failed.
One entry per domain in the order, in the order submitted to createCheckout.
Echoes the requested order id.
Overall order status. awaitingPayment: the user has not completed Stripe checkout. paid: payment captured, registration queued. provisioning: registering with the registry. provisioned: all domains registered (individual items may still be failed). failed: the order could not be provisioned.
knownValues: awaitingPayment | paid | provisioning | provisioned | failed
Errors
NotFound
No order with that id is owned by the authenticated user.
#item
objectProperties
The fully qualified domain name.
maxLength: 253
expiresAt
string · datetimeWhen the registration expires. Present once the item is active. Write this into the at.marque.domain record.
nameServers
arrayAuthoritative nameservers assigned to the domain. Present once the item is active.
maxLength: 253
registeredAt
string · datetimeWhen the domain was registered upstream. Present once the item is active.
Per-domain provisioning status. pending: not yet registered. active: registered successfully. failed: registration failed for this domain.
knownValues: pending | active | failed
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
at.marque.partner.createCheckout
procedureCreate a hosted payment checkout to register one or more domains for the calling user.
-
Check availability and pricing for a batch of domains, for partner integrations.