Developer

Sales

Signature, parameters, an example call and the sample response for every method in this group, generated from the contract.

lid.sales.list

what you sold, with the deliverable files (filter by ?buyer=)

Key permission: none (read)

lid.sales.list(input?, options?)

NameTypeRequiredSource
limitnumberOptionalquery
productPdastringOptionalquery
buyerstringOptionalquery
SDK
const result = await lid.sales.list();

Hand-written sample (not captured on devnet yet)

Response
{
  "ok": true,
  "sales": [
    {
      "kind": "hold",
      "status": "held",
      "receiptPda": "HoLdF3kq2mVb7nXcR9sT1uW4yZ6aB8dE0gH2jK4mN6pQ",
      "productPda": "GChjmLffjgv2UFTipAoRFHaHSdGBJcmBDsDJ1Ayaqpia",
      "name": "Paid sample · Lid docs",
      "buyer": "5ZpFH5KRBGw9ms5Ud5cUN9bJMdJ5hYB6u1qaV8cBBkxu",
      "pricePaid": "1000000",
      "platformFee": "30000",
      "affiliate": null,
      "affiliateCommission": "0",
      "signature": "3vQe7bKx1JqYtR8mW2sZ5nL9cF4hD6gP0aS1uV3wX7yB2kM8tN5rE9jC4fH6gL1pQ3sU7vW9xA2bD4eF6hJ8kL",
      "purchasedAt": "2026-09-25T16:20:11.000Z",
      "releaseAt": "2026-10-02T16:20:11.000Z",
      "resolvedAt": null,
      "files": [
        {
          "name": "sample-guide.md",
          "url": "https://lidpro-q2r8s1hvcfekebiwyu.t3.storageapi.…"
        }
      ]
    },
    {
      "kind": "purchase",
      "status": "completed",
      "receiptPda": "BvyLsnWadT6rSF8by3ggPf9eWQERDi64CeRc7qNPewpU",
      "productPda": "GChjmLffjgv2UFTipAoRFHaHSdGBJcmBDsDJ1Ayaqpia",
      "name": "Paid sample · Lid docs",
      "buyer": "2xWueDPTL9T7Rt6AN9Cj4GyCaA6dXygKJiiJiMMP13EK",
      "pricePaid": "1000000",
      "platformFee": "30000",
      "affiliate": null,
      "affiliateCommission": "0",
      "signature": "5hS8xaiQ32KCsA1e23PpSDPVcdomhNpik5bNegwd4Pp72Sg3heJGdQndBjdQD6ZiFeRHrFatLgS2xBaPsKuVrN3s",
      "purchasedAt": "2026-09-25T16:15:02.000Z",
      "releaseAt": null,
      "resolvedAt": null,
      "files": [
        {
          "name": "sample-guide.md",
          "url": "https://lidpro-q2r8s1hvcfekebiwyu.t3.storageapi.…"
        }
      ]
    },
    {
      "kind": "purchase",
      "status": "completed",
      "receiptPda": "9dEFBFPJAQgF15KDGU1VupTWgKYvwMKQ8LQTZJgjvAhB",
      "productPda": "7Thx4DKF8ST1MFvpbDDgYJwS2eWgeVyQ5crEpPzsYtnN",
      "name": "Checkout test · 10 cents",
      "buyer": "2xWueDPTL9T7Rt6AN9Cj4GyCaA6dXygKJiiJiMMP13EK",
      "pricePaid": "100000",
      "platformFee": "3000",
      "affiliate": null,
      "affiliateCommission": "0",
      "signature": "5ozVpeYGXj49A8Aqos4foGZcU96ghxnSqhVh73GxnKxuy9nQfFuDsqc3RrKakE3AoPFAP2EkRTg5wmYf2jMwB97X",
      "purchasedAt": "2026-09-25T16:07:32.000Z",
      "releaseAt": null,
      "resolvedAt": null,
      "files": [
        {
          "name": "lid-test-deliverable.txt",
          "url": "https://lidpro-q2r8s1hvcfekebiwyu.t3.storageapi.…"
        }
      ]
    },
    {
      "kind": "purchase",
      "status": "completed",
      "receiptPda": "ApX5jYmmga73nFyTnXG5p8n6TzCYYpqwVkNvxoKA397P",
      "productPda": "7Thx4DKF8ST1MFvpbDDgYJwS2eWgeVyQ5crEpPzsYtnN",
      "name": "Checkout test · 10 cents",
      "buyer": "2xWueDPTL9T7Rt6AN9Cj4GyCaA6dXygKJiiJiMMP13EK",
      "pricePaid": "100000",
      "platformFee": "3000",
      "affiliate": null,
      "affiliateCommission": "0",
      "signature": "4BArvRXNFJx5dT29ypTFJoshymDHdHNgj7QVJaWi2NM1ss7p289SVNBd8HB3ws4C6Jq8uhUWiCKMDHA2JtCdTqXC",
      "purchasedAt": "2026-09-25T16:06:29.000Z",
      "releaseAt": null,
      "resolvedAt": null,
      "files": [
        {
          "name": "lid-test-deliverable.txt",
          "url": "https://lidpro-q2r8s1hvcfekebiwyu.t3.storageapi.…"
        }
      ]
    },
    {
      "kind": "purchase",
      "status": "completed",
      "receiptPda": "2zEgU4p2vpMRwZneHopYsi1XWsGQzUZbRnrXXbnoUf66",
      "productPda": "7Thx4DKF8ST1MFvpbDDgYJwS2eWgeVyQ5crEpPzsYtnN",
      "name": "Checkout test · 10 cents",
      "buyer": "5ZpFH5KRBGw9ms5Ud5cUN9bJMdJ5hYB6u1qaV8cBBkxu",
      "pricePaid": "100000",
      "platformFee": "3000",
      "affiliate": null,
      "affiliateCommission": "0",
      "signature": "67EDiWX5VFuqJeQeFoWPneXUgGjsDYt3PcxrpfgUgd8CYhRm5hyZTa2ZFR5Gt3CSV6D1CjT5sBRkHnVoxgkFTG4r",
      "purchasedAt": "2026-09-25T16:03:48.000Z",
      "releaseAt": null,
      "resolvedAt": null,
      "files": [
        {
          "name": "lid-test-deliverable.txt",
          "url": "https://lidpro-q2r8s1hvcfekebiwyu.t3.storageapi.…"
        }
      ]
    },
    {
      "kind": "purchase",
      "status": "completed",
      "receiptPda": "4ME5Tta9dAB2ukw5boGLbPzSaF7DQhcc4V7H8kjbeD67",
      "productPda": "E81KEoRCnjmwC7Z9GZm3VnkeyRqZGjqah6UQYfH35gTT",
      "name": "Sample product · Lid docs",
      "buyer": "2xWueDPTL9T7Rt6AN9Cj4GyCaA6dXygKJiiJiMMP13EK",
      "pricePaid": "0",
      "platformFee": "0",
      "affiliate": null,
      "affiliateCommission": "0",
      "signature": "55D5XnbYmsuwWJc6PezDBZez2zdqWHu3BUU382EdyymyMFPxU8o5uTJRq3MCjrRa8zWu4V25RWt8kW7918e81WH8",
      "purchasedAt": "2026-09-25T15:00:23.000Z",
      "releaseAt": null,
      "resolvedAt": null,
      "files": [
        {
          "name": "sample-guide.md",
          "url": "https://lidpro-q2r8s1hvcfekebiwyu.t3.storageapi.…"
        }
      ]
    }
  ],
  "total": 6
}

On this page