palbaseDocs

Palbase IAP · API

GET/iap/google

Read the Google Play purchases

The environment's Google Play purchases: the project's Play connection (the stores module's; its account reads and acknowledges purchases), the Android app they are made in, the topic its Play Console names, and whether a test notification proved it — with what to do next.

Called by your server, with the project's secret key.

curl
curl -X GET "https://<your-ref>.palbase.studio/iap/google" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The connection

400The request is malformed, or a field breaks a rule (the error names which)

401No key, not a key of this project, or a token that is not valid (the edge's answer)

403Not the project's secret key (`secret_key_required`)

429Over the project's request limit; Retry-After says when to try again

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation GetGoogleAccount of iap's contract.