orders

POST /androidpublisher/v3/applications/{packageName}/orders/{orderId}:reviewrefund

Changed on

Provide refund preference and purchase usage for a chargeback request

Request

Path parameters

packageNamestring required

Required. The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').

orderIdstring required

Required. The order ID provided to the user when the subscription or in-app order was purchased.

Request body

consumptionPercentageMilliunitsinteger

Optional. Percentage of the In-App purchase the customer consumed, in milliunits. Minimum: 0 Maximum: 100,000. For paid apps, this can be omitted. Example : 45200 represents 45.2%.

pendingRefundTokenstring

Required. The pending refund token included in the pending refund review notification.

refundPreference'REFUND_PREFERENCE_UNSPECIFIED' | 'DECLINE' | 'APPROVE' | 'NEUTRAL'

Required. Indicates your preference, based on your operational logic, as to whether the Play Store should grant the refund.

sampleContentProvidedboolean

Required. Indicates whether you provided a free sample, trial, or information about the functionality prior to the purchase.

Response

Successful response

Changes