at.marque.partner.getOrder
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"item": {
"properties": {
"domain": {
"description": "The fully qualified domain name.",
"maxLength": 253,
"type": "string"
},
"expiresAt": {
"description": "When the registration expires. Present once the item is active. Write this into the at.marque.domain record.",
"format": "datetime",
"type": "string"
},
"nameServers": {
"description": "Authoritative nameservers assigned to the domain. Present once the item is active.",
"items": {
"maxLength": 253,
"type": "string"
},
"type": "array"
},
"registeredAt": {
"description": "When the domain was registered upstream. Present once the item is active.",
"format": "datetime",
"type": "string"
},
"status": {
"description": "Per-domain provisioning status. pending: not yet registered. active: registered successfully. failed: registration failed for this domain.",
"knownValues": [
"pending",
"active",
"failed"
],
"type": "string"
}
},
"required": [
"domain",
"status"
],
"type": "object"
},
"main": {
"description": "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.",
"errors": [
{
"description": "No order with that id is owned by the authenticated user.",
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"checkoutUrl": {
"description": "Hosted payment URL. Present while status is awaitingPayment so a partner can resume an interrupted checkout.",
"format": "uri",
"type": "string"
},
"error": {
"description": "Failure reason when status is failed.",
"type": "string"
},
"items": {
"description": "One entry per domain in the order, in the order submitted to createCheckout.",
"items": {
"ref": "#item",
"type": "ref"
},
"type": "array"
},
"orderId": {
"description": "Echoes the requested order id.",
"type": "string"
},
"status": {
"description": "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"
],
"type": "string"
}
},
"required": [
"orderId",
"status",
"items"
],
"type": "object"
}
},
"parameters": {
"properties": {
"orderId": {
"description": "The order id returned by createCheckout.",
"type": "string"
}
},
"required": [
"orderId"
],
"type": "params"
},
"type": "query"
}
},
"description": "Get the status of a partner checkout order and the resulting domain details.",
"id": "at.marque.partner.getOrder",
"lexicon": 1
}
Metadata
- DID
-
did:plc:nckosudltxrtrjkt4zz4jy5y - CID
-
bafyreicayaoo3ko3v23hewfsficlg7epgekuti7jqc5y7j6ubynqrybgv4 - Indexed At
- 2026-08-23 03:47 UTC
- AT-URI
-
at://did:plc:nckosudltxrtrjkt4zz4jy5y/com.atproto.lexicon.schema/at.marque.partner.getOrder
Version History (4 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
at.marque.partner.createCheckout procedure
Create 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.