Skip to main content
Answer

Latest receipt info

  • January 19, 2022
  • 1 reply
  • 328 views

Forum|alt.badge.img+1

how to get latest receipt info in webhook after verification done by revenuecat?

Best answer by sundeep

Hi @mehrozdev,

We don’t have a means for you to get the raw receipt through our API, but you can fetch the subscriber’s status and this will give you the details we’ve extracted from the receipt so it should give you the data you’re looking for: https://docs.revenuecat.com/reference/subscribers

Otherwise, if you really need the receipt itself, you’d need to use the native method to retrieve the receipt from the device and send it to your backend. You can read about it under “Fetch the Receipt Data”: https://developer.apple.com/documentation/storekit/original_api_for_in-app_purchase/validating_receipts_with_the_app_store

This post has been closed for comments

1 reply

sundeep
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • Answer
  • January 21, 2022

Hi @mehrozdev,

We don’t have a means for you to get the raw receipt through our API, but you can fetch the subscriber’s status and this will give you the details we’ve extracted from the receipt so it should give you the data you’re looking for: https://docs.revenuecat.com/reference/subscribers

Otherwise, if you really need the receipt itself, you’d need to use the native method to retrieve the receipt from the device and send it to your backend. You can read about it under “Fetch the Receipt Data”: https://developer.apple.com/documentation/storekit/original_api_for_in-app_purchase/validating_receipts_with_the_app_store