Intent to Prototype: Digital Goods API v2.1

Skip to first unread message

Rouslan Solomakhin

Jan 26, 2022, 4:37:28 PM1/26/22
to blink-dev

Contact emails,



We are implementing behind a flag a non-breaking addition to the existing Digital Goods API. This change:

  • Adds to DigitalGoodsService:

    • Promise<sequence<PurchaseDetails>> listPurchaseHistory();

  • Adds to ItemDetails:

    • ItemType type;

    • sequence<DOMString> iconUrls;

    • unsigned short introductoryPriceCycles;

  • Adds enum ItemType.

Use of the new methods/fields will require developers to update supporting code in their apps, such as Android Browser Helper.


Missing functionality compared to the existing store APIs.


Interoperability and Compatibility

Similar to Payment Request: this API is used to talk to specific store backends, and so its usage is tailored to the specific store. The reason it's a proposed web standard is so that the same code (which is specific to one store) is portable across browsers.

Gecko: No signal ( Requested 2020-05-27.

WebKit: No signal ( Requested 2021-10-08.

Web developers: Positive (

Other signals: rouslan@ presented DGAPI at 2021 TPAC (meeting notes) and at a recent PWA Dev Sync (meeting notes). Other browser implementers and app stores do not appear to have immediate plans to engage with DGAPI. There were some questions, no objections.


Used in tandem with the Payment Request API.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

No. DGAPI is currently available only on Chrome OS and Android.

Tracking bug

Estimated milestone


Link to entry on the feature dashboard

Requesting approval to ship?


Links to previous Intent discussions

Intent to prototype 1.0:

Intent to experiment 1.0:

Intent to continue experimenting 1.0:

Intent to experiment 2.0:

Reply all
Reply to author
0 new messages