---
title: "Oen Payment Reconciliation"
method: POST
path: "/api/v1/internal/cron/oen-payment-reconciliation"
tags: ["cron"]
---

# Oen Payment Reconciliation

`POST /api/v1/internal/cron/oen-payment-reconciliation`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/internal/cron/oen-payment-reconciliation`
- Auth: none declared

Poll Oen for PAYG refunds whose webhook was delayed or missing.

Cloud Scheduler should invoke this every five minutes. New PAYG charges
carry ``next_oen_reconcile_at`` and back off over time; confirmed refunds
flow through the same idempotent reversal path as a provider webhook.
This remains active even when the PAYG sales flag is off because stopping
new sales must not stop lifecycle handling for existing orders.

## Query parameters

- `limit` integer

## Headers

- `X-Cron-Secret` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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