Solved

Latest receipt info

  • 19 January 2022
  • 1 reply
  • 48 views

Badge

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

icon

Best answer by sundeep 21 January 2022, 22:40

View original

1 reply

Userlevel 3
Badge +8

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

Reply