Refresh Google Play subscription
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Re-reads your workspace's Google Play subscription from Google Play and applies its current state, such as a renewal, a plan change, or a cancellation. Use it when the workspace pays through the Base44 Android app and its plan looks out of date. Check the result with Get mobile subscription status.
A workspace that isn't billed through Google Play gets synchronized: true and changed: false, and nothing is read. Refreshing fails, and keeps failing when you retry, while the workspace also has a web subscription, an App Store purchase on record, or an open payment dispute, or when its Google Play purchase is tied to another workspace. Resolve that instead of retrying.
Only the workspace owner can refresh. Errors from this endpoint have the body {"error": {"code": ..., "message": ..., "details": {}}, "detail": ...}, and a read-only token gets a 403 with error.code forbidden. Workspace API keys aren't accepted. Limited to 120 requests an hour per user, shared with the Base44 mobile app. Some workspaces have a different limit.
<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/billing/mobile/google-play/refresh
- AuthHTTP bearer
Response
The refresh result.
Example response
{
"synchronized": true,
"requires_restore": true
}Changes
- info
endpoint added
- info