Joke Collection Website - Blessing messages - Apple and Google refund information notice
Apple and Google refund information notice
Response subject notification parameter detail document
The server notification returned from the App Store is a JSON data refund * * * * notification, for example:
Here I mainly focus on two areas.
Here we use postman to test it.
1. Request/Token Interface
2. Grant _ type = urn: IETF: params: OAuth: Grant-type: jWT-bearer, which asserts that the $jwtAssertion parameter is used.
Save the returned authorization token access_token.
Use getrequest/androidpublisher/v3/applications/{packagename}/purchases/void purchases.
Start Time: the earliest time you want to void the purchase transaction in the response. By default, the start time is set to 30 days ago. Note: the startTime here is milliseconds.
MaxResults: the maximum number of voided purchase transactions in each response. By default, this value is 1000. Note that the maximum value of this parameter is also 1000.
Token: continuation token in the previous response; Allows you to see more results.
Google reply information document
Here I mainly focus on two areas.
VoidedTimeMillis (refund time)
Order Number (Google Order Number)
VoidedPurchases stores refund order information of maxResults. If the number of results exceeds the number specified in the maxResults request parameter, the response will contain a nextPageToken value. Here, I wrote a recursive function to determine whether the nextPageToken is empty. If it is not empty, it will be passed to the subsequent request to see more results.
- Related articles
- How do you say the conclusion of your personal speech?
- How can I pass the power micro-classroom exam?
- Racing SMS group sending
- How to handle the SMS package business?
- The girl who secretly loves me has a fever. Should I send a message to express my condolences?
- Is there any information notice about the expiration of the temporary credit line of China Merchants Bank?
- Greetings to National Day and Mid-Autumn Festival
- Classic prank on campus ~ ~
- What are the precautions for meeting and signing in?
- What does it mean when the second-generation ID card production query text message says that there is no information or that it has been received?