{"info":{"title":"Namefi API","version":"next"},"servers":[{"description":"Live Server","url":"https://api.namefi.io/v-next/"}],"tags":[{"name":"dns"},{"name":"domain-config"},{"name":"orders"},{"name":"user"},{"name":"balance"},{"name":"search"},{"name":"outbound"},{"name":"eip712"},{"name":"oauth"}],"security":[{"apiKeyAuth":[]},{"bearerAuth":[]}],"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","name":"x-api-key","in":"header"},"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"parameters":{"Eip7702AccountHeader":{"name":"x-namefi-eip7702-account","in":"header","required":false,"schema":{"type":"string"},"description":"Optional delegated account address to authenticate as when the signer is an approved signer. Preferred header name."},"Eip1271AccountHeader":{"name":"x-namefi-eip1271-account","in":"header","required":false,"schema":{"type":"string"},"description":"Legacy alias for x-namefi-erc1271-account. When multiple delegated account headers are present, x-namefi-eip7702-account takes precedence, then x-namefi-erc1271-account."},"Erc1271AccountHeader":{"name":"x-namefi-erc1271-account","in":"header","required":false,"schema":{"type":"string"},"description":"Optional delegated account address to authenticate as when the signer is an approved signer. Preferred ERC-1271 header name."}}},"openapi":"3.1.1","paths":{"/dns/records":{"get":{"operationId":"getDnsRecords","summary":"Get DNS records","description":"Retrieve all DNS records for a specified domain zone. Returns an array of DNS records including A, AAAA, CNAME, MX, TXT, and other record types.","tags":["dns"],"parameters":[{"name":"payloadType","in":"query","required":false,"schema":{"const":"ZoneSelect"},"allowEmptyValue":true,"allowReserved":true},{"name":"payload","in":"query","required":false,"schema":{"type":"object","properties":{"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["zoneName"],"description":"ZoneSelect"},"style":"deepObject","explode":true,"allowEmptyValue":true,"allowReserved":true},{"name":"timestamp","in":"query","required":false,"schema":{"type":"number"},"allowEmptyValue":true,"allowReserved":true},{"name":"nonce","in":"query","required":false,"schema":{"type":"string"},"allowEmptyValue":true,"allowReserved":true},{"name":"zoneName","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"class":{"type":"string"},"ttl":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"rdata":{"type":"string"},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","zoneName","name","type","class","ttl","rdata","metadata","createdAt","updatedAt"],"description":"DnsRecord"}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]},"post":{"operationId":"createDnsRecord","summary":"Create DNS record","description":"Create a new DNS record for a domain. Requires domain ownership. The record will be validated against DNS zone rules before creation.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"CreateDnsRecord"},"payload":{"type":"object","properties":{"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"name":{"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["type","rdata","zoneName"],"description":"CreateDnsRecord"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"CreateDnsRecordEip712Envelope"},{"type":"object","properties":{"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"name":{"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["type","rdata","zoneName"],"description":"CreateDnsRecord"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"DnsRecord"},"payload":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"class":{"type":"string"},"ttl":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"rdata":{"type":"string"},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","zoneName","name","type","class","ttl","rdata","metadata","createdAt","updatedAt"],"description":"DnsRecord"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"DnsRecordEip712Envelope"},{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"class":{"type":"string"},"ttl":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"rdata":{"type":"string"},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","zoneName","name","type","class","ttl","rdata","metadata","createdAt","updatedAt"],"description":"DnsRecord"}]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["CreateDnsRecordEnvelope"],"x-eip712-types":{"CreateDnsRecord":[{"name":"name","type":"string"},{"name":"rdata","type":"string"},{"name":"ttl","type":"uint256"},{"name":"zoneName","type":"string"}],"CreateDnsRecordEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"CreateDnsRecord"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]}},"/dns/record":{"put":{"operationId":"updateDnsRecord","summary":"Update DNS record","description":"Update an existing DNS record by its ID. Requires domain ownership. The updated record will be validated against DNS zone rules.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"UpdateDnsRecord"},"payload":{"type":"object","properties":{"id":{"type":"string"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"name":{"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"number"}},"required":["id","zoneName"],"description":"UpdateDnsRecord"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"UpdateDnsRecordEip712Envelope"},{"type":"object","properties":{"id":{"type":"string"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"name":{"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"number"}},"required":["id","zoneName"],"description":"UpdateDnsRecord"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"DnsRecord"},"payload":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"class":{"type":"string"},"ttl":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"rdata":{"type":"string"},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","zoneName","name","type","class","ttl","rdata","metadata","createdAt","updatedAt"],"description":"DnsRecord"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"DnsRecordEip712Envelope"},{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"class":{"type":"string"},"ttl":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"rdata":{"type":"string"},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","zoneName","name","type","class","ttl","rdata","metadata","createdAt","updatedAt"],"description":"DnsRecord"}]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["UpdateDnsRecordEnvelope"],"x-eip712-types":{"UpdateDnsRecord":[{"name":"id","type":"string"},{"name":"zoneName","type":"string"},{"name":"name","type":"string"},{"name":"rdata","type":"string"},{"name":"ttl","type":"uint256"}],"UpdateDnsRecordEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"UpdateDnsRecord"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]},"delete":{"operationId":"deleteDnsRecord","summary":"Delete DNS record","description":"Delete a DNS record by its ID. Requires domain ownership. The deletion will be validated to ensure zone integrity.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"RecordSelect"},"payload":{"type":"object","properties":{"id":{"type":"string"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["id","zoneName"],"description":"RecordSelect"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"RecordSelectEip712Envelope"},{"type":"object","properties":{"id":{"type":"string"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["id","zoneName"],"description":"RecordSelect"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["RecordSelectEnvelope"],"x-eip712-types":{"RecordSelect":[{"name":"id","type":"string"},{"name":"zoneName","type":"string"}],"RecordSelectEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"RecordSelect"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]}},"/dns/records/batch":{"put":{"operationId":"batchUpdateDnsRecords","summary":"Batch update DNS records","description":"Update multiple DNS records in a single transaction. Requires domain ownership. All records must belong to the same zone and will be validated together.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"UpdateRecords"},"payload":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"name":{"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"number"}},"required":["id"],"description":"UpdateZoneRecord"}},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["records","zoneName"],"description":"UpdateRecords"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"UpdateRecordsEip712Envelope"},{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"name":{"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"number"}},"required":["id"],"description":"UpdateZoneRecord"}},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["records","zoneName"],"description":"UpdateRecords"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"class":{"type":"string"},"ttl":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"rdata":{"type":"string"},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","zoneName","name","type","class","ttl","rdata","metadata","createdAt","updatedAt"],"description":"DnsRecord"}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["UpdateRecordsEnvelope"],"x-eip712-types":{"UpdateZoneRecord":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"rdata","type":"string"},{"name":"ttl","type":"uint256"}],"UpdateRecords":[{"name":"records","type":"UpdateZoneRecord[]"},{"name":"zoneName","type":"string"}],"UpdateRecordsEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"UpdateRecords"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]},"post":{"operationId":"batchCreateDnsRecords","summary":"Batch create DNS records","description":"Create multiple DNS records in a single transaction. Requires domain ownership. All records will be validated together against DNS zone rules.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"CreateRecords"},"payload":{"type":"object","properties":{"records":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"const":"A"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string","format":"ipv4"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"AAAA"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string","format":"ipv6"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"CNAME"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*\\.$"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"MX"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"TXT"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"NS"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*\\.$"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"SOA"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"PTR"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*\\.$"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"SRV"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"CAA"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"DS"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"TLSA"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"SSHFP"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"HTTPS"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"SVCB"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"NAPTR"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"SPF"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]}]}},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["records","zoneName"],"description":"CreateRecords"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"CreateRecordsEip712Envelope"},{"type":"object","properties":{"records":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"const":"A"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string","format":"ipv4"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"AAAA"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string","format":"ipv6"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"CNAME"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*\\.$"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"MX"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"TXT"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"NS"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*\\.$"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"SOA"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"PTR"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*\\.$"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"SRV"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"CAA"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"DS"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"TLSA"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"SSHFP"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"HTTPS"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"SVCB"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"NAPTR"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]},{"type":"object","properties":{"type":{"const":"SPF"},"name":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"rdata":{"type":"string"}},"required":["type","name","ttl","rdata"]}]}},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["records","zoneName"],"description":"CreateRecords"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"class":{"type":"string"},"ttl":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"rdata":{"type":"string"},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","zoneName","name","type","class","ttl","rdata","metadata","createdAt","updatedAt"],"description":"DnsRecord"}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["CreateRecordsEnvelope"],"x-eip712-types":{"CreateRecords":[{"name":"zoneName","type":"string"}],"CreateRecordsEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"CreateRecords"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]},"delete":{"operationId":"batchDeleteDnsRecords","summary":"Batch delete DNS records","description":"Delete multiple DNS records by their IDs in a single transaction. Requires domain ownership. The zone will be validated after deletion.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"DeleteRecords"},"payload":{"type":"object","properties":{"recordsIds":{"type":"array","items":{"type":"string"}},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["recordsIds","zoneName"],"description":"DeleteRecords"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"DeleteRecordsEip712Envelope"},{"type":"object","properties":{"recordsIds":{"type":"array","items":{"type":"string"}},"zoneName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"required":["recordsIds","zoneName"],"description":"DeleteRecords"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["DeleteRecordsEnvelope"],"x-eip712-types":{"DeleteRecords":[{"name":"recordsIds","type":"string[]"},{"name":"zoneName","type":"string"}],"DeleteRecordsEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"DeleteRecords"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]}},"/dns/forwarding":{"put":{"operationId":"toggleForwarding","summary":"Toggle domain forwarding","description":"Enable or disable managed forwarding DNS records for a domain. Enabling forwarding requires a destination URL and validates that the resulting DNS zone remains valid.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"ToggleForwarding"},"payload":{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"enableForwarding":{"type":"boolean"},"forwardTo":{"type":"string"}},"required":["normalizedDomainName","enableForwarding"],"description":"ToggleForwarding"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"ToggleForwardingEip712Envelope"},{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"enableForwarding":{"type":"boolean"},"forwardTo":{"type":"string"}},"required":["normalizedDomainName","enableForwarding"],"description":"ToggleForwarding"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["ToggleForwardingEnvelope"],"x-eip712-types":{"ToggleForwarding":[{"name":"normalizedDomainName","type":"string"},{"name":"enableForwarding","type":"bool"},{"name":"forwardTo","type":"string"}],"ToggleForwardingEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"ToggleForwarding"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]}},"/dns/auto-ens":{"put":{"operationId":"toggleAutoEns","summary":"Toggle automatic ENS records","description":"Enable or disable the managed ENS TXT record for a domain. The DNS zone is validated against the resulting managed-record state before the setting is updated.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"ToggleAutoEns"},"payload":{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"enableAutoEns":{"type":"boolean"}},"required":["normalizedDomainName","enableAutoEns"],"description":"ToggleAutoEns"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"ToggleAutoEnsEip712Envelope"},{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"enableAutoEns":{"type":"boolean"}},"required":["normalizedDomainName","enableAutoEns"],"description":"ToggleAutoEns"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["ToggleAutoEnsEnvelope"],"x-eip712-types":{"ToggleAutoEns":[{"name":"normalizedDomainName","type":"string"},{"name":"enableAutoEns","type":"bool"}],"ToggleAutoEnsEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"ToggleAutoEns"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]}},"/dns/vercel-anycast":{"put":{"operationId":"toggleVercelAnyCastRecords","summary":"Toggle Vercel anycast DNS records","description":"Enable or disable Vercel anycast DNS records for a domain. Subdomains use an apex CNAME, traditional apex domains use Vercel's anycast A record plus parking-style CAA records.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"ToggleVercelAnyCastRecords"},"payload":{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"enableVercelAnyCastRecords":{"type":"boolean"},"overrideExistingRecords":{"type":"boolean"}},"required":["normalizedDomainName","enableVercelAnyCastRecords"],"description":"ToggleVercelAnyCastRecords"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"ToggleVercelAnyCastRecordsEip712Envelope"},{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"enableVercelAnyCastRecords":{"type":"boolean"},"overrideExistingRecords":{"type":"boolean"}},"required":["normalizedDomainName","enableVercelAnyCastRecords"],"description":"ToggleVercelAnyCastRecords"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["ToggleVercelAnyCastRecordsEnvelope"],"x-eip712-types":{"ToggleVercelAnyCastRecords":[{"name":"normalizedDomainName","type":"string"},{"name":"enableVercelAnyCastRecords","type":"bool"},{"name":"overrideExistingRecords","type":"bool"}],"ToggleVercelAnyCastRecordsEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"ToggleVercelAnyCastRecords"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]}},"/dns/park":{"post":{"operationId":"parkDomain","summary":"Park domain","description":"Park a domain by setting up default parking DNS records (A and AAAA records pointing to the parking server). Optionally override existing conflicting records.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"ParkDomain"},"payload":{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"overrideExistingRecords":{"type":"boolean"}},"required":["normalizedDomainName"],"description":"ParkDomain"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"ParkDomainEip712Envelope"},{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"overrideExistingRecords":{"type":"boolean"}},"required":["normalizedDomainName"],"description":"ParkDomain"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["ParkDomainEnvelope"],"x-eip712-types":{"ParkDomain":[{"name":"normalizedDomainName","type":"string"},{"name":"overrideExistingRecords","type":"bool"}],"ParkDomainEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"ParkDomain"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]},"put":{"operationId":"toggleDomainParking","summary":"Toggle Domain Parking","description":"Park a domain by setting up default parking DNS records (A and AAAA records pointing to the parking server). Optionally override existing conflicting records.","tags":["dns"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"ToggleDomainParking"},"payload":{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"enableParking":{"type":"boolean"},"overrideExistingRecords":{"type":"boolean"}},"required":["normalizedDomainName","enableParking"],"description":"ToggleDomainParking"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"ToggleDomainParkingEip712Envelope"},{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"enableParking":{"type":"boolean"},"overrideExistingRecords":{"type":"boolean"}},"required":["normalizedDomainName","enableParking"],"description":"ToggleDomainParking"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["ToggleDomainParkingEnvelope"],"x-eip712-types":{"ToggleDomainParking":[{"name":"normalizedDomainName","type":"string"},{"name":"enableParking","type":"bool"},{"name":"overrideExistingRecords","type":"bool"}],"ToggleDomainParkingEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"ToggleDomainParking"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]}},"/dns/parked":{"get":{"operationId":"isDomainParked","summary":"Check if domain is parked","description":"Check whether a domain has the standard parking DNS records configured. Returns true if the domain is parked, false otherwise.","tags":["dns"],"parameters":[{"name":"normalizedDomainName","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"boolean"}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/domain-config/auto-renew":{"put":{"operationId":"toggleAutoRenew","summary":"Toggle domain auto-renewal","description":"Enable or disable automatic renewal for a domain. When enabled, the domain will be renewed automatically before expiration using the available payment methods on the owner wallet.","tags":["domain-config"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"ToggleAutoRenew"},"payload":{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"enableAutoRenew":{"type":"boolean"}},"required":["normalizedDomainName","enableAutoRenew"],"description":"ToggleAutoRenew"},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"ToggleAutoRenewEip712Envelope"},{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"enableAutoRenew":{"type":"boolean"}},"required":["normalizedDomainName","enableAutoRenew"],"description":"ToggleAutoRenew"}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["ToggleAutoRenewEnvelope"],"x-eip712-types":{"ToggleAutoRenew":[{"name":"normalizedDomainName","type":"string"},{"name":"enableAutoRenew","type":"bool"}],"ToggleAutoRenewEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"ToggleAutoRenew"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]},"get":{"operationId":"getAutoRenew","summary":"Get domain auto-renewal status","description":"Check whether automatic renewal is enabled for a domain. Requires domain ownership.","tags":["domain-config"],"parameters":[{"name":"normalizedDomainName","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"autoRenewEnabled":{"type":"boolean"}},"required":["autoRenewEnabled"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/user":{"get":{"operationId":"getUser","summary":"Get user ","description":"Retrieve the current user.","tags":["user"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"anyOf":[{},{"not":{}}]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/user/preferences":{"get":{"operationId":"getUserPreferences","summary":"Get user preferences","description":"Retrieve the current user's global domain defaults (autoEns, autoRenew). These apply to new domains when an order item doesn't override them.","tags":["user"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"defaultAutoEns":{"type":"boolean"},"defaultAutoRenew":{"type":"boolean"}},"required":["defaultAutoEns","defaultAutoRenew"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]},"put":{"operationId":"updateUserPreferences","summary":"Update user preferences","description":"Update the current user's global domain defaults (autoEns, autoRenew). Omitted fields are left unchanged.","tags":["user"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"defaultAutoEns":{"type":"boolean"},"defaultAutoRenew":{"type":"boolean"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"defaultAutoEns":{"type":"boolean"},"defaultAutoRenew":{"type":"boolean"}},"required":["defaultAutoEns","defaultAutoRenew"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/user/domains":{"get":{"operationId":"getUserDomains","summary":"Get user domains","description":"Retrieve all domains owned by the current user. Returns domain details including DNS status, nameservers, and expiration dates.","tags":["user"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"chainId":{"type":"number"},"ownerAddress":{"type":"string"},"tokenId":{"type":"string"},"expirationDate":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"dnsStatus":{"type":"object","properties":{"nameservers":{"type":"array","items":{"type":"string"}},"isUsingNamefiNameservers":{"type":"boolean"},"isParkingEnabled":{"type":"boolean"},"forwardTo":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasWebRecords":{"type":"boolean"},"hasMxRecords":{"type":"boolean"},"ensRecord":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["nameservers","isUsingNamefiNameservers","isParkingEnabled","forwardTo","hasWebRecords","hasMxRecords","ensRecord"]}},"required":["normalizedDomainName","chainId","ownerAddress","tokenId","expirationDate","dnsStatus"]}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/user/faucet":{"post":{"operationId":"requestNfscFaucet","summary":"Request NFSC faucet","description":"Request NFSC test tokens on Sepolia. Rate limited by user and wallet address.","tags":["user","balance"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"walletAddress":{"type":"string"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"started"},"workflowId":{"type":"string"},"walletAddress":{},"nextEligibleAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["status","workflowId","nextEligibleAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/user/orders":{"get":{"operationId":"getUserOrders","summary":"Get user orders","description":"Retrieve all order items for the current user. Returns order items sorted by creation date in descending order.","tags":["user","orders"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"orderId":{"type":"string"},"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"amountInUSDCents":{"type":"number"},"durationInYears":{"type":"number"},"type":{"enum":["REGISTER","IMPORT","RENEW"],"type":"string"},"registrar":{"type":"string"},"encryptionKeyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"encryptedEppAuthorizationCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","properties":{"freeClaim":{"type":"boolean"},"groupOrCampaignKey":{"type":"string"},"claimId":{"type":"string"},"mintTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"}},"additionalProperties":{}},{"type":"null"}]},"status":{"anyOf":[{"enum":["CREATED","PROCESSING","SUCCEEDED","FAILED","CANCELLED","PARTIALLY_COMPLETED"],"type":"string"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","orderId","normalizedDomainName","amountInUSDCents","durationInYears","type","registrar","encryptionKeyId","encryptedEppAuthorizationCode","status","createdAt","updatedAt"]}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/orders/{orderId}":{"get":{"operationId":"getOrder","summary":"Get order details","description":"Retrieve detailed information about an order including items, payments, and user details. User must own the order.","tags":["orders"],"parameters":[{"name":"orderId","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"order":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"status":{"enum":["CREATED","PROCESSING","SUCCEEDED","FAILED","CANCELLED","PARTIALLY_COMPLETED"],"type":"string"},"amountInUSDCents":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"nftWalletAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"nftChainId":{"anyOf":[{"type":"integer","minimum":-2147483648,"maximum":2147483647},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","properties":{"freeClaim":{"type":"boolean"},"groupOrCampaignKey":{"type":"string"},"claimId":{"type":"string"},"mintTransactions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]}},"extendTransactions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]}},"backfilled_started_finished_at":{"type":"boolean"},"legacyOrderMetadata":{"type":"object","properties":{"source":{"const":"legacy"},"type":{"const":"legacy-migration"},"legacyOrderId":{"type":"string","minLength":1},"useNfscBalance":{"type":"boolean"},"migratedAt":{"type":"string","minLength":1},"legacyPaymentIntentId":{"type":"string","minLength":1},"legacyPaymentDetails":{"type":"object","properties":{"status":{"type":"string","minLength":1},"provider":{"type":"string","minLength":1},"paymentType":{"type":"string","minLength":1},"txHash":{"type":"string"},"externalId":{"type":"string"}},"required":["status","provider","paymentType"]}},"required":["source","type","legacyOrderId","useNfscBalance","migratedAt"]}},"additionalProperties":{}},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]}},"required":["id","userId","status","amountInUSDCents","nftWalletAddress","nftChainId","createdAt","updatedAt","startedAt","finishedAt"]},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"orderId":{"type":"string","format":"uuid"},"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"amountInUSDCents":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"durationInYears":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"type":{"enum":["REGISTER","IMPORT","RENEW"],"type":"string"},"registrar":{"type":"string"},"encryptionKeyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"encryptedEppAuthorizationCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"enum":["CREATED","PROCESSING","SUCCEEDED","FAILED","CANCELLED","PARTIALLY_COMPLETED"],"type":"string"},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","properties":{"freeClaim":{"type":"boolean"},"groupOrCampaignKey":{"type":"string"},"claimId":{"type":"string"},"domainSetupOptions":{"type":"object","properties":{"autoPark":{"type":"boolean"},"autoEns":{"type":"boolean"},"autoRenew":{"type":"boolean"},"dnssec":{"type":"boolean"},"keepExistingNameservers":{"type":"boolean"}}},"tldRegistrationRequirementAcknowledged":{"type":"boolean"},"mintTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"extendTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"postProcessOrderItem":{"type":"object","properties":{"actions":{"type":"array","minItems":1,"items":{"type":"object","properties":{"scope":{"const":"dns-records"},"action":{"enum":["add","set"],"type":"string"},"records":{"type":"array","minItems":1,"items":{"type":"object","properties":{"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647}},"required":["name","type","rdata"]}}},"required":["scope","action","records"]}}},"required":["actions"],"additionalProperties":{}},"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"},"failureDetails":{"type":"object","properties":{"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"},"resolution":{"enum":["USER_SIGNAL","TIMEOUT"],"type":"string"},"actor":{"enum":["USER","ADMIN"],"type":"string"},"actorId":{"type":"string"},"timeoutMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"recordedAt":{"type":"string"}},"required":["requiredAction","resolution","recordedAt"]},"importRenewalShortfall":{"type":"object","properties":{"requestedYears":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"deliveredYears":{"type":"integer","minimum":0,"maximum":9007199254740991},"undeliveredYears":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"renewalErrorMessage":{"type":"string"},"refundQueuedAmountInUsdCents":{"type":"integer","minimum":0,"maximum":9007199254740991},"recordedAt":{"type":"string"}},"required":["requestedYears","deliveredYears","undeliveredYears","renewalErrorMessage","refundQueuedAmountInUsdCents","recordedAt"]},"backfilled_started_finished_at":{"type":"boolean"},"legacyOrderItemMetadata":{"type":"object","properties":{"source":{"const":"legacy"},"type":{"const":"legacy-migration"},"legacyItemId":{"type":"string","minLength":1},"chainId":{"type":"number","minimum":1},"receivingWalletAddress":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["source","type","legacyItemId","chainId","receivingWalletAddress"]}},"additionalProperties":{}},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]}},"required":["id","orderId","normalizedDomainName","amountInUSDCents","durationInYears","type","registrar","encryptionKeyId","encryptedEppAuthorizationCode","status","createdAt","updatedAt","startedAt","finishedAt"]}},"payments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"amountInUSDCents":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"status":{"enum":["CREATED","PROCESSING","SUCCEEDED","FAILED","CANCELLED","REFUND_REQUESTED","REQUIRES_CAPTURE"],"type":"string"},"paymentProvider":{"enum":["NFSC_BASE","NFSC_ETHEREUM","NFSC_ETHEREUM_SEPOLIA","MPP","STRIPE","X402"],"type":"string"},"paymentProviderReferenceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"orderId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"nfscPaymentDetails":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"stripePaymentDetails":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"metadata":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"x402PaymentDetails":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{"anyOf":[{},{"type":"null"}]}}]},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]}},"required":["id","amountInUSDCents","status","paymentProvider","paymentProviderReferenceId","orderId","nfscPaymentDetails","stripePaymentDetails","metadata","x402PaymentDetails","createdAt","updatedAt","startedAt","finishedAt"]}},"user":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"primaryEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"stripeCustomerId":{"anyOf":[{"type":"string"},{"type":"null"}]},"privyUserId":{"type":"string"},"subscribeToEmails":{"type":"boolean"},"portfolioPublicEnabled":{"type":"boolean"},"portfolioUsername":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastSignInAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"lastAccessedSessionAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"preferences":{"type":"object","properties":{"defaultAutoEns":{"type":"boolean"},"defaultAutoRenew":{"type":"boolean"}},"required":["defaultAutoEns","defaultAutoRenew"]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","primaryEmail","stripeCustomerId","privyUserId","subscribeToEmails","portfolioPublicEnabled","portfolioUsername","lastSignInAt","lastAccessedSessionAt","preferences","createdAt","updatedAt"]}},"required":["order","items","payments","user"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/orders/items":{"get":{"operationId":"getOrderItems","summary":"Get user order items","description":"Retrieve all order items for the current user, sorted by creation date in descending order.","tags":["orders"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"orderId":{"type":"string","format":"uuid"},"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"amountInUSDCents":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"durationInYears":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"type":{"enum":["REGISTER","IMPORT","RENEW"],"type":"string"},"registrar":{"type":"string"},"encryptionKeyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"encryptedEppAuthorizationCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"enum":["CREATED","PROCESSING","SUCCEEDED","FAILED","CANCELLED","PARTIALLY_COMPLETED"],"type":"string"},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","properties":{"freeClaim":{"type":"boolean"},"groupOrCampaignKey":{"type":"string"},"claimId":{"type":"string"},"domainSetupOptions":{"type":"object","properties":{"autoPark":{"type":"boolean"},"autoEns":{"type":"boolean"},"autoRenew":{"type":"boolean"},"dnssec":{"type":"boolean"},"keepExistingNameservers":{"type":"boolean"}}},"tldRegistrationRequirementAcknowledged":{"type":"boolean"},"mintTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"extendTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"postProcessOrderItem":{"type":"object","properties":{"actions":{"type":"array","minItems":1,"items":{"type":"object","properties":{"scope":{"const":"dns-records"},"action":{"enum":["add","set"],"type":"string"},"records":{"type":"array","minItems":1,"items":{"type":"object","properties":{"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647}},"required":["name","type","rdata"]}}},"required":["scope","action","records"]}}},"required":["actions"],"additionalProperties":{}},"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"},"failureDetails":{"type":"object","properties":{"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"},"resolution":{"enum":["USER_SIGNAL","TIMEOUT"],"type":"string"},"actor":{"enum":["USER","ADMIN"],"type":"string"},"actorId":{"type":"string"},"timeoutMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"recordedAt":{"type":"string"}},"required":["requiredAction","resolution","recordedAt"]},"importRenewalShortfall":{"type":"object","properties":{"requestedYears":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"deliveredYears":{"type":"integer","minimum":0,"maximum":9007199254740991},"undeliveredYears":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"renewalErrorMessage":{"type":"string"},"refundQueuedAmountInUsdCents":{"type":"integer","minimum":0,"maximum":9007199254740991},"recordedAt":{"type":"string"}},"required":["requestedYears","deliveredYears","undeliveredYears","renewalErrorMessage","refundQueuedAmountInUsdCents","recordedAt"]},"backfilled_started_finished_at":{"type":"boolean"},"legacyOrderItemMetadata":{"type":"object","properties":{"source":{"const":"legacy"},"type":{"const":"legacy-migration"},"legacyItemId":{"type":"string","minLength":1},"chainId":{"type":"number","minimum":1},"receivingWalletAddress":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["source","type","legacyItemId","chainId","receivingWalletAddress"]}},"additionalProperties":{}},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]}},"required":["id","orderId","normalizedDomainName","amountInUSDCents","durationInYears","type","registrar","encryptionKeyId","encryptedEppAuthorizationCode","status","createdAt","updatedAt","startedAt","finishedAt"]}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/orders/register-domain-trial":{"post":{"operationId":"registerDomainForTrial","summary":"Instant Register domain for trial","description":"Purchase a single domain instantly for trial. Validates domain availability and creates the order, the domain is only registered for a couple of days before it expires or renewed if you please ","tags":["orders"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"RegisterTrialDomain"},"payload":{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"domainSetupOptions":{"type":"object","properties":{"autoPark":{"type":"boolean"},"autoEns":{"type":"boolean"},"autoRenew":{"type":"boolean"},"dnssec":{"type":"boolean"},"keepExistingNameservers":{"type":"boolean"}},"description":"Per-item domain setup overrides (autoPark, autoEns, autoRenew, dnssec, keepExistingNameservers). Defaults applied when omitted."}},"required":["normalizedDomainName"]},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"RegisterTrialDomainEip712Envelope"},{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"domainSetupOptions":{"type":"object","properties":{"autoPark":{"type":"boolean"},"autoEns":{"type":"boolean"},"autoRenew":{"type":"boolean"},"dnssec":{"type":"boolean"},"keepExistingNameservers":{"type":"boolean"}},"description":"Per-item domain setup overrides (autoPark, autoEns, autoRenew, dnssec, keepExistingNameservers). Defaults applied when omitted."}},"required":["normalizedDomainName"]}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"amountInUSDCents":{"type":"number"},"nftWalletAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"nftChainId":{"anyOf":[{"type":"number"},{"type":"null"}]},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"orderId":{"type":"string","format":"uuid"},"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"amountInUSDCents":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"durationInYears":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"type":{"enum":["REGISTER","IMPORT","RENEW"],"type":"string"},"registrar":{"type":"string"},"encryptionKeyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"encryptedEppAuthorizationCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"enum":["CREATED","PROCESSING","SUCCEEDED","FAILED","CANCELLED","PARTIALLY_COMPLETED"],"type":"string"},{"type":"null"}]},"metadata":{"type":"object","properties":{"freeClaim":{"type":"boolean"},"groupOrCampaignKey":{"type":"string"},"claimId":{"type":"string"},"domainSetupOptions":{"type":"object","properties":{"autoPark":{"type":"boolean"},"autoEns":{"type":"boolean"},"autoRenew":{"type":"boolean"},"dnssec":{"type":"boolean"},"keepExistingNameservers":{"type":"boolean"}}},"tldRegistrationRequirementAcknowledged":{"type":"boolean"},"mintTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"extendTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"postProcessOrderItem":{"type":"object","properties":{"actions":{"type":"array","minItems":1,"items":{"type":"object","properties":{"scope":{"const":"dns-records"},"action":{"enum":["add","set"],"type":"string"},"records":{"type":"array","minItems":1,"items":{"type":"object","properties":{"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647}},"required":["name","type","rdata"]}}},"required":["scope","action","records"]}}},"required":["actions"],"additionalProperties":{}},"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"},"failureDetails":{"type":"object","properties":{"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"},"resolution":{"enum":["USER_SIGNAL","TIMEOUT"],"type":"string"},"actor":{"enum":["USER","ADMIN"],"type":"string"},"actorId":{"type":"string"},"timeoutMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"recordedAt":{"type":"string"}},"required":["requiredAction","resolution","recordedAt"]},"importRenewalShortfall":{"type":"object","properties":{"requestedYears":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"deliveredYears":{"type":"integer","minimum":0,"maximum":9007199254740991},"undeliveredYears":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"renewalErrorMessage":{"type":"string"},"refundQueuedAmountInUsdCents":{"type":"integer","minimum":0,"maximum":9007199254740991},"recordedAt":{"type":"string"}},"required":["requestedYears","deliveredYears","undeliveredYears","renewalErrorMessage","refundQueuedAmountInUsdCents","recordedAt"]},"backfilled_started_finished_at":{"type":"boolean"},"legacyOrderItemMetadata":{"type":"object","properties":{"source":{"const":"legacy"},"type":{"const":"legacy-migration"},"legacyItemId":{"type":"string","minLength":1},"chainId":{"type":"number","minimum":1},"receivingWalletAddress":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["source","type","legacyItemId","chainId","receivingWalletAddress"]}},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]}},"required":["id","orderId","normalizedDomainName","amountInUSDCents","durationInYears","type","registrar","encryptionKeyId","encryptedEppAuthorizationCode","status","createdAt","updatedAt","startedAt","finishedAt"]}},"payments":{"type":"array","items":{"type":"object","properties":{"paymentProvider":{"enum":["NFSC_BASE","NFSC_ETHEREUM","NFSC_ETHEREUM_SEPOLIA","MPP","STRIPE","X402"],"type":"string"},"amountInUSDCents":{"type":"integer","minimum":0,"maximum":9007199254740991},"chainId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"walletAddress":{"type":"string"},"brand":{"type":"string"},"last4":{"type":"string"}},"required":["paymentProvider","amountInUSDCents"]},"description":"Planned split of the order total across payment rails: NFSC balance legs first, then the saved credit card for any remainder. Legs are charged asynchronously after order creation."}},"required":["id","userId","amountInUSDCents","nftWalletAddress","nftChainId","items","payments"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["RegisterTrialDomainEnvelope"],"x-eip712-types":{"RegisterTrialDomainEnvelope_Payload_DomainSetupOptions":[{"name":"autoPark","type":"bool"},{"name":"autoEns","type":"bool"},{"name":"autoRenew","type":"bool"},{"name":"dnssec","type":"bool"},{"name":"keepExistingNameservers","type":"bool"}],"RegisterTrialDomain":[{"name":"normalizedDomainName","type":"string"},{"name":"domainSetupOptions","type":"RegisterTrialDomainEnvelope_Payload_DomainSetupOptions"}],"RegisterTrialDomainEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"RegisterTrialDomain"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]}},"/orders/register-domain":{"post":{"operationId":"registerDomain","summary":"Instant Register domain","description":"Purchase a single domain instantly without adding to cart. Validates domain availability, creates payments and order, then starts the order processing workflow. Payment is taken from the NFSC balance first; any remainder is charged to the credit card saved on the Namefi profile. Card legs are at least $1.00 — when the shortfall is smaller, the card is charged $1.00 and correspondingly less NFSC is used. If neither rail covers the price, the request fails with links to top up NFSC or save a card. The `payments` array in the response shows the planned split; legs are charged asynchronously after the order is created.","tags":["orders"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"payloadType":{"const":"InstantRegisterDomain"},"payload":{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"durationInYears":{"type":"integer","minimum":0,"maximum":10,"default":1},"domainSetupOptions":{"type":"object","properties":{"autoPark":{"type":"boolean"},"autoEns":{"type":"boolean"},"autoRenew":{"type":"boolean"},"dnssec":{"type":"boolean"},"keepExistingNameservers":{"type":"boolean"}},"description":"Per-item domain setup overrides (autoPark, autoEns, autoRenew, dnssec, keepExistingNameservers). Defaults applied when omitted."},"nftReceivingWallet":{"type":"object","properties":{"walletAddress":{"type":"string"},"chainId":{"type":"number"}},"required":["walletAddress","chainId"],"description":"Wallet address and chain ID of the wallet that will receive the NFT, defaults to the buyer's wallet and \"Base Chain\""}},"required":["normalizedDomainName"]},"timestamp":{"type":"number"},"nonce":{"type":"string"}},"required":["payloadType","payload","timestamp","nonce"],"description":"InstantRegisterDomainEip712Envelope"},{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"durationInYears":{"type":"integer","minimum":0,"maximum":10,"default":1},"domainSetupOptions":{"type":"object","properties":{"autoPark":{"type":"boolean"},"autoEns":{"type":"boolean"},"autoRenew":{"type":"boolean"},"dnssec":{"type":"boolean"},"keepExistingNameservers":{"type":"boolean"}},"description":"Per-item domain setup overrides (autoPark, autoEns, autoRenew, dnssec, keepExistingNameservers). Defaults applied when omitted."},"nftReceivingWallet":{"type":"object","properties":{"walletAddress":{"type":"string"},"chainId":{"type":"number"}},"required":["walletAddress","chainId"],"description":"Wallet address and chain ID of the wallet that will receive the NFT, defaults to the buyer's wallet and \"Base Chain\""}},"required":["normalizedDomainName"]}]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"amountInUSDCents":{"type":"number"},"nftWalletAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"nftChainId":{"anyOf":[{"type":"number"},{"type":"null"}]},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"orderId":{"type":"string","format":"uuid"},"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"amountInUSDCents":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"durationInYears":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"type":{"enum":["REGISTER","IMPORT","RENEW"],"type":"string"},"registrar":{"type":"string"},"encryptionKeyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"encryptedEppAuthorizationCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"enum":["CREATED","PROCESSING","SUCCEEDED","FAILED","CANCELLED","PARTIALLY_COMPLETED"],"type":"string"},{"type":"null"}]},"metadata":{"type":"object","properties":{"freeClaim":{"type":"boolean"},"groupOrCampaignKey":{"type":"string"},"claimId":{"type":"string"},"domainSetupOptions":{"type":"object","properties":{"autoPark":{"type":"boolean"},"autoEns":{"type":"boolean"},"autoRenew":{"type":"boolean"},"dnssec":{"type":"boolean"},"keepExistingNameservers":{"type":"boolean"}}},"tldRegistrationRequirementAcknowledged":{"type":"boolean"},"mintTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"extendTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"postProcessOrderItem":{"type":"object","properties":{"actions":{"type":"array","minItems":1,"items":{"type":"object","properties":{"scope":{"const":"dns-records"},"action":{"enum":["add","set"],"type":"string"},"records":{"type":"array","minItems":1,"items":{"type":"object","properties":{"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647}},"required":["name","type","rdata"]}}},"required":["scope","action","records"]}}},"required":["actions"],"additionalProperties":{}},"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"},"failureDetails":{"type":"object","properties":{"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"},"resolution":{"enum":["USER_SIGNAL","TIMEOUT"],"type":"string"},"actor":{"enum":["USER","ADMIN"],"type":"string"},"actorId":{"type":"string"},"timeoutMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"recordedAt":{"type":"string"}},"required":["requiredAction","resolution","recordedAt"]},"importRenewalShortfall":{"type":"object","properties":{"requestedYears":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"deliveredYears":{"type":"integer","minimum":0,"maximum":9007199254740991},"undeliveredYears":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"renewalErrorMessage":{"type":"string"},"refundQueuedAmountInUsdCents":{"type":"integer","minimum":0,"maximum":9007199254740991},"recordedAt":{"type":"string"}},"required":["requestedYears","deliveredYears","undeliveredYears","renewalErrorMessage","refundQueuedAmountInUsdCents","recordedAt"]},"backfilled_started_finished_at":{"type":"boolean"},"legacyOrderItemMetadata":{"type":"object","properties":{"source":{"const":"legacy"},"type":{"const":"legacy-migration"},"legacyItemId":{"type":"string","minLength":1},"chainId":{"type":"number","minimum":1},"receivingWalletAddress":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["source","type","legacyItemId","chainId","receivingWalletAddress"]}},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]}},"required":["id","orderId","normalizedDomainName","amountInUSDCents","durationInYears","type","registrar","encryptionKeyId","encryptedEppAuthorizationCode","status","createdAt","updatedAt","startedAt","finishedAt"]}},"payments":{"type":"array","items":{"type":"object","properties":{"paymentProvider":{"enum":["NFSC_BASE","NFSC_ETHEREUM","NFSC_ETHEREUM_SEPOLIA","MPP","STRIPE","X402"],"type":"string"},"amountInUSDCents":{"type":"integer","minimum":0,"maximum":9007199254740991},"chainId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"walletAddress":{"type":"string"},"brand":{"type":"string"},"last4":{"type":"string"}},"required":["paymentProvider","amountInUSDCents"]},"description":"Planned split of the order total across payment rails: NFSC balance legs first, then the saved credit card for any remainder. Legs are charged asynchronously after order creation."}},"required":["id","userId","amountInUSDCents","nftWalletAddress","nftChainId","items","payments"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-eip712-accepted-primary-types":["InstantRegisterDomainEnvelope","InstantRegisterDomainDefaultWalletEnvelope"],"x-eip712-types":{"InstantRegisterDomainEnvelope_Payload_DomainSetupOptions":[{"name":"autoPark","type":"bool"},{"name":"autoEns","type":"bool"},{"name":"autoRenew","type":"bool"},{"name":"dnssec","type":"bool"},{"name":"keepExistingNameservers","type":"bool"}],"InstantRegisterDomainEnvelope_Payload_NftReceivingWallet":[{"name":"chainId","type":"uint256"}],"InstantRegisterDomain":[{"name":"normalizedDomainName","type":"string"},{"name":"durationInYears","type":"uint256"},{"name":"domainSetupOptions","type":"InstantRegisterDomainEnvelope_Payload_DomainSetupOptions"},{"name":"nftReceivingWallet","type":"InstantRegisterDomainEnvelope_Payload_NftReceivingWallet"}],"InstantRegisterDomainEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"InstantRegisterDomain"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}],"InstantRegisterDomainDefaultWalletEnvelope_Payload_DomainSetupOptions":[{"name":"autoPark","type":"bool"},{"name":"autoEns","type":"bool"},{"name":"autoRenew","type":"bool"},{"name":"dnssec","type":"bool"},{"name":"keepExistingNameservers","type":"bool"}],"InstantRegisterDomainDefaultWallet":[{"name":"normalizedDomainName","type":"string"},{"name":"durationInYears","type":"uint256"},{"name":"domainSetupOptions","type":"InstantRegisterDomainDefaultWalletEnvelope_Payload_DomainSetupOptions"}],"InstantRegisterDomainDefaultWalletEnvelope":[{"name":"payloadType","type":"string"},{"name":"payload","type":"InstantRegisterDomainDefaultWallet"},{"name":"timestamp","type":"uint256"},{"name":"nonce","type":"string"}]},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-openai-isConsequential":true,"x-badges":[{"name":"EIP712","color":"#b5f5ce"}]}},"/orders/register-domain/records":{"post":{"operationId":"registerWithRecords","summary":"Instant register domain with records","description":"Purchase a single domain instantly and apply DNS records after processing. Payment is taken from the NFSC balance first; any remainder is charged to the credit card saved on the Namefi profile (card legs are at least $1.00).","tags":["orders"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"durationInYears":{"type":"integer","minimum":0,"maximum":10,"default":1},"domainSetupOptions":{"type":"object","properties":{"autoPark":{"type":"boolean"},"autoEns":{"type":"boolean"},"autoRenew":{"type":"boolean"},"dnssec":{"type":"boolean"},"keepExistingNameservers":{"type":"boolean"}},"description":"Per-item domain setup overrides (autoPark, autoEns, autoRenew, dnssec, keepExistingNameservers). Defaults applied when omitted."},"nftReceivingWallet":{"type":"object","properties":{"walletAddress":{"type":"string"},"chainId":{"type":"number"}},"required":["walletAddress","chainId"],"description":"Wallet address and chain ID of the wallet that will receive the NFT, defaults to the buyer's wallet and \"Base Chain\""},"records":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647,"default":30}},"required":["name","type","rdata"]},"default":[]}},"required":["normalizedDomainName"],"description":"Example payload:\n```\n  {\n    \"normalizedDomainName\": \"example.com\",\n    \"durationInYears\": 1,\n    \"records\": [{ \"name\": \"@\", \"type\": \"A\", \"rdata\": \"203.0.113.10\", \"ttl\": 30 }, { \"name\": \"www\", \"type\": \"CNAME\", \"rdata\": \"app.example.net.\" }] }],\n    \"nftReceivingWallet\": { \"walletAddress\": \"0x1111111111111111111111111111111111111111\", \"chainId\": 8453 }\n  }\n```\n        "}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"amountInUSDCents":{"type":"number"},"nftWalletAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"nftChainId":{"anyOf":[{"type":"number"},{"type":"null"}]},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"orderId":{"type":"string","format":"uuid"},"normalizedDomainName":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"amountInUSDCents":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"durationInYears":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"type":{"enum":["REGISTER","IMPORT","RENEW"],"type":"string"},"registrar":{"type":"string"},"encryptionKeyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"encryptedEppAuthorizationCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"enum":["CREATED","PROCESSING","SUCCEEDED","FAILED","CANCELLED","PARTIALLY_COMPLETED"],"type":"string"},{"type":"null"}]},"metadata":{"type":"object","properties":{"freeClaim":{"type":"boolean"},"groupOrCampaignKey":{"type":"string"},"claimId":{"type":"string"},"domainSetupOptions":{"type":"object","properties":{"autoPark":{"type":"boolean"},"autoEns":{"type":"boolean"},"autoRenew":{"type":"boolean"},"dnssec":{"type":"boolean"},"keepExistingNameservers":{"type":"boolean"}}},"tldRegistrationRequirementAcknowledged":{"type":"boolean"},"mintTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"extendTransaction":{"type":"object","properties":{"txHash":{"type":"string"},"recordedAt":{"type":"string"}},"required":["txHash","recordedAt"]},"postProcessOrderItem":{"type":"object","properties":{"actions":{"type":"array","minItems":1,"items":{"type":"object","properties":{"scope":{"const":"dns-records"},"action":{"enum":["add","set"],"type":"string"},"records":{"type":"array","minItems":1,"items":{"type":"object","properties":{"name":{"type":"string"},"type":{"enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","PTR","SRV","CAA","DS","TLSA","SSHFP","HTTPS","SVCB","NAPTR","SPF"],"type":"string"},"rdata":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647}},"required":["name","type","rdata"]}}},"required":["scope","action","records"]}}},"required":["actions"],"additionalProperties":{}},"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"},"failureDetails":{"type":"object","properties":{"requiredAction":{"enum":["EPP_UNLOCK_REQUIRED","EPP_AUTH_CODE_UPDATE_REQUIRED","UNDETERMINED"],"type":"string"},"resolution":{"enum":["USER_SIGNAL","TIMEOUT"],"type":"string"},"actor":{"enum":["USER","ADMIN"],"type":"string"},"actorId":{"type":"string"},"timeoutMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"recordedAt":{"type":"string"}},"required":["requiredAction","resolution","recordedAt"]},"importRenewalShortfall":{"type":"object","properties":{"requestedYears":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"deliveredYears":{"type":"integer","minimum":0,"maximum":9007199254740991},"undeliveredYears":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},"renewalErrorMessage":{"type":"string"},"refundQueuedAmountInUsdCents":{"type":"integer","minimum":0,"maximum":9007199254740991},"recordedAt":{"type":"string"}},"required":["requestedYears","deliveredYears","undeliveredYears","renewalErrorMessage","refundQueuedAmountInUsdCents","recordedAt"]},"backfilled_started_finished_at":{"type":"boolean"},"legacyOrderItemMetadata":{"type":"object","properties":{"source":{"const":"legacy"},"type":{"const":"legacy-migration"},"legacyItemId":{"type":"string","minLength":1},"chainId":{"type":"number","minimum":1},"receivingWalletAddress":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["source","type","legacyItemId","chainId","receivingWalletAddress"]}},"additionalProperties":{}},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]}},"required":["id","orderId","normalizedDomainName","amountInUSDCents","durationInYears","type","registrar","encryptionKeyId","encryptedEppAuthorizationCode","status","createdAt","updatedAt","startedAt","finishedAt"]}},"payments":{"type":"array","items":{"type":"object","properties":{"paymentProvider":{"enum":["NFSC_BASE","NFSC_ETHEREUM","NFSC_ETHEREUM_SEPOLIA","MPP","STRIPE","X402"],"type":"string"},"amountInUSDCents":{"type":"integer","minimum":0,"maximum":9007199254740991},"chainId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"walletAddress":{"type":"string"},"brand":{"type":"string"},"last4":{"type":"string"}},"required":["paymentProvider","amountInUSDCents"]},"description":"Planned split of the order total across payment rails: NFSC balance legs first, then the saved credit card for any remainder. Legs are charged asynchronously after order creation."}},"required":["id","userId","amountInUSDCents","nftWalletAddress","nftChainId","items","payments"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-openai-isConsequential":true}},"/orders/{orderId}/payment-methods":{"get":{"operationId":"getOrderPaymentMethodsDetails","summary":"Get order payment methods","description":"Retrieve payment method details for an order, including card info for Stripe payments and wallet addresses for on-chain payments.","tags":["orders"],"parameters":[{"name":"orderId","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"paymentId":{"type":"string"},"isOnChainPayment":{"const":true},"isX402Payment":{"const":true},"network":{"type":"string"},"buyerWalletAddress":{"type":"string"},"receiverWalletAddress":{"type":"string"},"settlementTxHash":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["paymentId","isOnChainPayment","isX402Payment","network","buyerWalletAddress"]},{"type":"object","properties":{"paymentId":{"type":"string"},"isMppPayment":{"const":true},"method":{"enum":["stripe","tempo"],"type":"string"},"isOnChainPayment":{"type":"boolean"},"payerWalletAddress":{"type":"string"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}]},"brand":{"type":"string"},"last4":{"type":"string"}},"required":["paymentId","isMppPayment","method","isOnChainPayment"]},{"type":"object","properties":{"paymentId":{"type":"string"},"isOnChainPayment":{"const":true},"txHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"chainId":{"type":"number"},"walletAddress":{"type":"string"}},"required":["paymentId","isOnChainPayment","chainId","walletAddress"]},{"type":"object","properties":{"paymentId":{"type":"string"},"isOnChainPayment":{"const":false},"brand":{"type":"string"},"last4":{"type":"string"}},"required":["paymentId","isOnChainPayment"]}]}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/x402/domain/{normalizedDomainName}":{"get":{"operationId":"registerDomainX402","summary":"Instant Register domain With X402","description":"Purchase a single domain instantly without adding to cart. Validates domain availability, creates payments and order, then starts the order processing workflow.","tags":["orders","base-route"],"parameters":[{"name":"normalizedDomainName","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},{"name":"durationInYears","in":"query","schema":{"type":"integer","minimum":0,"maximum":10,"default":1},"allowEmptyValue":true,"allowReserved":true},{"name":"nftReceivingWalletAddress","in":"query","schema":{"type":"string"},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"accepted"},"message":{"type":"string"},"purchaseId":{"type":"string"},"domain":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"buyerWallet":{},"nftReceivingWalletAddress":{},"estimatedCompletionSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0}},"required":["status","message","purchaseId","domain","estimatedCompletionSeconds"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/mpp/domain/{normalizedDomainName}":{"get":{"operationId":"registerDomainMPP","summary":"Instant Register domain With MPP","description":"Purchase a single domain instantly with MPP using Tempo or Stripe.","tags":["orders","base-route"],"parameters":[{"name":"normalizedDomainName","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},{"name":"durationInYears","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":10,"default":1},"allowEmptyValue":true,"allowReserved":true},{"name":"nftReceivingWalletAddress","in":"query","required":true,"schema":{"type":"string"},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"accepted"},"message":{"type":"string"},"orderId":{"type":"string"},"paymentId":{"type":"string"},"domain":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"paymentMethod":{"enum":["tempo","stripe"],"type":"string"},"payerDid":{"type":"string"},"payerWalletAddress":{},"nftReceivingWalletAddress":{},"estimatedCompletionSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0}},"required":["status","message","orderId","paymentId","domain","paymentMethod","estimatedCompletionSeconds"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/trial/domains/available":{"get":{"operationId":"getDomainsAvailableForTrial","summary":"Get Domains Available for Trial","description":"Retrieve a list of domains or parent domains(ie; their subdomains are available for trial)","tags":["orders"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"normalizedDomainName":{"type":"string"},"type":{"enum":["PARENT_DOMAIN","EXACT_DOMAIN"],"type":"string"},"trialDuration":{"type":"number"},"trialDurationUnit":{"enum":["days","years"],"type":"string"}},"required":["normalizedDomainName","type","trialDuration","trialDurationUnit"]}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/balance":{"get":{"operationId":"getBalance","summary":"Get NFSC balance","description":"Retrieve NFSC (Namefi Stable Coin) balance across all supported blockchain chains for the authenticated user's linked wallet addresses. Returns both raw contract values and human-readable USD amounts.","tags":["balance"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"balances":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"chainName":{"type":"string"},"walletAddress":{"type":"string"},"rawBalance":{"type":"string"},"balanceInUsd":{"type":"number"},"balanceInUsdCents":{"type":"number"},"paymentProvider":{"enum":["NFSC_BASE","NFSC_ETHEREUM","NFSC_ETHEREUM_SEPOLIA"],"type":"string"}},"required":["chainId","chainName","walletAddress","rawBalance","balanceInUsd","balanceInUsdCents","paymentProvider"]}},"totalBalanceInUsd":{"type":"number"},"totalBalanceInUsdCents":{"type":"number"}},"required":["balances","totalBalanceInUsd","totalBalanceInUsdCents"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/search/availability":{"get":{"operationId":"checkAvailability","summary":"Check domain availability","description":"Check if a domain is available for registration. Returns availability status, pricing details, current owner (if any), and registration constraints.","tags":["search"],"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$","description":"The domain to check availability for"},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"availability":{"type":"boolean"},"pricingDetails":{"type":"object","properties":{"registrationPrice":{"anyOf":[{"type":"object","properties":{"type":{"const":"PER_YEAR"},"price":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}},"required":["type","price"]},{"type":"object","properties":{"type":{"const":"MULTI_YEAR"},"price":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}}},"required":["type","price"]}]},"renewalPrice":{"anyOf":[{"type":"object","properties":{"type":{"const":"PER_YEAR"},"price":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}},"required":["type","price"]},{"type":"object","properties":{"type":{"const":"MULTI_YEAR"},"price":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}}},"required":["type","price"]}]},"importPrice":{"anyOf":[{"type":"object","properties":{"type":{"const":"PER_YEAR"},"price":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}},"required":["type","price"]},{"type":"object","properties":{"type":{"const":"MULTI_YEAR"},"price":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}}},"required":["type","price"]}]}},"required":["registrationPrice","renewalPrice","importPrice"]},"currentOwner":{"type":"string"},"registrarKey":{"type":"string"},"durationValidationInYears":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"increment":{"type":"number"}},"required":["min","max"]},"importable":{"type":"boolean"},"supported":{"type":"boolean"}},"required":["domain","availability","importable","supported"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/search/bulk-availability":{"get":{"operationId":"checkBulkAvailability","summary":"Check bulk domain availability","description":"Check if a list of domains are available for registration. Returns availability status, pricing details, current owner (if any), and registration constraints.","tags":["search"],"parameters":[{"name":"domains","in":"query","required":true,"schema":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"description":"The domains to check availability for"},"style":"deepObject","explode":true,"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"availability":{"type":"boolean"},"pricingDetails":{"type":"object","properties":{"registrationPrice":{"anyOf":[{"type":"object","properties":{"type":{"const":"PER_YEAR"},"price":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}},"required":["type","price"]},{"type":"object","properties":{"type":{"const":"MULTI_YEAR"},"price":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}}},"required":["type","price"]}]},"renewalPrice":{"anyOf":[{"type":"object","properties":{"type":{"const":"PER_YEAR"},"price":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}},"required":["type","price"]},{"type":"object","properties":{"type":{"const":"MULTI_YEAR"},"price":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}}},"required":["type","price"]}]},"importPrice":{"anyOf":[{"type":"object","properties":{"type":{"const":"PER_YEAR"},"price":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}},"required":["type","price"]},{"type":"object","properties":{"type":{"const":"MULTI_YEAR"},"price":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]}}},"required":["type","price"]}]}},"required":["registrationPrice","renewalPrice","importPrice"]},"currentOwner":{"type":"string"},"registrarKey":{"type":"string"},"durationValidationInYears":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"increment":{"type":"number"}},"required":["min","max"]},"importable":{"type":"boolean"},"supported":{"type":"boolean"}},"required":["domain","availability","importable","supported"]}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/search/suggestions":{"get":{"operationId":"getSuggestions","summary":"Get domain suggestions","description":"Generate domain suggestions based on a search query. Supports pagination and optional parent domain filtering for third-level domain suggestions.","tags":["search"],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Search query for domain suggestions"},"allowEmptyValue":true,"allowReserved":true},{"name":"parentDomain","in":"query","required":false,"schema":{"type":"string","description":"Optional parent domain for third-level domain suggestions"},"allowEmptyValue":true,"allowReserved":true},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Page number for pagination (starts at 1)"},"allowEmptyValue":true,"allowReserved":true},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"description":"Number of results per page (1-100)"},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"domains":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"}},"page":{"type":"number"},"totalPages":{"type":"number"},"nextPage":{"anyOf":[{"type":"number"},{"type":"null"}]},"pageSize":{"type":"number"}},"required":["domains","page","totalPages","nextPage","pageSize"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/outbound/runs":{"get":{"operationId":"listOutboundRuns","summary":"List outbound lead-finding runs","description":"List the authenticated user's outbound lead-finding runs, newest first. Use this to resume recent work before starting a new run.","tags":["outbound"],"parameters":[{"name":"cursor","in":"query","schema":{"type":"string","minLength":1,"maxLength":2048},"allowEmptyValue":true,"allowReserved":true},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"domain":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"status":{"enum":["QUEUED","RUNNING","SUCCEEDED","FAILED","CANCELED"],"type":"string"},"reasoningEffort":{"enum":["low","medium","high"],"type":"string"},"leadCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"contactCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"draftCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"summary":{"anyOf":[{"type":"string"},{"type":"null"}]},"latestMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"pollAfterSeconds":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]}},"required":["id","domain","status","reasoningEffort","leadCount","contactCount","draftCount","summary","latestMessage","errorMessage","pollAfterSeconds","createdAt","updatedAt","startedAt","finishedAt"]}},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["items","nextCursor"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}},"post":{"operationId":"startOutboundRun","summary":"Start an outbound lead-finding run","description":"Start lead discovery for a domain. If an active run already exists for the same domain, the existing run is returned instead of creating duplicate work.","tags":["outbound"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$","description":"Domain you own on Namefi and want to use as the outbound offer."},"reasoningEffort":{"enum":["low","medium","high"],"type":"string","default":"medium","description":"How much research depth to spend on lead discovery."}},"required":["domain"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"domain":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"status":{"enum":["QUEUED","RUNNING","SUCCEEDED","FAILED","CANCELED"],"type":"string"},"reasoningEffort":{"enum":["low","medium","high"],"type":"string"},"leadCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"contactCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"draftCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"summary":{"anyOf":[{"type":"string"},{"type":"null"}]},"latestMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"pollAfterSeconds":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]}},"required":["id","domain","status","reasoningEffort","leadCount","contactCount","draftCount","summary","latestMessage","errorMessage","pollAfterSeconds","createdAt","updatedAt","startedAt","finishedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"x-openai-isConsequential":true}},"/outbound/runs/{runId}":{"get":{"operationId":"getOutboundRun","summary":"Get outbound run status","description":"Get the current status and aggregate counts for one outbound lead-finding run. Poll using pollAfterSeconds while status is QUEUED or RUNNING.","tags":["outbound"],"parameters":[{"name":"runId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"domain":{"type":"string","pattern":"^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$"},"status":{"enum":["QUEUED","RUNNING","SUCCEEDED","FAILED","CANCELED"],"type":"string"},"reasoningEffort":{"enum":["low","medium","high"],"type":"string"},"leadCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"contactCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"draftCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"summary":{"anyOf":[{"type":"string"},{"type":"null"}]},"latestMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"pollAfterSeconds":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"},"updatedAt":{"type":"string","format":"date-time","x-native-type":"date"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"null"}]}},"required":["id","domain","status","reasoningEffort","leadCount","contactCount","draftCount","summary","latestMessage","errorMessage","pollAfterSeconds","createdAt","updatedAt","startedAt","finishedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/outbound/runs/{runId}/leads":{"get":{"operationId":"listOutboundLeads","summary":"List outbound leads","description":"List discovered leads for a run in ranked order with public rationale, contacts, and generated outreach drafts when available. The ranking is represented by response order; internal score and rank fields are intentionally not exposed.","tags":["outbound"],"parameters":[{"name":"runId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"cursor","in":"query","schema":{"type":"string","minLength":1,"maxLength":2048},"allowEmptyValue":true,"allowReserved":true},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"businessDomain":{"type":"string","minLength":1},"buyerSummary":{"anyOf":[{"type":"string"},{"type":"null"}]},"contactCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"draftCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}]},"content":{"anyOf":[{"type":"string"},{"type":"null"}]},"contacts":{"type":"array","items":{"type":"object","properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"sourceUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"context":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["email","name","title","sourceUrl","context"]}},"drafts":{"type":"array","items":{"type":"object","properties":{"contactEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"fullEmail":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["contactEmail","subject","fullEmail"]}}},"required":["id","businessDomain","buyerSummary","contactCount","draftCount","rationale","content","contacts","drafts"]}},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["items","nextCursor"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/outbound/runs/{runId}/leads/{leadId}/outreach":{"post":{"operationId":"prepareOutboundOutreach","summary":"Prepare outreach for an outbound lead","description":"Generate contact research and an outreach email draft for a lead. Existing drafts are returned without spending additional generation credits.","tags":["outbound"],"parameters":[{"name":"runId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"leadId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"businessDomain":{"type":"string","minLength":1},"buyerSummary":{"anyOf":[{"type":"string"},{"type":"null"}]},"contactCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"draftCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"rationale":{"anyOf":[{"type":"string"},{"type":"null"}]},"content":{"anyOf":[{"type":"string"},{"type":"null"}]},"contacts":{"type":"array","items":{"type":"object","properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}]},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"sourceUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"context":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["email","name","title","sourceUrl","context"]}},"drafts":{"type":"array","items":{"type":"object","properties":{"contactEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"fullEmail":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["contactEmail","subject","fullEmail"]}}},"required":["id","businessDomain","buyerSummary","contactCount","draftCount","rationale","content","contacts","drafts"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"x-openai-isConsequential":true}},"/siwe/nonce":{"get":{"operationId":"getSiweNonce","summary":"Get a SIWE nonce","description":"Generate and store a replay-protected nonce for a wallet address before signing a SIWE message.","tags":["auth","siwe"],"parameters":[{"name":"signerAddress","in":"query","required":true,"schema":{"type":"string","description":"Wallet address that will sign the SIWE message."},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"valid":{"const":true,"description":"Indicates the nonce was generated."},"nonce":{"type":"string","minLength":1,"description":"Generated nonce to embed in the SIWE message."}},"required":["valid","nonce"],"description":"Successful SIWE nonce response."},{"type":"object","properties":{"valid":{"const":false,"description":"Indicates nonce generation failed."},"error":{"type":"string","minLength":1,"description":"Reason the nonce could not be issued."}},"required":["valid","error"],"description":"Failed SIWE nonce response."}],"description":"Result of requesting a nonce for a SIWE sign-in flow."}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/siwe/message":{"get":{"operationId":"prepareSiweMessage","summary":"Prepare a SIWE message","description":"Verify that a previously issued nonce still exists and return the canonical SIWE message payload to sign.","tags":["auth","siwe"],"parameters":[{"name":"signerAddress","in":"query","required":true,"schema":{"type":"string","description":"Wallet address that will sign the SIWE message."},"allowEmptyValue":true,"allowReserved":true},{"name":"nonce","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Nonce previously issued by the server for this signer."},"allowEmptyValue":true,"allowReserved":true},{"name":"chainId","in":"query","required":false,"schema":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Optional EIP-155 chain ID to bind the SIWE session to."},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"valid":{"const":true},"message":{"type":"object","properties":{"address":{"description":"Wallet address that signed the SIWE message."},"chainId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"EIP-155 chain ID the SIWE session is bound to."},"domain":{"type":"string","minLength":1,"description":"Domain requesting the SIWE signature."},"expirationTime":{"type":"string","format":"date-time","description":"ISO 8601 timestamp for a SIWE temporal field."},"issuedAt":{"type":"string","format":"date-time","description":"ISO 8601 timestamp for a SIWE temporal field."},"nonce":{"type":"string","minLength":1,"description":"Nonce previously issued by the server for this signer."},"notBefore":{"type":"string","format":"date-time","description":"ISO 8601 timestamp for a SIWE temporal field."},"requestId":{"type":"string","minLength":1,"description":"Optional identifier used to correlate the SIWE request."},"resources":{"type":"array","items":{"type":"string","minLength":1},"description":"Optional resources referenced by the SIWE message."},"scheme":{"type":"string","minLength":1,"description":"Optional URI scheme for the relying party."},"statement":{"type":"string","minLength":1,"description":"Human-readable statement presented during signing."},"uri":{"type":"string","format":"uri","description":"URI that is the subject of the SIWE sign-in."},"version":{"const":"1","description":"SIWE message version."}},"required":["chainId","domain","nonce","uri","version"],"description":"Wire-format SIWE message payload with ISO timestamps."},"messageString":{"type":"string","minLength":1,"description":"Canonical EIP-4361 message string to sign."}},"required":["valid","message","messageString"]},{"type":"object","properties":{"valid":{"const":false},"error":{"type":"string","minLength":1}},"required":["valid","error"]}],"description":"Result of preparing a canonical SIWE message after verifying the nonce exists."}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/siwe/verify":{"post":{"operationId":"verifySiweSignature","summary":"Verify a SIWE signature","description":"Verify a signed SIWE message, consume its nonce, and return a session token plus stored session details.","tags":["auth","siwe"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"signature":{"type":"string","pattern":"^0x[a-fA-F0-9]+$","description":"Hex-encoded signature produced for the SIWE message."},"message":{"type":"object","properties":{"address":{"type":"string","description":"Wallet address that signed the SIWE message."},"chainId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"EIP-155 chain ID the SIWE session is bound to."},"domain":{"type":"string","minLength":1,"description":"Domain requesting the SIWE signature."},"expirationTime":{"type":"string","format":"date-time","description":"ISO 8601 timestamp for a SIWE temporal field."},"issuedAt":{"type":"string","format":"date-time","description":"ISO 8601 timestamp for a SIWE temporal field."},"nonce":{"type":"string","minLength":1,"description":"Nonce previously issued by the server for this signer."},"notBefore":{"type":"string","format":"date-time","description":"ISO 8601 timestamp for a SIWE temporal field."},"requestId":{"type":"string","minLength":1,"description":"Optional identifier used to correlate the SIWE request."},"resources":{"type":"array","items":{"type":"string","minLength":1},"description":"Optional resources referenced by the SIWE message."},"scheme":{"type":"string","minLength":1,"description":"Optional URI scheme for the relying party."},"statement":{"type":"string","minLength":1,"description":"Human-readable statement presented during signing."},"uri":{"type":"string","format":"uri","description":"URI that is the subject of the SIWE sign-in."},"version":{"const":"1","description":"SIWE message version."}},"required":["address","chainId","domain","nonce","uri","version"],"description":"EIP-4361 Sign-In with Ethereum message payload."},"address":{"type":"string","description":"Expected signer wallet address used to cross-check the SIWE message."}},"required":["signature","message","address"],"description":"Input required to verify a signed SIWE message and create a session."}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"valid":{"const":true,"description":"Indicates the SIWE signature was verified."},"recoveredAddress":{"description":"Recovered signer address after successful verification."},"token":{"type":"string","format":"uuid","description":"Opaque SIWE session token to send on authenticated requests."},"session":{"type":"object","properties":{"address":{"description":"Wallet address that signed and created the SIWE session."},"delegatorAddress":{"anyOf":[{},{"type":"null"}],"description":"Optional EIP-7702 account the signer was allowed to act as for this session."},"chainId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"EIP-155 chain ID bound to the created SIWE session."},"createdAt":{"type":"string","format":"date-time","description":"ISO timestamp describing when the SIWE session was created."},"maxAgeSeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0,"description":"Session lifetime in seconds."}},"required":["chainId","createdAt","maxAgeSeconds"],"description":"Stored SIWE session details returned with the session token."}},"required":["valid","token","session"],"description":"Successful SIWE signature verification response."},{"type":"object","properties":{"valid":{"const":false,"description":"Indicates the SIWE signature verification failed."},"error":{"type":"string","minLength":1,"description":"Reason the SIWE signature could not be verified."}},"required":["valid","error"],"description":"Failed SIWE signature verification response."}],"description":"Result of verifying a SIWE message and creating a session token."}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/siwe/allowed-chains":{"get":{"operationId":"getAllowedChains","summary":"Get allowed chains for SIWE","description":"Retrieve the list of blockchain networks that are allowed for SIWE authentication.","tags":["auth","siwe"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"number"}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/eip712/domain":{"get":{"operationId":"getEip712Domain","summary":"Get EIP-712 signing domain","description":"Return the EIP-712 domain separator used for Namefi payload signing. The Namefi domain is chain-agnostic (chainId omitted) to allow cross-chain signatures.","tags":["auth","eip712"],"parameters":[{"name":"chain","in":"query","required":true,"schema":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"EIP-155 chain ID to query the signing domain for."},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Human-readable signing domain name."},"version":{"type":"string","description":"Domain version string."},"chainId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"EIP-155 chain ID bound to the domain, if chain-specific signing is used."},"verifyingContract":{"type":"string","description":"Contract address bound to the domain, if applicable."},"salt":{"type":"string","description":"Disambiguation salt, if applicable."}},"description":"EIP-712 typed-data domain separator."}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/eip712/types":{"get":{"operationId":"getAllEip712Types","summary":"Get all EIP-712 types","description":"Return every registered EIP-712 struct type used by the Namefi API.","tags":["auth","eip712"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Field name."},"type":{"type":"string","description":"Solidity type (e.g. \"address\", \"uint256\")."}},"required":["name","type"],"description":"A single EIP-712 typed-data field."}},"description":"Map of struct name to its typed-data fields (EIP-712 `types` object)."}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/eip712/types-for-method":{"get":{"operationId":"getEip712TypesForMethod","summary":"Get EIP-712 types for a method","description":"Return the accepted primary types and full type map for a specific API operation that supports EIP-712 authentication.","tags":["auth","eip712"],"parameters":[{"name":"method","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"API operation ID (e.g. \"createDnsRecord\", \"registerDomain\")."},"allowEmptyValue":true,"allowReserved":true},{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"found":{"type":"boolean","description":"Whether the method was found in the EIP-712 registry."},"acceptedPrimaryTypes":{"type":"array","items":{"type":"string"},"description":"Primary type names accepted by this method (sent via x-namefi-eip712-type header). Present when found is true."},"types":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Field name."},"type":{"type":"string","description":"Solidity type (e.g. \"address\", \"uint256\")."}},"required":["name","type"],"description":"A single EIP-712 typed-data field."}},"description":"EIP-712 type map for this method. Present when found is true."},"availableMethods":{"type":"array","items":{"type":"string"},"description":"List of operation IDs that support EIP-712 authentication. Present when found is false."}},"required":["found"],"description":"Result of looking up EIP-712 types for a specific API operation."}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}}}},"/auth/oauth/device/start":{"post":{"operationId":"startDeviceAuth","summary":"Start a device-authorization login","description":"Begin a device-authorization login: creates a pending request and returns a browser confirmation URL plus a token to poll for the result.","tags":["auth","oauth"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"client":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"Human-readable name of the client requesting access."},"version":{"type":"string","minLength":1,"maxLength":100,"description":"Version of the client requesting access."},"platform":{"type":"string","minLength":1,"maxLength":200,"description":"Operating system / platform the client is running on."}},"description":"Optional metadata about the client requesting access."},"clientId":{"type":"string","minLength":1,"maxLength":128,"description":"Identifier of the requesting client. Known ids render as a verified client on the confirm page; unknown ids are allowed but shown as unverified."},"variant":{"enum":["headless"],"type":"string","default":"headless","description":"Device-authorization variant. Reserved for future flows (e.g. a typed user_code); currently only the headless capability-URL variant is supported."},"codeChallenge":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","description":"PKCE S256 code challenge: BASE64URL(SHA256(codeVerifier))."},"codeChallengeMethod":{"const":"S256","description":"PKCE challenge method; only S256 is supported."}},"required":["codeChallenge","codeChallengeMethod"],"description":"Input used to begin a device-authorization login."}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"authReqToken":{"type":"string","format":"uuid","description":"Opaque handle for this login request; used to poll status."},"confirmUrl":{"type":"string","format":"uri","description":"Browser URL where the user approves or cancels the request."},"expiresAt":{"type":"string","format":"date-time","description":"ISO timestamp after which the request can no longer be used."},"pollIntervalMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"exclusiveMinimum":0,"description":"Suggested delay between consecutive status calls."}},"required":["authReqToken","confirmUrl","expiresAt","pollIntervalMs"],"description":"Details required to drive a device-authorization login."}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/auth/oauth/device/status":{"post":{"operationId":"getDeviceAuthStatus","summary":"Poll a device-authorization login","description":"Long-poll the status of a device login request. Returns the minted JWT once the user approves, or a terminal state (cancelled/expired). Holds the connection up to ~25s while pending.","tags":["auth","oauth"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"authReqToken":{"type":"string","format":"uuid","description":"The authReqToken returned by the start endpoint."},"codeVerifier":{"type":"string","pattern":"^[A-Za-z0-9._~-]{43,128}$","description":"PKCE code verifier proving possession of the codeChallenge sent at start."}},"required":["authReqToken","codeVerifier"],"description":"Input used to poll the status of a device login request."}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"status":{"const":"pending","description":"The request is still awaiting browser confirmation."}},"required":["status"],"description":"No decision yet; the client should poll again."},{"type":"object","properties":{"status":{"const":"approved","description":"The user approved the request."},"token":{"type":"string","minLength":1,"description":"JWT to send as an Authorization: Bearer credential."},"tokenType":{"const":"Bearer"},"expiresAt":{"type":"string","format":"date-time","description":"ISO timestamp after which the token expires."},"user":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Authenticated user id."},"primaryEmail":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Primary email of the authenticated user, if any."},"walletAddress":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A linked wallet address of the authenticated user, if any."}},"required":["id"],"description":"Minimal user details delivered alongside an approved token."}},"required":["status","token","tokenType","expiresAt","user"],"description":"Approved response carrying the single-use JWT."},{"type":"object","properties":{"status":{"const":"cancelled","description":"The user declined the request."}},"required":["status"],"description":"The request was cancelled by the user."},{"type":"object","properties":{"status":{"const":"expired","description":"The request no longer exists (expired or consumed)."}},"required":["status"],"description":"The request is gone and cannot be approved."}],"description":"Current state of a device-authorization login request."}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}},"/auth/oauth/token":{"post":{"operationId":"exchangeOAuthCode","summary":"Exchange an authorization code","description":"Exchange an authorization code (from the redirect) plus the PKCE code verifier for the account JWT. Single-use; verifies the code is bound to the same client_id and redirect_uri.","tags":["auth","oauth"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":512,"description":"Authorization code received on the redirect_uri."},"codeVerifier":{"type":"string","pattern":"^[A-Za-z0-9._~-]{43,128}$","description":"PKCE code verifier matching the codeChallenge from authorize."},"clientId":{"type":"string","minLength":1,"maxLength":2048,"description":"The client_id the authorization code was issued for."},"redirectUri":{"type":"string","format":"uri","description":"The redirect_uri the authorization code was issued for."},"resource":{"type":"string","maxLength":2048,"format":"uri","description":"Optional RFC 8707 resource indicator. When provided it must match the resource the authorization code was issued for; the minted JWT is already bound to that resource."}},"required":["code","codeVerifier","clientId","redirectUri"],"description":"Exchange an authorization code (+ PKCE verifier) for the account JWT."}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","minLength":1,"description":"JWT to send as an Authorization: Bearer credential."},"tokenType":{"const":"Bearer"},"expiresAt":{"type":"string","format":"date-time","description":"ISO timestamp after which the token expires."},"user":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Authenticated user id."},"primaryEmail":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Primary email of the authenticated user, if any."},"walletAddress":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A linked wallet address of the authenticated user, if any."}},"required":["id"],"description":"Minimal user details delivered alongside an approved token."}},"required":["token","tokenType","expiresAt","user"],"description":"The minted account JWT and minimal user details."}}}},"400":{"description":"400","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"BAD_REQUEST"},"status":{"const":400},"message":{"type":"string","default":"Bad Request"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"UNAUTHORIZED"},"status":{"const":401},"message":{"type":"string","default":"Unauthorized"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"402":{"description":"402","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PAYMENT_REQUIRED"},"status":{"const":402},"message":{"type":"string","default":"Payment Required"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"FORBIDDEN"},"status":{"const":403},"message":{"type":"string","default":"Forbidden"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_FOUND"},"status":{"const":404},"message":{"type":"string","default":"Not Found"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"406":{"description":"406","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"NOT_ACCEPTABLE"},"status":{"const":406},"message":{"type":"string","default":"Not Acceptable"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"408":{"description":"408","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TIMEOUT"},"status":{"const":408},"message":{"type":"string","default":"Request Timeout"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"409":{"description":"409","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"CONFLICT"},"status":{"const":409},"message":{"type":"string","default":"Conflict"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"412":{"description":"412","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"PRECONDITION_FAILED"},"status":{"const":412},"message":{"type":"string","default":"Precondition Failed"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"TOO_MANY_REQUESTS"},"status":{"const":429},"message":{"type":"string","default":"Too Many Requests"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"defined":{"const":true},"code":{"const":"INTERNAL_SERVER_ERROR"},"status":{"const":500},"message":{"type":"string","default":"Internal Server Error"},"data":{}},"required":["defined","code","status","message"]},{"type":"object","properties":{"defined":{"const":false},"code":{"type":"string"},"status":{"type":"number"},"message":{"type":"string"},"data":{}},"required":["defined","code","status","message"]}]}}}}},"parameters":[{"$ref":"#/components/parameters/Eip7702AccountHeader"},{"$ref":"#/components/parameters/Eip1271AccountHeader"},{"$ref":"#/components/parameters/Erc1271AccountHeader"}]}}}}