Skip to main content
Solved

Does `/v1/receipts` Support jwsRepresentation

  • March 12, 2025
  • 1 reply
  • 11 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.

View original
Did this post help you find an answer to your question?
This post has been closed for comments

1 reply

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 383 replies
  • 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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings