Skip to main content
Solved

API: How to transfer or remove a purchase


Forum|alt.badge.img+1

After a `POST /v1/receipts` how can I either

  • remove that purchase
  • or transfer it to another user

via API. I didn’t find a corresponding endpoint.

Best answer by kaitlin

Hey @André,

You can post that same fetch token with a different app user id, and this will transfer it to another user. 

There’s no way to remove a purchase itself via API, but you could delete a subscriber, which will effectively delete the purchase from your dashboard: https://www.revenuecat.com/reference/delete-subscriber

Bear in mind that this is a permanent action and cannot be undone. Additionally, this will not delete or end the subscription from an app store, only remove the purchase history from RevenueCat. If this user then re-opened your app and accessed their entitlement, they could reappear in your purchase history.

View original
Did this post help you find an answer to your question?

2 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 378 replies
  • Answer
  • August 24, 2023

Hey @André,

You can post that same fetch token with a different app user id, and this will transfer it to another user. 

There’s no way to remove a purchase itself via API, but you could delete a subscriber, which will effectively delete the purchase from your dashboard: https://www.revenuecat.com/reference/delete-subscriber

Bear in mind that this is a permanent action and cannot be undone. Additionally, this will not delete or end the subscription from an app store, only remove the purchase history from RevenueCat. If this user then re-opened your app and accessed their entitlement, they could reappear in your purchase history.


Forum|alt.badge.img+1

Reply


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