/google

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
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