How can I check refund orders for the entire app? rather than a consumer

I read the following documentation: https://developer.apple.com/documentation/appstoreserverapi/get_refund_history/ But the originalTransactionId parameter is required. As far as I know, it is associated with a certain consumer, so whether this API can only check the refund order associated with a certain consumer, not the entire app

I want to regularly query the refund orders in the entire app without App Store Server Notifications. Is this possible?

Replies

You can call Get Notification History endpoint (https://developer.apple.com/documentation/appstoreserverapi/get_notification_history), and when you call this, limit the notification history records to REFUND notificationType, and limit the time span with startDate and endDate parameter. Doing so, you can get the refund records for the entire app for the certain period. Please refer to this document https://developer.apple.com/documentation/appstoreserverapi/notificationhistoryrequest for the request parameters. Thank you!

  • Thanks, this is exactly what I was looking for

Add a Comment