CONSUMPTION_REQUEST Handling

Hi, recent our server received a notification from Apple, which was type of "CONSUMPTION_REQUEST".

According to the documentation,

Indicates that the customer initiated a refund request for a consumable in-app purchase

this part is obvious, that one of our user requested a refund of a consumable, but the following information makes us somewhat irritated.

and the App Store is requesting that you provide consumption data.

The question is, how can we handle this request? In which form the consumption data should be provided and where/how should we send this data to apple?

Answered by Frameworks Engineer in 677828022

Please see Send Consumption Information to learn more about sending consumption information to the App Store after receiving this notification.

Accepted Answer

Please see Send Consumption Information to learn more about sending consumption information to the App Store after receiving this notification.

Thanks, that's helpful!

HI, I receive near 50 CONSUMPTION_REQUEST per day (since 3 days) but none of them contains an original_transaction_id that correspond to a payment received on my application. Is there a bug on your side ?

Hi, we also get a number of these requests. I started responding to them reading the docs but I get a:

401 - Unauthenticated Request ID: .... response from Apple

doing a PUT to: https://api.storekit.itunes.apple.com/inApps/v1/transactions/consumption/<my_original_transaction_id>

I didn't see request ID mentioned in the docs: https://developer.apple.com/documentation/appstoreserverapi/send_consumption_information

Hi , we are sending JWT token , but get the error "Empty reply from server" every time.

We do a PUT https://api.storekit.itunes.apple.com/inApps/v1/transactions/consumption/<transcation_to_report> via curl and we are set user-agent and our header is Content-Type: application/json Authorization: Bearer

We did not receive http code , but only the error "Empty reply from server". Any advice ?

In the CONSUMPTION REQUEST notification there is only the original Transaction ID parameter. How do I know what his transaction ID is? Or how do you know how much you're claiming for a refund?

hi there, I hope this solved the problem that you were facing, I am going to implement the beginRefundRequest() method but found it difficult to implement in UIKit as there is no code where it is implemented in the swift UIKit, please do let me know how you implemented it as you are receiving the consumption request that is the second step and I am stuck at the first one.

CONSUMPTION_REQUEST Handling
 
 
Q