orders
Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded.
post/androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund
Path parameters
packageNamestring required
The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').
orderIdstring required
The order ID provided to the user when the subscription or in-app order was purchased.
Query parameters
revokeboolean
Whether to revoke the purchased item. If set to true, access to the subscription or in-app item will be terminated immediately. If the item is a recurring subscription, all future payments will also be terminated. Consumed in-app items need to be handled by developer's app. (optional).
Response
Successful response