{"openapi":"3.1.2","info":{"title":"Addie wholesale API","version":"1.0.0-prelaunch","description":"Check the public manifest for payment availability. See developer.md for encryption and licensing."},"servers":[{"url":"https://data.addie.house/v1"}],"paths":{"/addresses":{"get":{"operationId":"list_address","summary":"Buy address records","security":[{"bearer":[]}],"parameters":[{"name":"snapshotId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"fields","in":"query","schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"maxSpendMicroUsd","in":"query","required":true,"schema":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Unsigned integer string; amounts are micro-USD/token atoms, never floating-point dollars"}}],"responses":{"200":{"description":"Paid page with data, snapshotId, nextCursor and purchase receipt","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"contentHash":{"type":"string"},"source":{"type":"string"},"data":{"type":"object","additionalProperties":true}},"required":[],"additionalProperties":true}},"snapshotId":{"type":"string","format":"uuid"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"purchase":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true},{"type":"null"}]}},"required":["data","snapshotId","nextCursor","purchase"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"address"}},"/listings":{"get":{"operationId":"list_listing","summary":"Buy listing records","security":[{"bearer":[]}],"parameters":[{"name":"snapshotId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"fields","in":"query","schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"maxSpendMicroUsd","in":"query","required":true,"schema":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Unsigned integer string; amounts are micro-USD/token atoms, never floating-point dollars"}}],"responses":{"200":{"description":"Paid page with data, snapshotId, nextCursor and purchase receipt","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"contentHash":{"type":"string"},"source":{"type":"string"},"data":{"type":"object","additionalProperties":true}},"required":[],"additionalProperties":true}},"snapshotId":{"type":"string","format":"uuid"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"purchase":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true},{"type":"null"}]}},"required":["data","snapshotId","nextCursor","purchase"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"listing"}},"/historical-listings":{"get":{"operationId":"list_historical_listing","summary":"Buy historical_listing records","security":[{"bearer":[]}],"parameters":[{"name":"snapshotId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"fields","in":"query","schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"maxSpendMicroUsd","in":"query","required":true,"schema":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Unsigned integer string; amounts are micro-USD/token atoms, never floating-point dollars"}}],"responses":{"200":{"description":"Paid page with data, snapshotId, nextCursor and purchase receipt","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"contentHash":{"type":"string"},"source":{"type":"string"},"data":{"type":"object","additionalProperties":true}},"required":[],"additionalProperties":true}},"snapshotId":{"type":"string","format":"uuid"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"purchase":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true},{"type":"null"}]}},"required":["data","snapshotId","nextCursor","purchase"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"historical_listing"}},"/balance":{"get":{"operationId":"get_balance","security":[{"bearer":[]}],"responses":{"200":{"description":"Separate locked/floating balances and reservations","content":{"application/json":{"schema":{"type":"object","properties":{"lockedAvailable":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"lockedReserved":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"floatingAvailable":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"floatingReserved":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"floatingConsumed":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"floatingFunded":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"lockedDeliveryExposure":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"quoteHeadroom":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"balance"}},"/receipts/{id}":{"get":{"operationId":"get_receipt","security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Free accounting receipt; excludes purchased data","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"receipts"}},"/registration":{"post":{"operationId":"registration","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"email":{"type":"string","format":"email"},"country":{"type":"string","pattern":"^[A-Z]{2}$"},"purpose":{"type":"string","description":"5–80 UTF-8 bytes"},"category":{"type":"string","enum":["research","ai_training","internal_business","customer_product","other","property_platform","raw_data_resale"]},"attestation":{"const":true},"termsVersion":{"type":"string"}},"required":["name","email","country","purpose","category","attestation","termsVersion"]}}}},"responses":{"200":{"description":"Operation completed","content":{"application/json":{"schema":{"type":"object","properties":{"organisationId":{"type":"string","format":"uuid"},"status":{"type":"string"},"bootstrapToken":{"type":"string"},"declarationHash":{"type":"string"}},"required":["organisationId","status","bootstrapToken","declarationHash"],"additionalProperties":true}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"type":"object","properties":{"organisationId":{"type":"string","format":"uuid"},"status":{"type":"string"},"bootstrapToken":{"type":"string"},"declarationHash":{"type":"string"}},"required":["organisationId","status","bootstrapToken","declarationHash"],"additionalProperties":true}}}},"202":{"description":"Pending finalization; not yet spendable","content":{"application/json":{"schema":{"type":"object","properties":{"organisationId":{"type":"string","format":"uuid"},"status":{"type":"string"},"bootstrapToken":{"type":"string"},"declarationHash":{"type":"string"}},"required":["organisationId","status","bootstrapToken","declarationHash"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/email/verify":{"post":{"operationId":"email_verify","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"token":{"type":"string"}},"required":["token"]}}}},"responses":{"200":{"description":"Operation completed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"}},"required":[],"additionalProperties":true}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"}},"required":[],"additionalProperties":true}}}},"202":{"description":"Pending finalization; not yet spendable","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/wallet/challenge":{"post":{"operationId":"wallet_challenge","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"network":{"type":"string","enum":["ethereum","solana"]},"payer":{"type":"string"}},"required":["network","payer"]}}}},"responses":{"200":{"description":"Operation completed","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"network":{"type":"string"},"payer":{"type":"string"},"message":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"}},"required":[],"additionalProperties":true}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"network":{"type":"string"},"payer":{"type":"string"},"message":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"}},"required":[],"additionalProperties":true}}}},"202":{"description":"Pending finalization; not yet spendable","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"network":{"type":"string"},"payer":{"type":"string"},"message":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/wallet/verify":{"post":{"operationId":"wallet_verify","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"challengeId":{"type":"string","format":"uuid"},"signature":{"type":"string"}},"required":["challengeId","signature"]}}}},"responses":{"200":{"description":"Operation completed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"payer":{"type":"string"}},"required":[],"additionalProperties":true}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"payer":{"type":"string"}},"required":[],"additionalProperties":true}}}},"202":{"description":"Pending finalization; not yet spendable","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"payer":{"type":"string"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/invoices":{"post":{"operationId":"invoices","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"rail":{"type":"string","enum":["ethereum-usdc","ethereum-usdt","solana-usdc","solana-usdt"]},"payer":{"type":"string"},"atoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Unsigned integer string; amounts are micro-USD/token atoms, never floating-point dollars"},"kind":{"type":"string","enum":["verification","topup"]}},"required":["rail","payer","atoms","kind"]}}}},"responses":{"200":{"description":"Operation completed","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"rail":{"type":"string"},"payer":{"type":"string"},"token":{"type":"string"},"recipient":{"type":"string"},"atoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"expiresAt":{"type":"string","format":"date-time"},"lockedAmount":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"floatingAmount":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"priceBookId":{"type":"string","format":"uuid"},"publicKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"declarationHash":{"type":"string"},"email":{"type":"string"},"purpose":{"type":"string"},"encryptionContext":{"type":"object","properties":{"invoiceId":{"type":"string","format":"uuid"},"organisationId":{"type":"string","format":"uuid"},"network":{"type":"string"},"token":{"type":"string"},"recipient":{"type":"string"},"payer":{"type":"string"},"amountAtoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"expiresAt":{"type":"string","format":"date-time"},"termsVersion":{"type":"string"},"recipientKeyDigest":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":[],"additionalProperties":true},"authorization":{"type":"object","properties":{"quoteHash":{"type":"string"},"synthetic":{"type":"boolean"},"signature":{"type":"string"},"signer":{"type":"string"},"router":{"type":"string"},"routerCodeHash":{"type":"string"},"treasuryTokenAccount":{"type":"string"},"invoice":{"type":"object","additionalProperties":true}},"required":[],"additionalProperties":true},"tax":{"type":"object","properties":{"sellerGstRegistered":{"type":"boolean"},"gstAtoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"documentType":{"type":"string"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"rail":{"type":"string"},"payer":{"type":"string"},"token":{"type":"string"},"recipient":{"type":"string"},"atoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"expiresAt":{"type":"string","format":"date-time"},"lockedAmount":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"floatingAmount":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"priceBookId":{"type":"string","format":"uuid"},"publicKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"declarationHash":{"type":"string"},"email":{"type":"string"},"purpose":{"type":"string"},"encryptionContext":{"type":"object","properties":{"invoiceId":{"type":"string","format":"uuid"},"organisationId":{"type":"string","format":"uuid"},"network":{"type":"string"},"token":{"type":"string"},"recipient":{"type":"string"},"payer":{"type":"string"},"amountAtoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"expiresAt":{"type":"string","format":"date-time"},"termsVersion":{"type":"string"},"recipientKeyDigest":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":[],"additionalProperties":true},"authorization":{"type":"object","properties":{"quoteHash":{"type":"string"},"synthetic":{"type":"boolean"},"signature":{"type":"string"},"signer":{"type":"string"},"router":{"type":"string"},"routerCodeHash":{"type":"string"},"treasuryTokenAccount":{"type":"string"},"invoice":{"type":"object","additionalProperties":true}},"required":[],"additionalProperties":true},"tax":{"type":"object","properties":{"sellerGstRegistered":{"type":"boolean"},"gstAtoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"documentType":{"type":"string"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}}},"202":{"description":"Pending finalization; not yet spendable","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"rail":{"type":"string"},"payer":{"type":"string"},"token":{"type":"string"},"recipient":{"type":"string"},"atoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"expiresAt":{"type":"string","format":"date-time"},"lockedAmount":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"floatingAmount":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"priceBookId":{"type":"string","format":"uuid"},"publicKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"declarationHash":{"type":"string"},"email":{"type":"string"},"purpose":{"type":"string"},"encryptionContext":{"type":"object","properties":{"invoiceId":{"type":"string","format":"uuid"},"organisationId":{"type":"string","format":"uuid"},"network":{"type":"string"},"token":{"type":"string"},"recipient":{"type":"string"},"payer":{"type":"string"},"amountAtoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"expiresAt":{"type":"string","format":"date-time"},"termsVersion":{"type":"string"},"recipientKeyDigest":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":[],"additionalProperties":true},"authorization":{"type":"object","properties":{"quoteHash":{"type":"string"},"synthetic":{"type":"boolean"},"signature":{"type":"string"},"signer":{"type":"string"},"router":{"type":"string"},"routerCodeHash":{"type":"string"},"treasuryTokenAccount":{"type":"string"},"invoice":{"type":"object","additionalProperties":true}},"required":[],"additionalProperties":true},"tax":{"type":"object","properties":{"sellerGstRegistered":{"type":"boolean"},"gstAtoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"documentType":{"type":"string"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"operationId":"get__invoices","summary":"Free own invoices metadata","security":[{"bearer":[]}],"parameters":[{"name":"after","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Free own invoices metadata","content":{"application/json":{"schema":{"type":"object","properties":{"invoices":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"rail":{"type":"string"},"kind":{"type":"string"},"payer":{"type":"string"},"tokenAtoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"status":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"lockedAmount":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"floatingAmount":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"nextAfter":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["invoices","nextAfter"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"funding or onboarding"}},"/payments/notify":{"post":{"operationId":"payments_notify","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"invoiceId":{"type":"string","format":"uuid"},"transactionId":{"type":"string"}},"required":["invoiceId","transactionId"]}}}},"responses":{"200":{"description":"Operation completed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"pending_finalization"},"credited":{"const":false}},"required":[],"additionalProperties":true}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"pending_finalization"},"credited":{"const":false}},"required":[],"additionalProperties":true}}}},"202":{"description":"Pending finalization; not yet spendable","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"pending_finalization"},"credited":{"const":false}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/credentials":{"post":{"operationId":"credentials","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"label":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"dailyCap":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Unsigned integer string; amounts are micro-USD/token atoms, never floating-point dollars"},"monthlyCap":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Unsigned integer string; amounts are micro-USD/token atoms, never floating-point dollars"},"expiresAt":{"type":"string","format":"date-time"},"ipAllowlist":{"type":"array","items":{"type":"string"},"maxItems":30}},"required":["label","scopes","dailyCap","monthlyCap","expiresAt","ipAllowlist"]}}}},"responses":{"200":{"description":"Operation completed","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"token":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"scopes":{"type":"array","items":{"type":"string"}}},"required":[],"additionalProperties":true}}}},"201":{"description":"Resource created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"token":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"scopes":{"type":"array","items":{"type":"string"}}},"required":[],"additionalProperties":true}}}},"202":{"description":"Pending finalization; not yet spendable","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"token":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"scopes":{"type":"array","items":{"type":"string"}}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"operationId":"get__credentials","summary":"Free scoped-key policy metadata; secrets are never repeated","security":[{"bearer":[]}],"parameters":[{"name":"after","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Free scoped-key policy metadata; secrets are never repeated","content":{"application/json":{"schema":{"type":"object","properties":{"credentials":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"dailyCap":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"monthlyCap":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"expiresAt":{"type":"string","format":"date-time"},"revokedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":[],"additionalProperties":true}},"nextAfter":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["credentials","nextAfter"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"credentials_admin or onboarding"}},"/pricing":{"get":{"operationId":"get__pricing","summary":"Public unit prices and worked request costs; never an aggregate target","security":[],"parameters":[],"responses":{"200":{"description":"Public unit prices and worked request costs; never an aggregate target","content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"currency":{"const":"USD"},"unit":{"type":"string"},"unitPriceMicroUsd":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"priceBookId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"effectiveAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"examples":{"type":"array","items":{"type":"object","properties":{"units":{"type":"integer"},"costMicroUsd":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"repeatsCharged":{"const":true},"existingLockedCredit":{"type":"string"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":""}},"/account":{"get":{"operationId":"get__account","summary":"Own admission status; unchecked buyers remain screening=deferred","security":[{"bearer":[]}],"parameters":[],"responses":{"200":{"description":"Own admission status; unchecked buyers remain screening=deferred","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string"},"holdReasons":{"type":"array","items":{"type":"string"}},"termsVersion":{"type":"string"},"emailVerifiedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"screening":{"enum":["required","deferred"]}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"funding or onboarding"}},"/cash-receipts":{"get":{"operationId":"get__cash_receipts","summary":"Free own cash-receipts metadata","security":[{"bearer":[]}],"parameters":[{"name":"after","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Free own cash-receipts metadata","content":{"application/json":{"schema":{"type":"object","properties":{"receipts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"invoiceId":{"type":"string","format":"uuid"},"network":{"type":"string"},"transactionId":{"type":"string"},"payer":{"type":"string"},"tokenAtoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"status":{"type":"string"}},"required":[],"additionalProperties":true}},"nextAfter":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["receipts","nextAfter"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"funding or onboarding"}},"/refunds":{"get":{"operationId":"get__refunds","summary":"Free own refunds metadata","security":[{"bearer":[]}],"parameters":[{"name":"after","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Free own refunds metadata","content":{"application/json":{"schema":{"type":"object","properties":{"refunds":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"invoiceId":{"type":"string","format":"uuid"},"chainReceiptId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"rail":{"type":"string"},"tokenAtoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"feeAtoms":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"destination":{"type":"string"},"status":{"type":"string"}},"required":[],"additionalProperties":true}},"nextAfter":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":["refunds","nextAfter"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"funding or onboarding"},"post":{"operationId":"post__refunds","summary":"Request rejected-application or specific unallocated-payment refund, less verified network fees","security":[{"bearer":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"invoiceId":{"type":"string","format":"uuid"},"chainReceiptId":{"type":"string","format":"uuid"}},"required":["invoiceId"]}}}},"responses":{"200":{"description":"Request rejected-application or specific unallocated-payment refund, less verified network fees","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"source":{"type":"string"},"invoiceId":{"type":"string","format":"uuid"},"chainReceiptId":{"type":"string","format":"uuid"},"duplicate":{"type":"boolean"}},"required":[],"additionalProperties":true}}}},"201":{"description":"Request rejected-application or specific unallocated-payment refund, less verified network fees","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"source":{"type":"string"},"invoiceId":{"type":"string","format":"uuid"},"chainReceiptId":{"type":"string","format":"uuid"},"duplicate":{"type":"boolean"}},"required":[],"additionalProperties":true}}}},"202":{"description":"Queued; check free status metadata","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"source":{"type":"string"},"invoiceId":{"type":"string","format":"uuid"},"chainReceiptId":{"type":"string","format":"uuid"},"duplicate":{"type":"boolean"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"funding or onboarding"}},"/credentials/{id}":{"delete":{"operationId":"revoke_credential","security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Credential revoked","content":{"application/json":{"schema":{"type":"object","properties":{"revoked":{"const":true},"id":{"type":"string","format":"uuid"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"credentials_admin or onboarding"}},"/receipts":{"get":{"operationId":"get__receipts","summary":"Free purchase receipt ledger","security":[{"bearer":[]}],"parameters":[{"name":"afterAt","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"afterId","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Free purchase receipt ledger","content":{"application/json":{"schema":{"type":"object","properties":{"receipts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true}},"next":{"anyOf":[{"type":"object","properties":{"afterAt":{"type":"string","format":"date-time"},"afterId":{"type":"string","format":"uuid"}},"required":[],"additionalProperties":true},{"type":"null"}]}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"receipts"}},"/catalogue":{"get":{"operationId":"get__catalogue","summary":"Free admitted snapshot counts and prospective price","security":[{"bearer":[]}],"parameters":[],"responses":{"200":{"description":"Free admitted snapshot counts and prospective price","content":{"application/json":{"schema":{"type":"object","properties":{"snapshots":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"counts":{"type":"object","additionalProperties":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"manifestHash":{"type":"string"},"completedAt":{"type":"string","format":"date-time"},"unitPrice":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"priceBookId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":[],"additionalProperties":true}}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"balance"}},"/changes":{"get":{"operationId":"get__changes","summary":"Free current source-policy change feed","security":[{"bearer":[]}],"parameters":[{"name":"after","in":"query","schema":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Unsigned integer string; amounts are micro-USD/token atoms, never floating-point dollars"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Free current source-policy change feed","content":{"application/json":{"schema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"createdAt":{"type":"string","format":"date-time"},"kind":{"type":"string"},"entityType":{"type":"string"},"entityId":{"type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"sku":{"anyOf":[{"type":"string"},{"type":"null"}]},"revision":{"type":"string"}},"required":[],"additionalProperties":true}},"nextAfter":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"receipts"}},"/assets":{"get":{"operationId":"get__assets","summary":"Free cursor-paged admitted asset metadata","security":[{"bearer":[]}],"parameters":[{"name":"sku","in":"query","required":true,"schema":{"enum":["image","floorplan"]}},{"name":"snapshotId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Free cursor-paged admitted asset metadata","content":{"application/json":{"schema":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"sku":{"type":"string"},"propertyId":{"anyOf":[{"type":"string"},{"type":"null"}]},"contentHash":{"type":"string"},"byteSize":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"mimeType":{"type":"string"},"classification":{"type":"string"}},"required":[],"additionalProperties":true}},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]},"billing":{"type":"string"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"image or floorplan"}},"/media/purchases":{"post":{"operationId":"post__media_purchases","summary":"Buy one full-resolution original","security":[{"bearer":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"assetId":{"type":"string","format":"uuid"},"sku":{"enum":["image","floorplan"]},"maxSpendMicroUsd":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Unsigned integer string; amounts are micro-USD/token atoms, never floating-point dollars"}},"required":["assetId","sku","maxSpendMicroUsd"]}}}},"responses":{"200":{"description":"Buy one full-resolution original","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"},"contentHash":{"type":"string"},"byteSize":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"purchase":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true}},"required":["url","expiresAt","contentHash","byteSize","purchase"],"additionalProperties":true}}}},"201":{"description":"Buy one full-resolution original","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"},"contentHash":{"type":"string"},"byteSize":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"purchase":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true}},"required":["url","expiresAt","contentHash","byteSize","purchase"],"additionalProperties":true}}}},"202":{"description":"Queued; check free status metadata","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"},"contentHash":{"type":"string"},"byteSize":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"purchase":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true}},"required":["url","expiresAt","contentHash","byteSize","purchase"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"image or floorplan"}},"/exports":{"post":{"operationId":"post__exports","summary":"Create a free private materialization job","security":[{"bearer":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"sku":{"enum":["address","listing","historical_listing","image","floorplan"]},"snapshotId":{"type":"string","format":"uuid"}},"required":["sku","snapshotId"]}}}},"responses":{"200":{"description":"Create a free private materialization job","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"snapshotId":{"type":"string","format":"uuid"},"sku":{"type":"string"},"status":{"type":"string"},"billing":{"type":"string"}},"required":["id","snapshotId","sku","status"],"additionalProperties":true}}}},"201":{"description":"Create a free private materialization job","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"snapshotId":{"type":"string","format":"uuid"},"sku":{"type":"string"},"status":{"type":"string"},"billing":{"type":"string"}},"required":["id","snapshotId","sku","status"],"additionalProperties":true}}}},"202":{"description":"Queued; check free status metadata","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"snapshotId":{"type":"string","format":"uuid"},"sku":{"type":"string"},"status":{"type":"string"},"billing":{"type":"string"}},"required":["id","snapshotId","sku","status"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"exports and requested SKU"}},"/exports/{id}":{"get":{"operationId":"get__exports__id_","summary":"Free progressive chunk metadata; resume nextAfter while building","security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"after","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Free progressive chunk metadata; resume nextAfter while building","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"snapshotId":{"type":"string","format":"uuid"},"requestedSkus":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"createdAt":{"type":"string","format":"date-time"},"completedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"chunks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"contentHash":{"type":"string"},"byteSize":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"mimeType":{"type":"string"},"format":{"type":"string"},"status":{"type":"string"}},"required":[],"additionalProperties":true}},"nextAfter":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"exports"}},"/exports/{id}/chunks/{artifactId}/purchases":{"post":{"operationId":"post__exports__id__chunks__artifact_d__purchases","summary":"Buy every item in a private chunk","security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"artifactId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"maxSpendMicroUsd":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Unsigned integer string; amounts are micro-USD/token atoms, never floating-point dollars"}},"required":["maxSpendMicroUsd"]}}}},"responses":{"200":{"description":"Buy every item in a private chunk","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"},"contentHash":{"type":"string"},"byteSize":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"purchase":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true}},"required":["url","expiresAt","contentHash","byteSize","purchase"],"additionalProperties":true}}}},"201":{"description":"Buy every item in a private chunk","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"},"contentHash":{"type":"string"},"byteSize":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"purchase":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true}},"required":["url","expiresAt","contentHash","byteSize","purchase"],"additionalProperties":true}}}},"202":{"description":"Queued; check free status metadata","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"},"contentHash":{"type":"string"},"byteSize":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"purchase":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"fingerprint":{"type":"string"},"sku":{"type":"string"},"units":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"reservedDebit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"actualDebit":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},{"type":"null"}]},"committedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"resultHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"lotId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"quantity":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true},"unitPrice":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"debit":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"rounding":{"type":"object","properties":{"numerator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"denominator":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}},"required":[],"additionalProperties":true}}},"required":["id","status","sku","units","actualDebit"],"additionalProperties":true}},"required":["url","expiresAt","contentHash","byteSize","purchase"],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"exports and chunk SKU"}},"/payments/blockhash":{"post":{"operationId":"post__payments_blockhash","summary":"Current mainnet Solana lifetime for an own pending invoice","security":[{"bearer":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"invoiceId":{"type":"string","format":"uuid"}},"required":["invoiceId"]}}}},"responses":{"200":{"description":"Current mainnet Solana lifetime for an own pending invoice","content":{"application/json":{"schema":{"type":"object","properties":{"blockhash":{"type":"string"},"lastValidBlockHeight":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}}}},"201":{"description":"Current mainnet Solana lifetime for an own pending invoice","content":{"application/json":{"schema":{"type":"object","properties":{"blockhash":{"type":"string"},"lastValidBlockHeight":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}}}},"202":{"description":"Queued; check free status metadata","content":{"application/json":{"schema":{"type":"object","properties":{"blockhash":{"type":"string"},"lastValidBlockHeight":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":"funding or onboarding"}},"/access/recovery":{"post":{"operationId":"post__access_recovery","summary":"Request company-mailbox recovery; existence is not disclosed","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"organisationId":{"type":"string","format":"uuid"},"email":{"type":"string","format":"email"}},"required":["organisationId","email"]}}}},"responses":{"200":{"description":"Request company-mailbox recovery; existence is not disclosed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"if_matched_email_sent"}},"required":[],"additionalProperties":true}}}},"201":{"description":"Request company-mailbox recovery; existence is not disclosed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"if_matched_email_sent"}},"required":[],"additionalProperties":true}}}},"202":{"description":"Queued; check free status metadata","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"if_matched_email_sent"}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":""}},"/access/recover":{"post":{"operationId":"post__access_recover","summary":"Consume a single-use recovery code","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"organisationId":{"type":"string","format":"uuid"},"token":{"type":"string"}},"required":["organisationId","token"]}}}},"responses":{"200":{"description":"Consume a single-use recovery code","content":{"application/json":{"schema":{"type":"object","properties":{"organisationId":{"type":"string","format":"uuid"},"bootstrapToken":{"type":"string"},"expiresInSeconds":{"const":86400}},"required":[],"additionalProperties":true}}}},"201":{"description":"Consume a single-use recovery code","content":{"application/json":{"schema":{"type":"object","properties":{"organisationId":{"type":"string","format":"uuid"},"bootstrapToken":{"type":"string"},"expiresInSeconds":{"const":86400}},"required":[],"additionalProperties":true}}}},"202":{"description":"Queued; check free status metadata","content":{"application/json":{"schema":{"type":"object","properties":{"organisationId":{"type":"string","format":"uuid"},"bootstrapToken":{"type":"string"},"expiresInSeconds":{"const":86400}},"required":[],"additionalProperties":true}}}},"400":{"description":"400 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"401 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"402 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"403 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"404 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"409 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"413 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"415 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"429 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"503 error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-required-scope":""}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}},"charged":{"type":["boolean","string"]}}}}}}