REST Resource: purchases.voidedpurchases
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: VoidedPurchase
VoidedPurchase संसाधन, किसी ऐसी खरीदारी के बारे में बताता है जिसे या तो रद्द किया गया था, रिफ़ंड किया गया था या चार्जबैक (पैसे खाते में वापस आना) किया गया था.
JSON के काेड में दिखाना |
{
"kind": string,
"purchaseToken": string,
"purchaseTimeMillis": string,
"voidedTimeMillis": string,
"orderId": string,
"voidedSource": integer,
"voidedReason": integer,
"voidedQuantity": integer
} |
फ़ील्ड |
kind |
string
यह प्रकार androidpublisher सेवा में रद्द किए गए खरीदारी ऑब्जेक्ट दिखाता है.
|
purchaseToken |
string
वह टोकन जो एक बार की जाने वाली खरीदारी या सदस्यता की पहचान करता है. सदस्यता के रिन्यूअल की खास तरह से पहचान करने के लिए, orderId का इस्तेमाल करें (एपीआई के वर्शन 3 से उपलब्ध).
|
purchaseTimeMillis |
string (int64 format)
Epoch (1 जनवरी, 1970) से लेकर मिलीसेकंड में, खरीदारी किए जाने का समय.
|
voidedTimeMillis |
string (int64 format)
Epoch (1 जनवरी, 1970) से मिलीसेकंड में, वह समय जब खरीदारी को रद्द किया गया/रिफ़ंड किया गया/चार्ज बैक किया गया.
|
orderId |
string
वह ऑर्डर आईडी जो एक बार की जाने वाली खरीदारी, सदस्यता खरीदने या सदस्यता के रिन्यूअल की खास तौर पर पहचान करता है.
|
voidedSource |
integer
रद्द की गई खरीदारी शुरू करने वाला, संभावित वैल्यू ये हैं: 0. उपयोगकर्ता 1. डेवलपर 2. Google
|
voidedReason |
integer
खरीदारी रद्द होने की वजह: 0. अन्य 1. पछतावा 2. Not_received 3. खराब 4. Attributional_purchase का इस्तेमाल 5. धोखाधड़ी 6. फ़्रेंडली_फ़्रॉड 7. चार्जबैक 8. Unacknowledged_purchase
|
voidedQuantity |
integer
प्रॉडक्ट की संख्या पर आधारित कुछ हिस्से के रिफ़ंड की वजह से रद्द की गई संख्या. संख्या के हिसाब से कुछ हिस्से के रिफ़ंड की रद्द की गई खरीदारी सिर्फ़ तब वापस की जा सकती है, जब शामिल करने के लिए डेटा के हिस्से का रिफ़ंड पाने की सुविधा, 'सही है' पर सेट हो.
|
तरीके |
|
रद्द की गई, रिफ़ंड की गई या चार्जबैक (पैसे खाते में वापस आना) की गई खरीदारी की सूची बनाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eVoidedPurchase\u003c/code\u003e resource represents canceled, refunded, or charged-back purchases in Google Play.\u003c/p\u003e\n"],["\u003cp\u003eIncludes details like purchase time, voided time, reason, and initiator (user, developer, or Google).\u003c/p\u003e\n"],["\u003cp\u003eAccessible via the \u003ccode\u003epurchases.voidedpurchases.list\u003c/code\u003e method to retrieve a list of voided purchases.\u003c/p\u003e\n"],["\u003cp\u003eIdentifies purchases uniquely using \u003ccode\u003epurchaseToken\u003c/code\u003e (for older purchases) or \u003ccode\u003eorderId\u003c/code\u003e (for newer and subscription purchases).\u003c/p\u003e\n"],["\u003cp\u003eProvides \u003ccode\u003evoidedSource\u003c/code\u003e and \u003ccode\u003evoidedReason\u003c/code\u003e fields for understanding the context of the void action.\u003c/p\u003e\n"]]],["The document defines a `VoidedPurchase` resource, representing a canceled, refunded, or charged-back purchase. Key information includes the `purchaseToken`, `purchaseTimeMillis`, `voidedTimeMillis`, and `orderId`. It also specifies the `voidedSource` (user, developer, or Google) and `voidedReason`. `voidedQuantity` indicates the quantity in the case of a partial refund. The method `list` is provided to retrieve lists of these voided purchases. The data is represented in JSON format.\n"],null,["# REST Resource: purchases.voidedpurchases\n\n- [Resource: VoidedPurchase](#VoidedPurchase)\n - [JSON representation](#VoidedPurchase.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: VoidedPurchase\n------------------------\n\nA VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"purchaseToken\": string, \"purchaseTimeMillis\": string, \"voidedTimeMillis\": string, \"orderId\": string, \"voidedSource\": integer, \"voidedReason\": integer, \"voidedQuantity\": integer } ``` |\n\n| Fields ||\n|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` This kind represents a voided purchase object in the androidpublisher service. |\n| `purchaseToken` | `string` The token which uniquely identifies a one-time purchase or subscription. To uniquely identify subscription renewals use orderId (available starting from version 3 of the API). |\n| `purchaseTimeMillis` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970). |\n| `voidedTimeMillis` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970). |\n| `orderId` | `string` The order id which uniquely identifies a one-time purchase, subscription purchase, or subscription renewal. |\n| `voidedSource` | `integer` The initiator of voided purchase, possible values are: 0. User 1. Developer 2. Google |\n| `voidedReason` | `integer` The reason why the purchase was voided, possible values are: 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. Friendly_fraud 7. Chargeback 8. Unacknowledged_purchase |\n| `voidedQuantity` | `integer` The voided quantity as the result of a quantity-based partial refund. Voided purchases of quantity-based partial refunds may only be returned when includeQuantityBasedPartialRefund is set to true. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------|-------------------------------------------------------------------|\n| ### [list](/android-publisher/api-ref/rest/v3/purchases.voidedpurchases/list) | Lists the purchases that were canceled, refunded or charged-back. |"]]