Skip to main content
Answer

Does `/v1/receipts` Support jwsRepresentation

  • March 12, 2025
  • 1 reply
  • 64 views

Forum|alt.badge.img

We’re working on migrating our in app purchase code to StoreKit 2 and to stop using “receipts” for purchase verification on iOS. We manage this ourselves so we can update information in our backend when a purchase is made. But I want to send the transaction to RevenueCat. The documentation for `v1/receipts` is not 100% clear to me. Does the `fetch_token` support both the legacy receipt and a `jwsRepresentation`? 

Best answer by kaitlin

Hi ​@chrisbrakebill,

Thanks for reaching out. The v1/receipts doc could definitely be updated - the fetch token field does support a StoreKit 2 signed JWSTransaction as well as the base64 encoded receipt file.

This post has been closed for comments

1 reply

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • Answer
  • March 14, 2025

Hi ​@chrisbrakebill,

Thanks for reaching out. The v1/receipts doc could definitely be updated - the fetch token field does support a StoreKit 2 signed JWSTransaction as well as the base64 encoded receipt file.