Billing Webhook Alipay

Alipay 当面付 async-notify endpoint.

Verifies RSA2 signature over the urlencoded form using the Alipay public key, then on trade_status in {TRADE_SUCCESS, TRADE_FINISHED} finalizes the order via the shared _finalize_order_paid() helper.

Idempotent on re-delivery (Alipay retries up to 25 times across ~24h with backoff). The handler must return the literal text body success (HTTP 200) for Alipay to stop retrying — any other body, status, or even a JSON {"status":"success"} triggers indefinite retries until the 25-attempt window expires.

post/api/billing/webhook/alipay

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/billing/webhook/alipay
  • Auth: none declared

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 19 revisions of this API.