7digital · Example Payload

Api Purchase Example

MusicStreamingLicensingCatalogueB2BRoyalty ReportingPublic APIs

Api Purchase Example is an example object payload from 7digital, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

purchaseIdstatustotalitemsreceiptUrl

Example Payload

Raw ↑
{
  "purchaseId": "purchase-789012",
  "status": "completed",
  "total": {
    "formattedPrice": "\u00a39.99",
    "amount": 9.99,
    "currency": "GBP"
  },
  "items": [
    {
      "itemId": "item-789012",
      "releaseId": "11700062",
      "trackId": "123456",
      "price": {
        "formattedPrice": {},
        "amount": {},
        "currency": {}
      }
    },
    {
      "itemId": "item-789012",
      "releaseId": "11700062",
      "trackId": "123456",
      "price": {
        "formattedPrice": {},
        "amount": {},
        "currency": {}
      }
    }
  ],
  "receiptUrl": "https://www.7digital.com/receipts/purchase-789012"
}