Upload Google Play IAP Receipt data (package name, product id and Google Play-issued purchase token). Returns a list of RewardIssuances, some or all of which may be already redeemed.
post
Authorizations
Body
packageNameanyRequired
The package name of the app. Note that this may be different from the applicationId/uniqueIdentifier which is why it should be provided with the request.
productIdanyRequired
The product id purchased by the user, e.g. com.namazustudios.example_app.pack_10_coins
.
purchaseTokenanyRequired
The token issued to the user upon successful Google Play purchase transaction.
Responses
400Error
application/json
401Error
application/json
403Error
application/json
404Error
application/json
409Error
application/json
500Error
application/json
501Error
application/json
503Error
application/json
default
default response
application/json
post
POST /api/rest/google/purchase HTTP/1.1
Host: localhost:8080
Authorization: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 58
{
"packageName": null,
"productId": null,
"purchaseToken": null
}
{
"code": "text",
"message": "text"
}
Last updated