---
title: "Retry Acknowledge"
method: POST
path: "/api/payments/retry-acknowledge"
tags: ["payments"]
---

# Retry Acknowledge

`POST /api/payments/retry-acknowledge`

## Request

- Base URL: `https://api.stellara.natlex.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stellara.natlex.it/api/payments/retry-acknowledge`
- Auth: none declared. Required headers: `X-Cron-Secret`

Cron: retry Google Play acknowledge for any subscription whose
initial ack failed (transient Google API error, throttle, etc).

Google auto-refunds unacknowledged subs after ~72h, so the cron must
fire often enough to win that race. Recommended schedule:
``*/30 * * * *`` UTC via Cloud Scheduler job
``stellara-acknowledge-retry`` reusing ``notification-cron-secret``.

Idempotent — Google's acknowledge endpoint is itself idempotent, and
rows that come back ``ok`` get ``acknowledged=TRUE`` so the next tick
skips them.

## Headers

- `X-Cron-Secret` string, required

## Response `200`

Successful Response

- RetryAcknowledgeResponse
  - `status` string, required
  - `scanned` integer, required
  - `acknowledged` integer, required
  - `still_pending` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/natlex/apis/stellara-api.md) · [All operations](https://skmtc.dev/natlex/apis/stellara-api/llms.txt) · [OpenAPI document](https://skmtc.dev/natlex/apis/stellara-api/revisions/e576f046b61f?raw)
