billing
6 endpoints · /api/shop/v1/billing
Request examples are generated from each endpoint's REAL method and path. 6 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.
Vadesi-geleni işle (manuel/test tetik; prod'da crash-safe worker çağırır). now verilmezse now().
Oturum
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/billing/process-due" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}TF6 · BLE-6742 — başarısız/tamamlanmış fatura-isteğini yeniden-kuyruğa al (failed→queued re-drive;
OturumYol parametresi:
iddone→queued yeniden-düzenle). Uçuşta (queued/processing) ise 409; yok → 404.
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/billing/schedules/<id>/retry" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?